diff --git a/.github/workflows/e2e-master.yaml b/.github/workflows/e2e-master.yaml index 1cf412742a..0f99279aea 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/CHANGELOG.md b/CHANGELOG.md index 481c79d959..dd69422ee2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -231,7 +231,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..43253ab4fb 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(): diff --git a/examples_asyncio/in_cluster_config.py b/examples_asyncio/in_cluster_config.py index 5036032368..5e2613bba3 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..d76d4c21f5 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..fab1520c09 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_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 99% rename from kubernetes_asyncio/.openapi-generator/FILES rename to kubernetes_aio/.openapi-generator/FILES index e959efdf8d..942df56ac4 100644 --- a/kubernetes_asyncio/.openapi-generator/FILES +++ b/kubernetes_aio/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .gitlab-ci.yml +.openapi-generator-ignore .travis.yml README.md client/__init__.py 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 8a9d18a434..9f06d0ee0f 100644 --- a/kubernetes_asyncio/README.md +++ b/kubernetes_aio/README.md @@ -1,4 +1,4 @@ -# 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: @@ -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 89% rename from kubernetes_asyncio/__init__.py rename to kubernetes_aio/__init__.py index 12967b9969..1a91cd619b 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+snapshot" -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..b06861e220 --- /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.0+snapshot" + +# 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..ade54a37a6 --- /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..80be61dfe5 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..54cc685f09 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..b8f6fbe29b 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..ac43355537 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..93cd6a6f9f 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..3fa81079cb 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..ceb8167616 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..ed0e9aceda 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..5b8226a800 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..c3fb57fe3a 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..0c1eb638c9 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..e9f3e7d59c 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..4f293b0da8 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..3bf30686c5 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..0d4eb97b3e 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..85acf3ed25 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..f2dda3c10c 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..431846ccab 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..0f5ad24aeb 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..650909c9ad 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..93cd97e467 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..3b9b964512 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..16740fc675 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..a3a84a4c6f 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..0e93e94fc0 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..8041000416 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..2eab498d01 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..9bf35619d4 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..73386351f5 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..88212693e2 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..ac860fd60c 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..7d66a32bf0 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..2f48aca16a 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..3daf9f4e7d 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..526a6addf1 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..9907e26adb 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..e26accbb10 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..ac8c25257e 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..b3101db90c 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..d1fdb1b5d0 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..32b97ae8ed 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..5bd8a67f8e 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..16c6bcdff2 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..d6a191e1f2 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..f7d628c9c5 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..5be79df5db 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..852375ed09 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..d36915d1d8 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..766f12916d 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..6c26df3375 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..01ad6493de 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..fec70ae827 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..d01c3a608b 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..e75c95fa87 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..a285d3500b 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..08170306e5 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..7eff4c9bcf 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..46966e8e87 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..4c56e93f9d 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..513553740c 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..0c854ebf19 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..b1d614277f 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..08a4bd0f2a 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..dadc16036a 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..5ebf114acf 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 e7152f7823..b1f4e141ab 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): @@ -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/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 0d47fba754..369a63e91e 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 = { 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..cada569058 --- /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..59ff0415ea 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..25cadac16a 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..19744e9fa8 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..7e1f589671 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..8e9243e7aa 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..2b94511971 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..c17445b0a4 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..a7f45ffee6 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..9de7298459 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..9ba4be8a65 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..1e46657f29 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..687bc3eb82 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..a47a6bac33 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..2a67fbfa9c 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..7fb38e2e76 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..177bc778b4 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..00189703f1 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..1c9a012876 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..21a76a9439 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..849038590d 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..cbd1f4b96d 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..b357b9aa86 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..0dbeb8504e 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..fa5054f8d6 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..40a3828be4 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..388526ee3b 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..144413c5a9 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..e067feb3e7 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..946735966a 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..8fb751f8e6 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..7a80dfc3e9 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..24898465c7 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..8099945413 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..a98676ece9 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..e440ea8c0a 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..2c3bd1ed77 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..8993fcbf6f 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..33be9ed651 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..bea7caa39c 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..65f5c9f143 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..6d03b34d82 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..7e57ae9e79 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..fad37007b2 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..c459d7e383 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..31c48aa0c2 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..725aa5fc46 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..27afd466de 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..a8e3ab1c7e 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..3129afe3d5 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..b0ef61b851 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..92e57e4273 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..f5578ba2ea 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..a395facb16 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..a6d45ffdb3 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..91ce5e3cc5 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..9861bb764e 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..99c58a404c 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..cec6685a45 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..0e5110f47e 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..050fcf75f7 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..a76739221a 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..d08100ca3f 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..a267a7d78f 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..c75da348df 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..2e5ea17092 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..fdbc6a2d03 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..81d0c4012f 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..5e1260725b 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..4f52441662 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..93958fa776 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..e7d67fe09e 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..33dee81d7e 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..0d6f70fb55 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..cfb493eb1e 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..8ef9ce7ada 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..f97c85808d 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..0c090bc69d 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..d142461911 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..d927acd6dc 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..605ec18122 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..764adb7ce2 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..49807d61f8 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..cf036043b2 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..fdf6a45b79 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..cd7bc976f0 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..d6bfa34c65 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..af06b689c9 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..c6046dd2e9 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..949d43b6b1 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..079b9c43d5 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..ab03ed15d3 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..6b6f62f1c4 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..c73c848582 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..30c4ad91c9 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..4c8542b83e 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..a53745ae67 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..2dc95beb04 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..c82dfd2ff2 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..e02c3f645d 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..c060acb4cd 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..1690437ca1 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..4b82dd7da0 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..01fd728776 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..7537a7d2f9 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..35cacce50f 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..929cc71c9f 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..b5721ad989 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..f447f68db4 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..7743913379 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..c74f01dbe9 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..adb88e69da 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..6de0a25e6a 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..c2d0c1028c 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..a016a50013 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..54598218e0 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..a02ac11248 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..56737af592 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..6dba536955 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..91876e1ae0 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..ed4b3ffed0 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..1d30382bb9 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..3abc878596 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..15b4cba2b8 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..9071c3fec7 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..7abb7ddd74 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..faeec05ba3 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..aeab07b34f 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..f4977869e5 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..e3f7d4c6f0 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..f2e024c95e 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..1e3d76a96b 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..b9f308526b 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..7e61522682 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..bcc896cb4c 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..8f629632b4 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..663137a5a7 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..ec0a8696a0 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..d41e9d9153 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..9ab0985528 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..0fb278c77e 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..2ae27f671a 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..9682c72fdc 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..a16d983f38 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..4a39395836 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..17f2f70aa5 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..cd2d61ac76 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..955833ef51 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..1bc15b4d92 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..88fa7c0cfc 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..e73addecf4 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..686a89f3bf 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..6bf362dc0c 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..de967db886 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..107fc3a633 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..5c30decbb0 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..8ef10d466a 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..8415404ecd 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..f9a6a90154 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..63ec929a83 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..e00a34026f 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..7fa6b132d2 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..7882abfa73 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..286fb89683 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..4a8a799e91 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..b8877450a3 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..057af15959 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..fdbaaa4504 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..2eec481f38 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..62e8eac013 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..ba8253f2ef 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..a9c8430185 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..897ad87aba 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..62506cf396 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..c1149b376f 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..793f487514 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..eb8b853eb0 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..13701dc1cc 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..845a2d7b16 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..1857252e01 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..3c6e32dcda 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..f4b34d8aa5 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..b32c89c8c7 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..ab2337416f 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..73b4ac28ad 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..221f9aefdc 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..61fa539324 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..ccb9864a82 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..43f60df78c 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..74c80e54eb 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..3cde75ede8 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..1fd0c63641 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..0b92c112d3 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..1066e4a986 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..6214dfedb1 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..fe217c2b62 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..74f8c4268e 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..ba3c1dcf21 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..e1ac442061 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..02116e86b2 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..7f3510c05e 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..f5a4e8456c 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..4312b2b43a 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..3ef34064ad 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..9ea9a767ad 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..74736b1127 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..8de94f30a4 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..f607cbb50b 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..0a23c86d5a 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..ff85559545 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..0fbab68ffd 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..75bae0737a 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..f041407574 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..53de99a51a 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..bd64308a82 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..a8650bfbb7 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..ff2c6b9f15 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..18c1eda3dd 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..d30232b3d9 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..cda7af3027 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..18c7d3c8e9 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..6ebaae8cc6 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..36e2461741 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..d0e2bd2720 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..9db1015ca9 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..b3e2bfab20 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..8d92168971 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..9d16109c39 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..d52e4ce75b 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..efd6b0c316 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..0c1a1399cb 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..4290063cf7 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..0f647103cb 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..df1a50da2e 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..0745be1bec 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..e11b2b9af7 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..402b385151 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..34e6b998e1 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..7e74c8fcd5 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..0dd164d601 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..e8e99393f7 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..ea38e0c5a4 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..4fa1681ddf 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..20986f8f17 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..139838a620 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..bd6ce51e56 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..670c21b6a9 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..202154dfe1 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..651734a3b5 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..5ae21b47cc 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..2fc0d1eeb1 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..f4dd4b41a0 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..280ac60252 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..fae954e206 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..118e052db6 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..29c79678d0 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..7489a476a6 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..5d0f578261 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..f8c873ae14 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..0c7f092978 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..7065c72b89 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..52442a06ae 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..9e89508864 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..e1098ded7b 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..d4ffaeca97 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..5edad3a6b1 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..326cad828f 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..90f756a29e 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..e4dd917425 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..7b7ccaa1b4 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..add15e0eb2 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..84e59964af 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..ad56c89106 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..2691a3146d 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..8696e03021 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..0eae64644f 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..7722ae41de 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..c70d02d38e 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..2767377086 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..72435c2fc2 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..15f5c53e81 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..30737caf49 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..5b2517bef5 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..e81bd3cd62 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..30179d443b 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..c6caae5bf9 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..f8548ba4ec 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..3d8eec7fdd 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..4e4fd6dfc4 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..a38b4a13c1 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..5dd5ed70ab 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..fc29930cce 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..a502df3e46 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..d6e3e29f9f 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..446b653335 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..4af985984e 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..14c8b0d093 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..7d8c752bc0 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..cc5b2cbc4c 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..891ef3376f 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..f583862145 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..95ac5fefb8 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..84cb2d0fb6 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..d6c612946a 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..46af7de621 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..20c8191ef9 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..bf6b957259 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..e582597f8c 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..7e39663fdb 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..90bce840e9 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..2cc8c626ac 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..fc20f7ff30 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..b9943d1e4b 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..53d1d07873 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..2480e0dbe1 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..2a72a6e3ee 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..a1c80b0cb6 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..31970414a9 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..21c5622164 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..ea1ff6cff6 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..3421861c94 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..ac4125c05c 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..56ca00d7dd 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..d90c08718a 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..2cfa661243 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..fa9a2ffe0e 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..618218a27b 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..8873590635 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..cbabb1d50f 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..49b2c059ea 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..a877e9e351 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..d1403ef5fd 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..6566f2f971 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..e49e89702b 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..f15a67954c 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..143d1207be 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..fccf055f22 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..437968970f 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..580a92a6d2 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..4723f5b6f9 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..de696be0f3 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..e5ad5b3c78 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..310bf59c43 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..1dc3ee3e8b 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..f8648a0467 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..e742a39f7e 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..295c4f13e1 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..121f2f2d0c 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..87324c1927 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..24a8549f4a 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..eaa9d7f4b6 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..6b884d7b8b 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..1d6a151097 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..85579d31a8 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..31ba7cb9ba 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..e456cd1643 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..ab08106f73 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..0a158484dc 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..6fa46d0ae9 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..b942b0c03a 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..a8fd131d04 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..dc9ba91a4b 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..c1c018d098 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..4632dc008f 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..41477c39fa 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..3b5a53aecf 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..b31568a953 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..9d6c39f246 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..6a0ee8bc61 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..2954fb6bf3 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..da5be3e2b8 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..803ce9a944 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..1d4d01ce0b 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..b3684fcfee 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..6402e54059 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..cbf544ba59 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..3711175d48 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..d09838edb1 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..1198c5375e 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..f45cca2ecb 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..a4c7875abf 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..a3f39cba3f 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..0f85fc4489 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..9f687ce1e9 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..0925015aa1 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..4f6584b9b7 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..30f2f7185b 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..a81d588980 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..f1bd823a13 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..1e4c8a595f 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..986ffb47a4 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..328c39392b 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..c89901a4a8 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..e12702ac2f 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..72e8c135da 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..a8be1416c4 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..4593d1cfb0 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..f0edc3680c 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..41aefef673 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..c9da2f83e6 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..16b0630e71 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..4d9657b3fe 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..91d918fbfe 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..df2b320f08 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..8fc72ac68b 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..858624a889 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..0370a9ab1b 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..10afc0ee7c 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..1f73146cdd 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..f1aff9c267 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..7bd53e88a2 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..6a6788cf74 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..367c32a4af 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..e1c0a36869 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..413370b14c 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..0cdcae8c93 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..f2d414ad60 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..b6358b90fe 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..e25fcb64fe 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..075c64b74c 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..4e1e8d840f 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..e305894651 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..3b624b93d3 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..bcd8cc893f 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..d2e0492a13 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..4e8f6b842d 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..1e33a4c47e 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..1afd4b6371 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..07477353b5 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..669b936ca9 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..92565039f2 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..25fac95c47 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..87eae9aa4c 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..59dfb3a4f4 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..76bac205a0 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..90f7edceeb 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..a4575fd478 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..f882277424 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..27ceafed80 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..2f85cc0eea 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..7165d12e08 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..f4f16c77b9 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..94519ce6da 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..3fd6525397 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..dcf16f198c 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..14468d67b0 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..686f4c3b65 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..f95f59dae4 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..2174e85777 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..1e22f0357a 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..ceb3990015 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..8298c5fd5b 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..1df0140407 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..1cdbe11c6d 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..21dbb77ea3 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..bf3435b94e 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..5d40735aaa 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..82ed5a0d33 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..d477add877 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..17385fd93a 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..c9b7e21364 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..0a8f415358 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..87321057f5 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..2de817cfb2 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..3d69cc4c6d 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..7a96e261d9 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..0333b45197 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..3ffc049b9d 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..c4d6ccb50a 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..111cb5b62b 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..d1b5c65de7 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..84d7c46bf5 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..e63bdb21e7 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..bbfab2a741 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..b77561f61a 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..6b362b8029 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..131922caba 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..e7baf266f4 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..dfeeaef527 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..e85899db35 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..2666fa068d 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..76446e3d24 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..0f8b056371 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..a45d36a87d 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..7094f6e2a2 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..ab6ece7ef9 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..593b7163ca 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..132aa1d04d 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..79c07f173a 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..f91a65631f 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..e1db8ceef3 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..12cc405f60 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..7179450baf 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..cdbac655ef 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..0347f5a337 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..226a6a65ee 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..da4699ce05 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..f7368181c6 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..13317cafab 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..905c23391c 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..a0b15c1e3a 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..6a38236045 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..1f2418aaf4 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..5cc0ac7b07 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..33f6bf7863 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..6d18bfc6f6 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..a638c62599 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..bc02f31e60 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..39f391043b 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..cec4f940e2 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..ee2448213e 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..633aeb7fe3 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..0412181a3e 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..da7525806e 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..10cfe0a1da 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..cc95fac8df 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..1dcb1bc417 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..fb46303409 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..08f5e4e072 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..d06415ec8e 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..f4f56e34fe 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..2f42f8dba6 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..06c4edb1bf 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..6201e762cc 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..84cc625c1a 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..f873cc299c 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..4bf923fc44 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..96a34d505c 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..19c912b516 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..0b1c26eaad 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..9b8f6502a4 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..f3c82dea10 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..2dfa286c3d 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..40a4645bc2 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..9855f36ede 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..6e1239c103 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..417bd228ff 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..83d5da3fe0 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..df5ed5a9b5 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..e4b594a8c3 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..94564de4ef 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..97155db396 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..517462c203 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..a9cf865c64 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..e77ba57568 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..68e187c3ec 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..a737aae7dd 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..5acd4fac78 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..04d69980e8 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..210b57c04d 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..4ab3ed1f2f 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..368920fed5 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..b32e219154 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..f1c06fdccc 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..2d1b2ae5b3 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..6b8c341a55 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..8375a25857 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..ad9b0013c5 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..f576a8c605 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..f7ef6a6741 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..c6c1e37e53 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..21b34c3a35 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..8730d407a8 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..011149b6ca 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..32e9bf175f 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..e0d717c15e 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..1b003d323f 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..d74ad67957 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..d5336aabe6 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..50c86ece62 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..26cc08f06c 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..3594387e60 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..7734a51b78 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..a6dceb2735 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..4e3f33ee4b 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..ddb36c5482 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..21721c3394 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..1ee3d73ba2 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..6ba8b507fc 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..976aeee26d 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..4ef2be8524 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..223c768b2c 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..202253fc32 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..c62e822afd 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..4556d17098 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..61fad621ab 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..d6738dc9ce 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..06b1ca4a2b 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..f83174ac83 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..72faed69e3 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..4521d9cab0 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..8956b30773 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..af60682765 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..ae9b438ba3 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..ae6e6b6c8c 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..de159d18c1 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..7ab2834100 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..9c1494efe7 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..1ab54213ef 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..269223570b 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..897029bad3 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..77c3153d87 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..fb7cb801ce 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..a3c323d1d4 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..6d77cbba6d 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..b64e5f2f57 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..7c2839617a 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..1b4bc3e78b 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..b71a6571ef 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..3ee26b0cd1 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..50923e9553 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..78e70dbd7d 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..ba1fec6e60 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..ace5e89fa4 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..a48411b3df 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..1968822bf0 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..c7bbc5b15b 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..fa888b1e95 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..a723efbbc5 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..4e39143887 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..951a51f310 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..c36c8ecce2 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..916ca58f2a 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..afc1210f94 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..a5f7d4963f 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..e5abce1d26 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..3642915a09 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..701ef0d3f9 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..2f356cf212 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..989cb7ba36 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..80c2287da1 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..71e711af53 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..c12a967ebf 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..f9043af67b 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..bd9a6a4791 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..da3a623c88 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..786a03f9a2 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..21991d9d04 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..023621e694 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..0be5386976 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..b1d0ad25da 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..e20aea6fa4 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..fcca0239a7 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..0cbe8f181d 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..0e31360823 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..37aa46b319 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..404dfd1634 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..2d05b74081 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..b016639eb3 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..f2fc796308 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..e908073305 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..075605f4e1 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..61756713e2 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..19c0d76038 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..b6f813beeb 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..e85b2dd547 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..389ce40f42 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..66a7b4da6c 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..ee4f0bdc57 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..c713bc3aea 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..a45dc6e746 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..f638f7fb9b 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..4c6c957ed3 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..8ad541c9b4 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..de24be32b9 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..2e295a19ce 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..fca81b8990 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..8471f22264 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..6024d27634 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..a9941d5ed8 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..8a8326ebd0 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..d8d5fecaf6 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..2e782b4d26 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..fe33871f55 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..16dc08369e 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..951a190656 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..8eac6bf21a 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..4b00db2788 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..e8be17efc2 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..3845f8321b 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..3510979e67 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..73e92c7d96 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..5a3fa39781 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..5704677f8b 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..77067a50cc 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..a91b6fcbe3 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..abc7f4fd8e 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..a22ae242e6 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..b0e75b330f 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..a145294dff 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..514cb7a4fa 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..829fa33833 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..1d3fdefa82 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..336d9061a8 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..2c2504004c 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..e2fe18cc7c 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..30d30562a7 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..09162b3fae 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..e4c8c9c443 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..35d9b76c12 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..5ae2ea2159 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..fa0c45e6e8 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..a846264ffe 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..2b8c0174bd 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..13f67812d8 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..cd74401473 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..b95afa1d2d 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..6ee0410953 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..1b3382ba06 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..5a45fe8fb1 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..c0014438e6 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..704f9fefea 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..0f4126d2dd 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..39b495a663 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..c17a87d61c 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..2717d04d39 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..7f2f34a054 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..e3cf596d29 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..2b42e45b69 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..b5a360d721 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..3e93117922 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..7d7bdeb7fd 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..e4f4199958 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..92977c7138 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..162277c896 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..2de42c933f 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..86447a88b3 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..09b174db72 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..0e04c48cac 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..432d4d3518 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..286a3eb752 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..b4144e0141 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..f23f598dad 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..d0b0a5064a 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..b0d6cdd360 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..d404198bad 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..cd3e404ab8 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..e7ffc43866 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..c0d0bb3553 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..cbdaff4b48 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..b00941cf6d 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..efeef52b92 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..387aca5bea 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..42976e923f 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..120daac33a 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..409d6bbd8b 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..839dd7ae47 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..bf38ba9067 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..617666bdb7 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..758e4171ea 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..8691f22dd7 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..18262f58be 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..532e684f9a 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..57c61576a8 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..676333188b 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..1d3dcd1cfa 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..5b6a1a7b85 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..25382979d9 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..4cf6e7ff49 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..e2ea4fe73a 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..ddc767d09a 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..f239c1edaa 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..cd3ce01a6a 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..d0e69dbae8 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..9db9df507e 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..035ebaa273 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..3449726502 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..b10f72784d 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..b8bfacb0de 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/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..94072ccae9 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 98% rename from kubernetes_asyncio/config/incluster_config.py rename to kubernetes_aio/config/incluster_config.py index 30ebab5615..077c0830c5 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 diff --git a/kubernetes_asyncio/config/incluster_config_test.py b/kubernetes_aio/config/incluster_config_test.py similarity index 99% rename from kubernetes_asyncio/config/incluster_config_test.py rename to kubernetes_aio/config/incluster_config_test.py index b65bfdc81a..f6caed6c9e 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, 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..088d9e870c 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..d2c1220b79 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..4da12382e4 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..65d479b5b8 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..33c3c00103 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..17a9f44a69 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..858602a401 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..6044a45920 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..0e3822aa99 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..36b3666c41 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..08015fe5cc 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..e60804d4a0 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..6d40feae3f 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..3a2187701e 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..23396e4119 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..cb3725b097 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..9e1b579d43 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..42f92836f3 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..3618561e6a 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..bf407b80fd 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..953ea1ffc2 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..d100031cbe 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..dec7439497 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..6cc740ea53 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..b6deefb1f0 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..dd05ab3c79 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..7068436d15 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..9e43e6a68f 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..5e618158ef 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..2f163aebae 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..c4b6e1c6e7 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..093e1d3ca7 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..4beec54a39 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..9e4a021704 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..bbb2b8dac4 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..8f05be8982 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..6171fb404e 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..91b8911efb 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..b7176de523 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..068079331b 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..069e9ea1ba 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..33bf20a85c 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..fe191c7ec3 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..8f85a78a51 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..c749bb41ea 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..a3cf1f6781 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..4aefd120b7 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..e4f0f15bb7 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..fd7a0b3251 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..e8f4cca368 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..a9f832451d 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..eda6d23f59 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..7f8bbd1c01 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..aedceda636 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..d1921a12c9 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..56d4485e0e 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..d349fdd10e 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..aa89f6829c 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..5d6bccb3c2 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..5d42905452 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..c5bfbe0c0b 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..7f8627e717 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..45629e545e 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..c1f547fe1b 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..c55388c39f 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..d2f20b15fe 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..5705c1c62b 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..3f149cb1d2 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..0e5fc8ec27 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..27ace4d22c 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..4d8fa803be 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..e02a099953 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..09fefba1e9 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..3ef63babaa 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..03c4ee1a05 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..7b2a016d6c 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..ef050ba1ca 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..4bf99e3d5b 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..af210eee3b 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..c03d4f3d05 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..a75539a970 --- /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..aa90ede4bb 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..2c1a420478 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..989582b5ab 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..a7f4bf6379 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..45edb93734 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..abef554ebd 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..5a39b6cf6d 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..3f3b5bd119 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..aa645d365d 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..7501907d2a --- /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..0dca8441f6 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..20c5af89eb 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..de7c7fb72d 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..fcfb5c44d8 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..4ff45b966c 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..d8a04a47af 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..ac094452c7 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..238eeddf3b 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..96a8887431 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..09eead8820 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..4829d2bc2a 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..4b20c4f237 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..dfe05383e4 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..0bafe7c032 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..9e8cd3f3ef 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..25d18381f9 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..c0b7ec3ac4 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..b43cb8ce8d 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..205152adc0 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..3049770254 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..714f72eeb9 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..0be7be4547 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..cb6923eadb 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..3e66535f81 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..8ffb900132 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..d91fff7738 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..749d526094 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..c7c05aa184 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..c74410e306 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..ec45faa6d2 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..a4649a870a 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..a7980ee0c9 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..fbaf2e0960 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..64954cdca7 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..18e2b99bc2 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..9fccbc23c9 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..405713759d 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..b61897623a 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..9298718fce 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..2f7351ac46 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..fe68ddc253 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..35131383eb 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..5af23b81ce 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..4fa07fe07d 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..f26e0a7873 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..7d40776fbd 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..6c7617a2a9 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..38b6862534 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..56e1bf6d47 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..3b6175106c 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..ebe3881339 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..0230ffa32b 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..8f4a799ece 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..f4fccb8786 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..a92ca20633 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..53287c3874 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..6282c547b4 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..6551339a0a 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..6bc600c64f 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..bb80ab7770 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..7b887b6794 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..039233b277 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..e60d02768e 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..cf27fbe146 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..c4cad3b5ac 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..e2bf46b434 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..01dc497474 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..d060f8f45c 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..3dee6af6d1 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..82c5fbe9fe 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..6a4364f200 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..ff1f3e3e9e 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..059d81e6dc 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..81f60ffb83 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..facdb3cccf 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..2f9111fdeb 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..c106c45664 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..e71ef96a8c 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..e5f436bcf9 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..86f812628b 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..524dce2cb1 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..b4ca1ea5f9 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..a3dbc395e1 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..cc82d7b21d 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..4323a411c8 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..91f22a1290 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..5c1928baef 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..741baaed45 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..088ca5d544 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..126e8ccb26 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..3cca93e5d6 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..1ead2f39ce 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..430e660aa2 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..6edd50a699 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..cf2b359962 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..25bcfb8ea8 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..0aa2884640 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..0568fe087f 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..b66bbd9e2c 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..5f1b4c1feb 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..f401e7d03c 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..99f453b4c8 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..61fe2d980c 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..e6c9dda111 --- /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..0c47a8ba18 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..2d21ad9c38 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..9ba6f66f78 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..d4db474cfa 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..3624bcdf27 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..6f6a0838ac 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..350f2a9057 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..3f942c2e14 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..52bdd766b4 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..d6393ba95b 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..4d2ab7b142 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..bde52f8eaa 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..2360b73cef 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..892f459655 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..9fc1720389 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..8e5193df9a 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..3d35f02bc9 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..deffe96390 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..13c2da79f6 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..e8f0cde2ca 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..0b4c3e2060 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..97d64e8fab 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..0386fa4ef7 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..17b617d976 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..7202fa39f7 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..a97f4f6277 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..3acb41e635 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..0e24c6cc59 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..4fd9d592bd 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..385b257ca5 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..657636fa2e 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..caf0ae5f25 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..0f59c2f23b 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..7a7cd3eb67 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..5f13d6629b 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..e296db249b 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..cd820743ae 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..de06f20194 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..5b5b9ea3a3 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..4cf9b0ce4c 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..d3d8f44a09 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..ca7f2bfe6a 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..2d07ec4696 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..ed2adf6cf7 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..989a97fcb7 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..cc24b192dc 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..67ee5325f8 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..89ff570a30 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..52953d0e83 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..8b047e349d 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..b86575213c 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..a45598aed7 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..33912ed196 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..5913b20597 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..97d8d3ead8 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..a36e3813b4 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..498a4cb141 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..961facce46 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..fbcc636036 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..40f605b0ba 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..47080b5f2b 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..a77bba37a8 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..9baff0b81b 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..26b6a09451 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..3c2ea5b4ae 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..d39aa23ff4 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..e906142cfe 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..6d6cc3ae52 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..010c4677b3 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..7f2915853e 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..f54fbbb603 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..9d2569fcbf 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..a8f6017dcc 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..54ca3127d0 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..02eadf6c5a 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..0cc430e5e6 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..17f3391ed7 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..69ef180d0d 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..e5a730876d 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..1e6c9434fe 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..e6dbe02698 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..691275c434 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..7b7ff826b2 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..d770e513d8 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..6e418aa431 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..70eddc5186 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..6318831886 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..531982649b 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..7e16afca75 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..75f920c808 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..75a51536f9 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..b875f2d254 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..08c4ca9d63 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..4a6e9668a3 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..c8090931c0 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..51b346f0a7 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..96632e3bce 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 100% rename from kubernetes_asyncio/setup.py rename to kubernetes_aio/setup.py 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 54% rename from kubernetes_asyncio/test-requirements.txt rename to kubernetes_aio/test-requirements.txt index d354965e13..4ed3991cbe 100644 --- a/kubernetes_asyncio/test-requirements.txt +++ b/kubernetes_aio/test-requirements.txt @@ -1,3 +1,3 @@ pytest~=4.6.7 # needed for python 2.7+3.4 pytest-cov>=2.8.1 -pytest-randomly==4.1.0 # needed for python 2.7+3.4 +pytest-randomly==1.2.3 # needed for python 2.7+3.4 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..9080d3be00 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..0c09062528 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..94d8c032d0 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..4a8a826a1c 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..55c8594e2c 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..1a95df5025 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..422d40173e 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..a2cf354f4f 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..c7a7dd1e7b 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..848b9085e6 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..9b513f2ff1 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..cc51f8e131 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..3b5d316f26 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..c64f5c953f 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..2abcf8c9ee 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..6a13c6d678 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..506efb5632 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..2b8de31c20 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..302f815361 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..a691f593fc 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..8d09a03efa 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..b05accd3cc 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..2b82f0fe9a 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..fa5d6a6887 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..8e51ddd707 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..9974c0c452 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..86a2b05700 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..1d711e53f9 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..084c84ead6 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..121dc6244b 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..54bdc64d57 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..cccfe71aac 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..992792db08 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..e65cc192b5 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..d70b026012 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..87a1da794b 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..d25837266d 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..15c478e23d 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..cac6321c80 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..fbeed9fb29 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..9d2295d491 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..5e0375ce50 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..08ce221c60 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..096e9b0762 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..37ff303b93 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..13d479a610 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..4df6cf8d30 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..b3ffc7d9ca 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..e3f88f7292 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..97a930acf8 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..4a16d2058f 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..5492827d76 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..9f5b682d5f 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..bac3a565db 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..3c9c4ec8c5 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..60e71fe69a 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..06d3cac97d 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..69c6a217b2 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..5977a1b06d 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..ce943238cf 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..8175ae3c9a 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..ecf4057345 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..1a9d75de34 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..6a89529908 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..3edce72e33 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..4175ab873e 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..196baf2064 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_asyncio/client/__init__.py b/kubernetes_asyncio/client/__init__.py deleted file mode 100644 index 694ccd5160..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+snapshot" - -# 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/api_client.py.orig b/kubernetes_asyncio/client/api_client.py.orig deleted file mode 100644 index a2c1acec19..0000000000 --- a/kubernetes_asyncio/client/api_client.py.orig +++ /dev/null @@ -1,707 +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.36 - Generated by: https://openapi-generator.tech -""" - -from __future__ import absolute_import - -import atexit -import datetime -from dateutil.parser import parse -import json -import mimetypes -from multiprocessing.pool import ThreadPool -import os -import re -import tempfile - -# python 2 and python 3 compatibility library -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 - - -class ApiClient(object): - """Generic API client for OpenAPI client library builds. - - OpenAPI generic API client. This client handles the client- - server communication, and is invariant across implementations. Specifics of - the methods and models for each application are generated from the OpenAPI - templates. - - NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - Do not edit the class manually. - - :param configuration: .Configuration object for this client - :param header_name: a header to pass when making calls to the API. - :param header_value: a header value to pass when making calls to - the API. - :param cookie: a cookie to include in the header when making calls - to the API - :param pool_threads: The number of threads to use for async requests - to the API. More threads means more concurrent API requests. - """ - - PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types - NATIVE_TYPES_MAPPING = { - 'int': int, - 'long': int if six.PY3 else long, # noqa: F821 - 'float': float, - 'str': str, - 'bool': bool, - 'date': datetime.date, - 'datetime': datetime.datetime, - 'object': object, - } - _pool = None - - def __init__(self, configuration=None, header_name=None, header_value=None, - cookie=None, pool_threads=1): - if configuration is None: - configuration = Configuration.get_default_copy() - self.configuration = configuration - self.pool_threads = pool_threads - - self.rest_client = rest.RESTClientObject(configuration) - self.default_headers = {} - if header_name is not None: - self.default_headers[header_name] = header_value - self.cookie = cookie - # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/36.0.0+snapshot/python' - self.client_side_validation = configuration.client_side_validation - - async def __aenter__(self): - return self - - async def __aexit__(self, exc_type, exc_value, traceback): - await self.close() - - async def close(self): - await self.rest_client.close() - if self._pool: - self._pool.close() - self._pool.join() - self._pool = None - if hasattr(atexit, 'unregister'): - atexit.unregister(self.close) - - @property - def pool(self): - """Create thread pool on first request - avoids instantiating unused threadpool for blocking clients. - """ - if self._pool is None: - atexit.register(self.close) - self._pool = ThreadPool(self.pool_threads) - return self._pool - - @property - def user_agent(self): - """User agent for this API client""" - return self.default_headers['User-Agent'] - - @user_agent.setter - def user_agent(self, value): - self.default_headers['User-Agent'] = value - - def set_default_header(self, header_name, header_value): - self.default_headers[header_name] = header_value - - async def __call_api( - self, resource_path, method, path_params=None, - query_params=None, header_params=None, body=None, post_params=None, - files=None, response_types_map=None, auth_settings=None, - _return_http_data_only=None, collection_formats=None, - _preload_content=True, _request_timeout=None, _host=None, - _request_auth=None): - - config = self.configuration - - # header parameters - header_params = header_params or {} - header_params.update(self.default_headers) - if self.cookie: - header_params['Cookie'] = self.cookie - if header_params: - header_params = self.sanitize_for_serialization(header_params) - header_params = dict(self.parameters_to_tuples(header_params, - collection_formats)) - - # path parameters - if path_params: - path_params = self.sanitize_for_serialization(path_params) - path_params = self.parameters_to_tuples(path_params, - collection_formats) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace( - '{%s}' % k, - quote(str(v), safe=config.safe_chars_for_path_param) - ) - - # query parameters - if query_params: - query_params = self.sanitize_for_serialization(query_params) - query_params = self.parameters_to_tuples(query_params, - collection_formats) - - # post parameters - if post_params or files: - post_params = post_params if post_params else [] - post_params = self.sanitize_for_serialization(post_params) - post_params = self.parameters_to_tuples(post_params, - collection_formats) - post_params.extend(self.files_parameters(files)) - - # auth setting - self.update_params_for_auth( - header_params, query_params, auth_settings, - request_auth=_request_auth) - - # body - if body: - body = self.sanitize_for_serialization(body) - - # request url - if _host is None: - url = self.configuration.host + resource_path - else: - # use server/host defined in path or operation instead - url = _host + resource_path - - try: - # perform request and return response - response_data = await self.request( - method, url, query_params=query_params, headers=header_params, - post_params=post_params, body=body, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - except ApiException as e: - e.body = e.body.decode('utf-8') if six.PY3 else e.body - raise e - - self.last_response = response_data - - return_data = response_data - - if not _preload_content: - return return_data - - response_type = None - if response_types_map: - response_type = response_types_map.get(response_data.status, None) - - if six.PY3 and response_type not in ["file", "bytes"]: - match = None - content_type = response_data.getheader('content-type') - if content_type is not None: - match = re.search(r"charset=([a-zA-Z\-\d]+)[\s\;]?", content_type) - encoding = match.group(1) if match else "utf-8" - response_data.data = response_data.data.decode(encoding) - - # deserialize response data - - if response_type: - return_data = self.deserialize(response_data, response_type) - else: - return_data = None - - if _return_http_data_only: - return (return_data) - else: - return (return_data, response_data.status, - response_data.getheaders()) - - def sanitize_for_serialization(self, obj): - """Builds a JSON POST object. - - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. - If obj is datetime.datetime, datetime.date - convert to string in iso8601 format. - If obj is list, sanitize each element in the list. - If obj is dict, return the dict. - If obj is OpenAPI model, return the properties dict. - - :param obj: The data to serialize. - :return: The serialized form of data. - """ - if obj is None: - return None - elif isinstance(obj, self.PRIMITIVE_TYPES): - return obj - elif isinstance(obj, list): - return [self.sanitize_for_serialization(sub_obj) - for sub_obj in obj] - elif isinstance(obj, tuple): - return tuple(self.sanitize_for_serialization(sub_obj) - for sub_obj in obj) - elif isinstance(obj, (datetime.datetime, datetime.date)): - return obj.isoformat() - - if isinstance(obj, dict): - obj_dict = obj - else: - # Convert model obj to dict except - # attributes `openapi_types`, `attribute_map` - # and attributes which value is not None. - # Convert attribute name to json key in - # model definition for request. - obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) - for attr, _ in six.iteritems(obj.openapi_types) - if getattr(obj, attr) is not None} - - return {key: self.sanitize_for_serialization(val) - for key, val in six.iteritems(obj_dict)} - - def deserialize(self, response, response_type): - """Deserializes response into an object. - - :param response: RESTResponse object to be deserialized. - :param response_type: class literal for - deserialized object, or string of class name. - - :return: deserialized object. - """ - # handle file downloading - # save response body into a tmp file and return the instance - if response_type == "file": - return self.__deserialize_file(response) - - # fetch data from response object - try: - data = json.loads(response.data) - except ValueError: - data = response.data - - return self.__deserialize(data, response_type) - - def __deserialize(self, data, klass): - """Deserializes dict, list, str into an object. - - :param data: dict, list or str. - :param klass: class literal, or string of class name. - - :return: object. - """ - if data is None: - return None - - if type(klass) == str: - if klass.startswith('list['): - sub_kls = re.match(r'list\[(.*)\]', klass).group(1) - return [self.__deserialize(sub_data, sub_kls) - for sub_data in data] - - if klass.startswith('dict['): - sub_kls = re.match(r'dict\[([^,]*), (.*)\]', klass).group(2) - return {k: self.__deserialize(v, sub_kls) - for k, v in six.iteritems(data)} - - # convert str to class - if klass in self.NATIVE_TYPES_MAPPING: - klass = self.NATIVE_TYPES_MAPPING[klass] - else: - klass = getattr(kubernetes_asyncio.client.models, klass) - - if klass in self.PRIMITIVE_TYPES: - return self.__deserialize_primitive(data, klass) - elif klass == object: - return self.__deserialize_object(data) - elif klass == datetime.date: - return self.__deserialize_date(data) - elif klass == datetime.datetime: - return self.__deserialize_datetime(data) - else: - return self.__deserialize_model(data, klass) - - def call_api(self, resource_path, method, - path_params=None, query_params=None, header_params=None, - body=None, post_params=None, files=None, - response_types_map=None, auth_settings=None, - async_req=None, _return_http_data_only=None, - collection_formats=None,_preload_content=True, - _request_timeout=None, _host=None, _request_auth=None): - """Makes the HTTP request (synchronous) and returns deserialized data. - - To make an async_req request, set the async_req parameter. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params dict: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param auth_settings list: Auth Settings names for the request. - :param response: Response data type. - :param files dict: key -> filename, value -> filepath, - for `multipart/form-data`. - :param async_req bool: execute request asynchronously - :param _return_http_data_only: response data without head status code - and headers - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :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_token: dict, optional - :return: - If async_req parameter is True, - the request will be called asynchronously. - The method will return the request thread. - If parameter async_req is False or missing, - then the method will return the response directly. - """ - if not async_req: - return self.__call_api(resource_path, method, - path_params, query_params, header_params, - body, post_params, files, - response_types_map, auth_settings, - _return_http_data_only, collection_formats, - _preload_content, _request_timeout, _host, - _request_auth) - - return self.pool.apply_async(self.__call_api, (resource_path, - method, path_params, - query_params, - header_params, body, - post_params, files, - response_types_map, - auth_settings, - _return_http_data_only, - collection_formats, - _preload_content, - _request_timeout, - _host, _request_auth)) - - def request(self, method, url, query_params=None, headers=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - """Makes the HTTP request using RESTClient.""" - if method == "GET": - return self.rest_client.GET(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "HEAD": - return self.rest_client.HEAD(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "OPTIONS": - return self.rest_client.OPTIONS(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - elif method == "POST": - return self.rest_client.POST(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PUT": - return self.rest_client.PUT(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PATCH": - return self.rest_client.PATCH(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "DELETE": - return self.rest_client.DELETE(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - else: - raise ApiValueError( - "http method must be `GET`, `HEAD`, `OPTIONS`," - " `POST`, `PATCH`, `PUT` or `DELETE`." - ) - - def parameters_to_tuples(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: Parameters as list of tuples, collections formatted - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, value) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append( - (k, delimiter.join(str(value) for value in v))) - else: - new_params.append((k, v)) - return new_params - - def files_parameters(self, files=None): - """Builds form parameters. - - :param files: File parameters. - :return: Form parameters with files. - """ - params = [] - - if files: - for k, v in six.iteritems(files): - if not v: - continue - file_names = v if type(v) is list else [v] - for n in file_names: - with open(n, 'rb') as f: - filename = os.path.basename(f.name) - filedata = f.read() - mimetype = (mimetypes.guess_type(filename)[0] or - 'application/octet-stream') - params.append( - tuple([k, tuple([filename, filedata, mimetype])])) - - return params - - def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - """ - if not accepts: - return - - accepts = [x.lower() for x in accepts] - - if 'application/json' in accepts: - return 'application/json' - else: - return ', '.join(accepts) - - def select_header_content_type(self, content_types, method=None, body=None): - """Returns `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :param method: http method (e.g. POST, PATCH). - :param body: http body to send. - :return: Content-Type (e.g. application/json). - """ - if not content_types: - return None - - content_types = [x.lower() for x in content_types] - - if method == 'PATCH': - if ('application/json-patch+json' in content_types and - isinstance(body, list)): - return 'application/json-patch+json' - if ('application/strategic-merge-patch+json' in content_types and - (isinstance(body, dict) or hasattr(body, "to_dict"))): - return 'application/strategic-merge-patch+json' - - if 'application/json' in content_types or '*/*' in content_types: - return 'application/json' - else: - return content_types[0] - - def update_params_for_auth(self, headers, queries, auth_settings, - request_auth=None): - """Updates header and query params based on authentication setting. - - :param headers: Header parameters dict to be updated. - :param queries: Query parameters tuple list to be updated. - :param auth_settings: Authentication setting identifiers list. - :param request_auth: if set, the provided settings will - override the token in the configuration. - """ - if not auth_settings: - return - - if request_auth: - self._apply_auth_params(headers, queries, request_auth) - return - - for auth in auth_settings: - auth_setting = self.configuration.auth_settings().get(auth) - if auth_setting: - self._apply_auth_params(headers, queries, auth_setting) - - def _apply_auth_params(self, headers, queries, auth_setting): - """Updates the request parameters based on a single auth_setting - - :param headers: Header parameters dict to be updated. - :param queries: Query parameters tuple list to be updated. - :param auth_setting: auth settings for the endpoint - """ - if auth_setting['in'] == 'cookie': - headers['Cookie'] = auth_setting['value'] - elif auth_setting['in'] == 'header': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - queries.append((auth_setting['key'], auth_setting['value'])) - else: - raise ApiValueError( - 'Authentication token must be in `query` or `header`' - ) - - def __deserialize_file(self, response): - """Deserializes body to file - - Saves response body into a file in a temporary folder, - using the filename from the `Content-Disposition` header if provided. - - :param response: RESTResponse. - :return: file path. - """ - fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) - os.close(fd) - os.remove(path) - - content_disposition = response.getheader("Content-Disposition") - if content_disposition: - filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', - content_disposition).group(1) - path = os.path.join(os.path.dirname(path), filename) - - with open(path, "wb") as f: - f.write(response.data) - - return path - - def __deserialize_primitive(self, data, klass): - """Deserializes string to primitive type. - - :param data: str. - :param klass: class literal. - - :return: int, long, float, str, bool. - """ - try: - return klass(data) - except UnicodeEncodeError: - return six.text_type(data) - except TypeError: - return data - - def __deserialize_object(self, value): - """Return an original value. - - :return: object. - """ - return value - - def __deserialize_date(self, string): - """Deserializes string to date. - - :param string: str. - :return: date. - """ - try: - return parse(string).date() - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason="Failed to parse `{0}` as date object".format(string) - ) - - def __deserialize_datetime(self, string): - """Deserializes string to datetime. - - The string should be in iso8601 datetime format. - - :param string: str. - :return: datetime. - """ - try: - return parse(string) - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason=( - "Failed to parse `{0}` as datetime object" - .format(string) - ) - ) - - def __deserialize_model(self, data, klass): - """Deserializes list or dict to model. - - :param data: dict, list. - :param klass: class literal. - :return: model object. - """ - has_discriminator = False - if (hasattr(klass, 'get_real_child_model') - and klass.discriminator_value_class_map): - has_discriminator = True - - if not klass.openapi_types and has_discriminator is False: - return data - - kwargs = {} - if (data is not None and - klass.openapi_types is not None and - isinstance(data, (list, dict))): - for attr, attr_type in six.iteritems(klass.openapi_types): - if klass.attribute_map[attr] in data: - value = data[klass.attribute_map[attr]] - kwargs[attr] = self.__deserialize(value, attr_type) - - kwargs["local_vars_configuration"] = self.configuration - instance = klass(**kwargs) - - if has_discriminator: - klass_name = instance.get_real_child_model(data) - if klass_name: - instance = self.__deserialize(data, klass_name) - return instance diff --git a/kubernetes_asyncio/client/configuration.py.orig b/kubernetes_asyncio/client/configuration.py.orig deleted file mode 100644 index 750071ffaa..0000000000 --- a/kubernetes_asyncio/client/configuration.py.orig +++ /dev/null @@ -1,498 +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.36 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import copy -import logging -import sys -import urllib3 - -import six -from six.moves import http_client as httplib -from kubernetes_asyncio.client.exceptions import ApiValueError - - -JSON_SCHEMA_VALIDATION_KEYWORDS = { - 'multipleOf', 'maximum', 'exclusiveMaximum', - 'minimum', 'exclusiveMinimum', 'maxLength', - 'minLength', 'pattern', 'maxItems', 'minItems' -} - -class Configuration(object): - """NOTE: This class is auto generated by OpenAPI Generator - - Ref: https://openapi-generator.tech - Do not edit the class manually. - - :param host: Base url - :param api_key: Dict to store API key(s). - Each entry in the dict specifies an API key. - The dict key is the name of the security scheme in the OAS specification. - The dict value is the API key secret. - :param api_key_prefix: Dict to store API prefix (e.g. Bearer) - The dict key is the name of the security scheme in the OAS specification. - The dict value is an API key prefix when generating the auth data. - :param username: Username for HTTP basic authentication - :param password: Password for HTTP basic authentication - :param discard_unknown_keys: Boolean value indicating whether to discard - unknown properties. A server may send a response that includes additional - properties that are not known by the client in the following scenarios: - 1. The OpenAPI document is incomplete, i.e. it does not match the server - implementation. - 2. The client was generated using an older version of the OpenAPI document - and the server has been upgraded since then. - If a schema in the OpenAPI document defines the additionalProperties attribute, - then all undeclared properties received by the server are injected into the - additional properties map. In that case, there are undeclared properties, and - nothing to discard. - :param disabled_client_side_validations (string): Comma-separated list of - JSON schema validation keywords to disable JSON schema structural validation - rules. The following keywords may be specified: multipleOf, maximum, - exclusiveMaximum, minimum, exclusiveMinimum, maxLength, minLength, pattern, - maxItems, minItems. - By default, the validation is performed for data generated locally by the client - and data received from the server, independent of any validation performed by - the server side. If the input data does not satisfy the JSON schema validation - rules specified in the OpenAPI document, an exception is raised. - If disabled_client_side_validations is set, structural validation is - disabled. This can be useful to troubleshoot data validation problem, such as - when the OpenAPI document validation rules do not match the actual API data - received by the server. - :param server_index: Index to servers configuration. - :param server_variables: Mapping with string values to replace variables in - templated server configuration. The validation of enums is performed for - variables with defined enum values before. - :param server_operation_index: Mapping from operation ID to an index to server - configuration. - :param server_operation_variables: Mapping from operation ID to a mapping with - string values to replace variables in templated server configuration. - The validation of enums is performed for variables with defined enum values before. - :param ssl_ca_cert: str - the path to a file of concatenated CA certificates - in PEM format - - :Example: - - API Key Authentication Example. - Given the following security scheme in the OpenAPI specification: - components: - securitySchemes: - cookieAuth: # name for the security scheme - type: apiKey - in: cookie - name: JSESSIONID # cookie name - - You can programmatically set the cookie: - -conf = client.Configuration( - api_key={'cookieAuth': 'abc123'} - api_key_prefix={'cookieAuth': 'JSESSIONID'} -) - - The following cookie will be added to the HTTP request: - Cookie: JSESSIONID abc123 - """ - - _default = None - - def __init__(self, host=None, - api_key=None, api_key_prefix=None, - username=None, password=None, - discard_unknown_keys=False, - disabled_client_side_validations="", - server_index=None, server_variables=None, - server_operation_index=None, server_operation_variables=None, - ssl_ca_cert=None, - ): - """Constructor - """ - self._base_path = "http://localhost" if host is None else host - """Default Base url - """ - self.server_index = 0 if server_index is None and host is None else server_index - self.server_operation_index = server_operation_index or {} - """Default server index - """ - self.server_variables = server_variables or {} - self.server_operation_variables = server_operation_variables or {} - """Default server variables - """ - self.temp_folder_path = None - """Temp file folder for downloading files - """ - # Authentication Settings - self.api_key = {} - if api_key: - self.api_key = api_key - """dict to store API key(s) - """ - self.api_key_prefix = {} - if api_key_prefix: - self.api_key_prefix = api_key_prefix - """dict to store API prefix (e.g. Bearer) - """ - self.refresh_api_key_hook = None - """function hook to refresh API key if expired - """ - self.username = username - """Username for HTTP basic authentication - """ - self.password = password - """Password for HTTP basic authentication - """ - self.discard_unknown_keys = discard_unknown_keys - self.disabled_client_side_validations = disabled_client_side_validations - self.logger = {} - """Logging Settings - """ - self.logger["package_logger"] = logging.getLogger("client") - self.logger["urllib3_logger"] = logging.getLogger("urllib3") - self.logger_format = '%(asctime)s %(levelname)s %(message)s' - """Log format - """ - self.logger_stream_handler = None - """Log stream handler - """ - self.logger_file_handler = None - """Log file handler - """ - self.logger_file = None - """Debug file location - """ - self.debug = False - """Debug switch - """ - - self.verify_ssl = True - """SSL/TLS verification - Set this to false to skip verifying SSL certificate when calling API - from https server. - """ - self.disable_strict_ssl_verification = False - """Set to true, to accept certificates violate X509 strict certificate - verification requirements, like missing the following extensions: - - X509v3 Subject Key Identifier - - X509v3 Authority Key Identifier - - X509v3 Subject Alternative Name - (It is implemented by removing ssl.VERIFY_X509_STRICT from SSLContext.verify_flags) - """ - self.ssl_ca_cert = ssl_ca_cert - """Set this to customize the certificate file to verify the peer. - """ - self.cert_file = None - """client certificate file - """ - self.key_file = None - """client key file - """ - self.assert_hostname = None - """Set this to True/False to enable/disable SSL hostname verification. - """ - self.tls_server_name = None - """SSL/TLS Server Name Indication (SNI) - Set this to the SNI value expected by the server. - """ - self.tls_server_name = None - """SSL/TLS Server Name Indication (SNI) - Set this to the SNI value expected by Kubernetes API. - """ - - self.connection_pool_maxsize = 100 - """This value is passed to the aiohttp to limit simultaneous connections. - Default values is 100, None means no-limit. - """ - - self.proxy = None - """Proxy URL - """ - self.proxy_headers = None - """Proxy headers - """ - self.safe_chars_for_path_param = '' - """Safe chars for path_param - """ - self.retries = None - """Adding retries to override urllib3 default value 3 - """ - # Enable client side validation - self.client_side_validation = True - - self.socket_options = None - """Options to pass down to the underlying urllib3 socket - """ - - def __deepcopy__(self, memo): - cls = self.__class__ - result = cls.__new__(cls) - memo[id(self)] = result - for k, v in self.__dict__.items(): - if k not in ('logger', 'logger_file_handler'): - setattr(result, k, copy.deepcopy(v, memo)) - # shallow copy of loggers - result.logger = copy.copy(self.logger) - # use setters to configure loggers - result.logger_file = self.logger_file - result.debug = self.debug - return result - - def __setattr__(self, name, value): - object.__setattr__(self, name, value) - if name == 'disabled_client_side_validations': - s = set(filter(None, value.split(','))) - for v in s: - if v not in JSON_SCHEMA_VALIDATION_KEYWORDS: - raise ApiValueError( - "Invalid keyword: '{0}''".format(v)) - self._disabled_client_side_validations = s - - @classmethod - def set_default(cls, default): - """Set default instance of configuration. - - It stores default configuration, which can be - returned by get_default_copy method. - - :param default: object of Configuration - """ - cls._default = copy.deepcopy(default) - - @classmethod - def get_default(cls): - """Get default instance of configuration. - - :return: The Configuration object. - """ - if cls._default is None: - cls.set_default(Configuration()) - return cls._default - - @classmethod - def get_default_copy(cls): - """Return new instance of configuration. - - This method returns newly created, based on default constructor, - object of Configuration class or returns a copy of default - configuration passed by the set_default method. - - :return: The configuration object. - """ - if cls._default is not None: - return copy.deepcopy(cls._default) - return Configuration() - - @property - def logger_file(self): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - return self.__logger_file - - @logger_file.setter - def logger_file(self, value): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - self.__logger_file = value - if self.__logger_file: - # If set logging file, - # then add file handler and remove stream handler. - self.logger_file_handler = logging.FileHandler(self.__logger_file) - self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_file_handler) - - @property - def debug(self): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - return self.__debug - - @debug.setter - def debug(self, value): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - self.__debug = value - if self.__debug: - # if debug status is True, turn on debug logging - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.DEBUG) - # turn on httplib debug - httplib.HTTPConnection.debuglevel = 1 - else: - # if debug status is False, turn off debug logging, - # setting log level to default `logging.WARNING` - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.WARNING) - # turn off httplib debug - httplib.HTTPConnection.debuglevel = 0 - - @property - def logger_format(self): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - return self.__logger_format - - @logger_format.setter - def logger_format(self, value): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - self.__logger_format = value - self.logger_formatter = logging.Formatter(self.__logger_format) - - def get_api_key_with_prefix(self, identifier, alias=None): - """Gets API key (with prefix if set). - - :param identifier: The identifier of apiKey. - :param alias: The alternative identifier of apiKey. - :return: The token for api key authentication. - """ - if self.refresh_api_key_hook is not None: - self.refresh_api_key_hook(self) - key = self.api_key.get(identifier, self.api_key.get(alias) if alias is not None else None) - if key: - prefix = self.api_key_prefix.get(identifier) - if prefix: - return "%s %s" % (prefix, key) - else: - return key - - def get_basic_auth_token(self): - """Gets HTTP basic authentication header (string). - - :return: The token for basic HTTP authentication. - """ - username = "" - if self.username is not None: - username = self.username - password = "" - if self.password is not None: - password = self.password - return urllib3.util.make_headers( - basic_auth=username + ':' + password - ).get('authorization') - - def auth_settings(self): - """Gets Auth Settings dict for api client. - - :return: The Auth Settings information dict. - """ - auth = {} - if 'BearerToken' in self.api_key: - auth['BearerToken'] = { - 'type': 'api_key', - 'in': 'header', - 'key': 'authorization', - 'value': self.get_api_key_with_prefix( - 'BearerToken', - ), - } - return auth - - def to_debug_report(self): - """Gets the essential information for debugging. - - :return: The report for debugging. - """ - return "Python SDK Debug Report:\n"\ - "OS: {env}\n"\ - "Python Version: {pyversion}\n"\ - "Version of the API: release-1.36\n"\ - "SDK Package Version: 36.0.0+snapshot".\ - format(env=sys.platform, pyversion=sys.version) - - def get_host_settings(self): - """Gets an array of host settings - - :return: An array of host settings - """ - return [ - { - 'url': "", - 'description': "No description provided", - } - ] - - def get_host_from_settings(self, index, variables=None, servers=None): - """Gets host URL based on the index and variables - :param index: array index of the host settings - :param variables: hash of variable and the corresponding value - :param servers: an array of host settings or None - :return: URL based on host settings - """ - if index is None: - return self._base_path - - variables = {} if variables is None else variables - servers = self.get_host_settings() if servers is None else servers - - try: - server = servers[index] - except IndexError: - raise ValueError( - "Invalid index {0} when selecting the host settings. " - "Must be less than {1}".format(index, len(servers))) - - url = server['url'] - - # go through variables and replace placeholders - for variable_name, variable in server.get('variables', {}).items(): - used_value = variables.get( - variable_name, variable['default_value']) - - if 'enum_values' in variable \ - and used_value not in variable['enum_values']: - raise ValueError( - "The variable `{0}` in the host URL has invalid value " - "{1}. Must be {2}.".format( - variable_name, variables[variable_name], - variable['enum_values'])) - - url = url.replace("{" + variable_name + "}", used_value) - - return url - - @property - def host(self): - """Return generated host.""" - return self.get_host_from_settings(self.server_index, variables=self.server_variables) - - @host.setter - def host(self, value): - """Fix base path.""" - self._base_path = value - self.server_index = None 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/client/rest.py.orig b/kubernetes_asyncio/client/rest.py.orig deleted file mode 100644 index e6306162de..0000000000 --- a/kubernetes_asyncio/client/rest.py.orig +++ /dev/null @@ -1,264 +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.36 - Generated by: https://openapi-generator.tech -""" - - -import io -import json -import logging -import re -import ssl - -import aiohttp -# python 2 and python 3 compatibility library -from six.moves.urllib.parse import urlencode - -from kubernetes_asyncio.client.exceptions import ApiException, ApiValueError - -logger = logging.getLogger(__name__) - - -class RESTResponse(io.IOBase): - - def __init__(self, resp, data): - self.aiohttp_response = resp - self.status = resp.status - self.reason = resp.reason - self.data = data - - def getheaders(self): - """Returns a CIMultiDictProxy of the response headers.""" - return self.aiohttp_response.headers - - def getheader(self, name, default=None): - """Returns a given response header.""" - return self.aiohttp_response.headers.get(name, default) - - -class RESTClientObject(object): - - def __init__(self, configuration, pools_size=4, maxsize=None): - - # maxsize is number of requests to host that are allowed in parallel - if maxsize is None: - maxsize = configuration.connection_pool_maxsize - - ssl_context = ssl.create_default_context(cafile=configuration.ssl_ca_cert) - if configuration.cert_file: - ssl_context.load_cert_chain( - configuration.cert_file, keyfile=configuration.key_file - ) - - self.server_hostname = configuration.tls_server_name - - if not configuration.verify_ssl: - ssl_context.check_hostname = False - ssl_context.verify_mode = ssl.CERT_NONE - if configuration.disable_strict_ssl_verification: - ssl_context.verify_flags &= ~ssl.VERIFY_X509_STRICT - - connector = aiohttp.TCPConnector( - limit=maxsize, - ssl=ssl_context - ) - - self.proxy = configuration.proxy - self.proxy_headers = configuration.proxy_headers - - # https pool manager - self.pool_manager = aiohttp.ClientSession( - connector=connector, - trust_env=True, - # Watch events containing large resource objects can exceed - # aiohttp's default read buffer size. - # - # There is no hard-limit defined by k8s, but the etcd default - # maximum request size is 1.5MiB. - # https://github.com/kubernetes/kubernetes/issues/19781 - read_bufsize=2**21 - ) - - async def close(self): - await self.pool_manager.close() - - async def request(self, method, url, query_params=None, headers=None, - body=None, post_params=None, _preload_content=True, - _request_timeout=None): - """Execute request - - :param method: http request method - :param url: http request url - :param query_params: query parameters in the url - :param headers: http request headers - :param body: request json body, for `application/json` - :param post_params: request post parameters, - `application/x-www-form-urlencoded` - and `multipart/form-data` - :param _preload_content: this is a non-applicable field for - the AiohttpClient. - :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. - """ - method = method.upper() - assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', - 'PATCH', 'OPTIONS'] - - if post_params and body: - raise ApiValueError( - "body parameter cannot be used with post_params parameter." - ) - - post_params = post_params or {} - headers = headers or {} - timeout = _request_timeout or 5 * 60 - - if 'Content-Type' not in headers: - headers['Content-Type'] = 'application/json' - - args = { - "method": method, - "url": url, - "timeout": timeout, - "headers": headers - } - - if self.proxy: - args["proxy"] = self.proxy - if self.proxy_headers: - args["proxy_headers"] = self.proxy_headers - - if query_params: - args["url"] += '?' + urlencode(query_params) - - if self.server_hostname: - args["server_hostname"] = self.server_hostname - - # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` - if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: - if ( - re.search('json', headers['Content-Type'], re.IGNORECASE) - or headers['Content-Type'] in ["application/apply-patch+yaml"] - ): - if body is not None: - body = json.dumps(body) - args["data"] = body - elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 - args["data"] = aiohttp.FormData(post_params) - elif headers['Content-Type'] == 'multipart/form-data': - # must del headers['Content-Type'], or the correct - # Content-Type which generated by aiohttp - del headers['Content-Type'] - data = aiohttp.FormData() - for param in post_params: - k, v = param - if isinstance(v, tuple) and len(v) == 3: - data.add_field(k, - value=v[1], - filename=v[0], - content_type=v[2]) - else: - data.add_field(k, v) - args["data"] = data - - # Pass a `bytes` parameter directly in the body to support - # other content types than Json when `body` argument is provided - # in serialized form - elif isinstance(body, bytes): - args["data"] = body - else: - # Cannot generate the request from given parameters - msg = """Cannot prepare a request message for provided - arguments. Please check that your arguments match - declared content type.""" - raise ApiException(status=0, reason=msg) - - r = await self.pool_manager.request(**args) - if _preload_content: - - data = await r.read() - r = RESTResponse(r, data) - - # log response body - logger.debug("response body: %s", r.data) - - if not 200 <= r.status <= 299: - raise ApiException(http_resp=r) - - return r - - async def GET(self, url, headers=None, query_params=None, - _preload_content=True, _request_timeout=None): - return (await self.request("GET", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params)) - - async def HEAD(self, url, headers=None, query_params=None, - _preload_content=True, _request_timeout=None): - return (await self.request("HEAD", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params)) - - async def OPTIONS(self, url, headers=None, query_params=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - return (await self.request("OPTIONS", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body)) - - async def DELETE(self, url, headers=None, query_params=None, body=None, - _preload_content=True, _request_timeout=None): - return (await self.request("DELETE", url, - headers=headers, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body)) - - async def POST(self, url, headers=None, query_params=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - return (await self.request("POST", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body)) - - async def PUT(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return (await self.request("PUT", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body)) - - async def PATCH(self, url, headers=None, query_params=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - return (await self.request("PATCH", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body)) 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/scripts/release.sh b/scripts/release.sh index 02e4eca7f0..899770dc95 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..4ba704f45d 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 294c1ffc7d..67e0bc3c60 100644 --- a/setup-asyncio.py +++ b/setup-asyncio.py @@ -17,7 +17,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. CLIENT_VERSION = "36.0.0+snapshot" -PACKAGE_NAME = "kubernetes_asyncio" +PACKAGE_NAME = "kubernetes_aio" DEVELOPMENT_STATUS = "3 - Alpha" # 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 f74955cb30..f10bc82f3b 100644 --- a/setup-release.py +++ b/setup-release.py @@ -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/tox.ini b/tox.ini index 7798a72ee3..a7a4fd2ad3 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 =