From b40eaf279a132773e61ec0372d9a318ee6137dab Mon Sep 17 00:00:00 2001 From: Chuck McAndrew <6248903+dcmcand@users.noreply.github.com> Date: Thu, 27 Jun 2024 16:05:50 -0700 Subject: [PATCH 01/20] Add ability to use server_side_apply to utils.create_from_yaml --- kubernetes/e2e_test/test_utils.py | 42 ++++++++ kubernetes/utils/create_from_yaml.py | 137 +++++++++++++++++---------- 2 files changed, 129 insertions(+), 50 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index cc80e6f20..6579423c8 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -71,6 +71,48 @@ class TestUtils(unittest.TestCase): except ApiException: continue + def test_create_apps_deployment_from_yaml_with_apply_is_idempotent(self): + """ + Should be able to create an apps/v1 deployment. + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + try: + utils.create_from_yaml( + k8s_client, self.path_prefix + "apps-deployment.yaml") + app_api = client.AppsV1Api(k8s_client) + dep = app_api.read_namespaced_deployment(name="nginx-app", + namespace="default") + self.assertIsNotNone(dep) + self.assertEqual("nginx-app", dep.metadata.name) + self.assertEqual("nginx:1.15.4", dep.spec.template.spec.containers[0].image) + self.assertEqual(80, dep.spec.template.spec.containers[0].ports[0].container_port) + self.assertEqual("nginx", dep.spec.template.spec.containers[0].name) + self.assertEqual("nginx", dep.spec.template.metadata.labels["app"]) + self.assertEqual(3, dep.spec.replicas) + + utils.create_from_yaml( + k8s_client, self.path_prefix + "apps-deployment.yaml", apply=True) + dep = app_api.read_namespaced_deployment(name="nginx-app", + namespace="default") + self.assertIsNotNone(dep) + self.assertEqual("nginx-app", dep.metadata.name) + self.assertEqual("nginx:1.15.4", dep.spec.template.spec.containers[0].image) + self.assertEqual(80, dep.spec.template.spec.containers[0].ports[0].container_port) + self.assertEqual("nginx", dep.spec.template.spec.containers[0].name) + self.assertEqual("nginx", dep.spec.template.metadata.labels["app"]) + self.assertEqual(3, dep.spec.replicas) + except Exception as e: + self.fail(e) + finally: + while True: + try: + app_api.delete_namespaced_deployment( + name="nginx-app", namespace="default", + body={}) + break + except ApiException: + continue + def test_create_apps_deployment_from_yaml_object(self): """ Should be able to pass YAML objects directly to helper function. diff --git a/kubernetes/utils/create_from_yaml.py b/kubernetes/utils/create_from_yaml.py index 459c291ef..562c0edb7 100644 --- a/kubernetes/utils/create_from_yaml.py +++ b/kubernetes/utils/create_from_yaml.py @@ -1,4 +1,4 @@ -# Copyright 2018 The Kubernetes Authors. +# Copyright 2019 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,23 +13,20 @@ # limitations under the License. -import re import os +import re import yaml - from kubernetes import client +from kubernetes.dynamic.client import DynamicClient -UPPER_FOLLOWED_BY_LOWER_RE = re.compile('(.)([A-Z][a-z]+)') -LOWER_OR_NUM_FOLLOWED_BY_UPPER_RE = re.compile('([a-z0-9])([A-Z])') +UPPER_FOLLOWED_BY_LOWER_RE = re.compile("(.)([A-Z][a-z]+)") +LOWER_OR_NUM_FOLLOWED_BY_UPPER_RE = re.compile("([a-z0-9])([A-Z])") def create_from_directory( - k8s_client, - yaml_dir=None, - verbose=False, - namespace="default", - **kwargs): + k8s_client, yaml_dir=None, verbose=False, namespace="default", apply=False, **kwargs +): """ Perform an action from files from a directory. Pass True for verbose to print confirmation information. @@ -44,6 +41,7 @@ def create_from_directory( the resource creation will fail. If the API object in the yaml file already contains a namespace definition this parameter has no effect. + apply: bool. If True, use server-side apply for creating resources. Available parameters for creating : :param async_req bool @@ -65,27 +63,31 @@ def create_from_directory( """ if not yaml_dir: - raise ValueError( - '`yaml_dir` argument must be provided') + raise ValueError("`yaml_dir` argument must be provided") elif not os.path.isdir(yaml_dir): - raise ValueError( - '`yaml_dir` argument must be a path to directory') + raise ValueError("`yaml_dir` argument must be a path to directory") - files = [os.path.join(yaml_dir, i) for i in os.listdir(yaml_dir) - if os.path.isfile(os.path.join(yaml_dir, i))] + files = [ + os.path.join(yaml_dir, i) + for i in os.listdir(yaml_dir) + if os.path.isfile(os.path.join(yaml_dir, i)) + ] if not files: - raise ValueError( - '`yaml_dir` contains no files') + raise ValueError("`yaml_dir` contains no files") failures = [] k8s_objects_all = [] for file in files: try: - k8s_objects = create_from_yaml(k8s_client, file, - verbose=verbose, - namespace=namespace, - **kwargs) + k8s_objects = create_from_yaml( + k8s_client, + file, + verbose=verbose, + namespace=namespace, + apply=apply, + **kwargs, + ) k8s_objects_all.append(k8s_objects) except FailToCreateError as failure: failures.extend(failure.api_exceptions) @@ -95,12 +97,14 @@ def create_from_directory( def create_from_yaml( - k8s_client, - yaml_file=None, - yaml_objects=None, - verbose=False, - namespace="default", - **kwargs): + k8s_client, + yaml_file=None, + yaml_objects=None, + verbose=False, + namespace="default", + apply=False, + **kwargs, +): """ Perform an action from a yaml file. Pass True for verbose to print confirmation information. @@ -116,6 +120,7 @@ def create_from_yaml( the resource creation will fail. If the API object in the yaml file already contains a namespace definition this parameter has no effect. + apply: bool. If True, use server-side apply for creating resources. Available parameters for creating : :param async_req bool @@ -136,16 +141,21 @@ def create_from_yaml( instances for each object that failed to create. """ - def create_with(objects): + def create_with(objects, apply=apply): failures = [] k8s_objects = [] for yml_document in objects: if yml_document is None: continue try: - created = create_from_dict(k8s_client, yml_document, verbose, - namespace=namespace, - **kwargs) + created = create_from_dict( + k8s_client, + yml_document, + verbose, + namespace=namespace, + apply=apply, + **kwargs, + ) k8s_objects.append(created) except FailToCreateError as failure: failures.extend(failure.api_exceptions) @@ -164,14 +174,16 @@ def create_from_yaml( elif yaml_file: with open(os.path.abspath(yaml_file)) as f: yml_document_all = yaml.load_all(f, Loader=Loader) - return create_with(yml_document_all) + return create_with(yml_document_all, apply) else: raise ValueError( - 'One of `yaml_file` or `yaml_objects` arguments must be provided') + "One of `yaml_file` or `yaml_objects` arguments must be provided" + ) -def create_from_dict(k8s_client, data, verbose=False, namespace='default', - **kwargs): +def create_from_dict( + k8s_client, data, verbose=False, namespace="default", apply=False, **kwargs +): """ Perform an action from a dictionary containing valid kubernetes API object (i.e. List, Service, etc). @@ -186,6 +198,7 @@ def create_from_dict(k8s_client, data, verbose=False, namespace='default', the resource creation will fail. If the API object in the yaml file already contains a namespace definition this parameter has no effect. + apply: bool. If True, use server-side apply for creating resources. Returns: The created kubernetes API objects. @@ -210,8 +223,13 @@ def create_from_dict(k8s_client, data, verbose=False, namespace='default', yml_object["kind"] = kind try: created = create_from_yaml_single_item( - k8s_client, yml_object, verbose, namespace=namespace, - **kwargs) + k8s_client, + yml_object, + verbose, + namespace=namespace, + apply=apply, + **kwargs, + ) k8s_objects.append(created) except client.rest.ApiException as api_exception: api_exceptions.append(api_exception) @@ -219,7 +237,8 @@ def create_from_dict(k8s_client, data, verbose=False, namespace='default', # This is a single object. Call the single item method try: created = create_from_yaml_single_item( - k8s_client, data, verbose, namespace=namespace, **kwargs) + k8s_client, data, verbose, namespace=namespace, apply=apply, **kwargs + ) k8s_objects.append(created) except client.rest.ApiException as api_exception: api_exceptions.append(api_exception) @@ -232,7 +251,23 @@ def create_from_dict(k8s_client, data, verbose=False, namespace='default', def create_from_yaml_single_item( - k8s_client, yml_object, verbose=False, **kwargs): + k8s_client, yml_object, verbose=False, apply=False, **kwargs +): + + kind = yml_object["kind"] + if apply is True: + apply_client = DynamicClient(k8s_client).resources.get( + api_version=yml_object["apiVersion"], kind=kind + ) + resp = apply_client.server_side_apply( + body=yml_object, field_manager="python-client", **kwargs + ) + if verbose: + msg = "{0} created.".format(kind) + if hasattr(resp, "status"): + msg += " status='{0}'".format(str(resp.status)) + print(msg) + return resp group, _, version = yml_object["apiVersion"].partition("/") if version == "": version = group @@ -242,29 +277,30 @@ def create_from_yaml_single_item( group = "".join(group.rsplit(".k8s.io", 1)) # convert group name from DNS subdomain format to # python class name convention - group = "".join(word.capitalize() for word in group.split('.')) + group = "".join(word.capitalize() for word in group.split(".")) fcn_to_call = "{0}{1}Api".format(group, version.capitalize()) k8s_api = getattr(client, fcn_to_call)(k8s_client) # Replace CamelCased action_type into snake_case - kind = yml_object["kind"] - kind = UPPER_FOLLOWED_BY_LOWER_RE.sub(r'\1_\2', kind) - kind = LOWER_OR_NUM_FOLLOWED_BY_UPPER_RE.sub(r'\1_\2', kind).lower() + kind = UPPER_FOLLOWED_BY_LOWER_RE.sub(r"\1_\2", kind) + kind = LOWER_OR_NUM_FOLLOWED_BY_UPPER_RE.sub(r"\1_\2", kind).lower() # Expect the user to create namespaced objects more often if hasattr(k8s_api, "create_namespaced_{0}".format(kind)): # Decide which namespace we are going to put the object in, # if any if "namespace" in yml_object["metadata"]: namespace = yml_object["metadata"]["namespace"] - kwargs['namespace'] = namespace + kwargs["namespace"] = namespace resp = getattr(k8s_api, "create_namespaced_{0}".format(kind))( - body=yml_object, **kwargs) + body=yml_object, **kwargs + ) else: - kwargs.pop('namespace', None) + kwargs.pop("namespace", None) resp = getattr(k8s_api, "create_{0}".format(kind))( - body=yml_object, **kwargs) + body=yml_object, **kwargs + ) if verbose: msg = "{0} created.".format(kind) - if hasattr(resp, 'status'): + if hasattr(resp, "status"): msg += " status='{0}'".format(str(resp.status)) print(msg) return resp @@ -283,5 +319,6 @@ class FailToCreateError(Exception): msg = "" for api_exception in self.api_exceptions: msg += "Error from server ({0}): {1}".format( - api_exception.reason, api_exception.body) + api_exception.reason, api_exception.body + ) return msg From dac8a5c7a5147643cbdf900ffbf20e6cce17f0ce Mon Sep 17 00:00:00 2001 From: Kavish Dahekar Date: Tue, 27 Aug 2024 13:21:57 +0200 Subject: [PATCH 02/20] Update kube_config_test.py fix missing method invocation --- kubernetes/base/config/kube_config_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/base/config/kube_config_test.py b/kubernetes/base/config/kube_config_test.py index f5ea181d0..ca512ad6c 100644 --- a/kubernetes/base/config/kube_config_test.py +++ b/kubernetes/base/config/kube_config_test.py @@ -1396,7 +1396,7 @@ class TestKubeConfigLoader(BaseTestCase): temp_file_path=tmp_path) self.assertFalse(True if not os.listdir(tmp_path) else False) self.assertEqual(expected, actual) - _cleanup_temp_files + _cleanup_temp_files() def test_load_kube_config_from_empty_file_like_object(self): config_file_like_object = io.StringIO() From f27644d1e3ad238366a7d23f9398e2f283b49ae2 Mon Sep 17 00:00:00 2001 From: yliao Date: Thu, 29 Aug 2024 21:24:46 +0000 Subject: [PATCH 03/20] update version constants for 31.0.0+snapshot release --- scripts/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index 16d1d409f..93b0223e5 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -15,10 +15,10 @@ import sys # Kubernetes branch to get the OpenAPI spec from. -KUBERNETES_BRANCH = "release-1.30" +KUBERNETES_BRANCH = "release-1.31" # client version for packaging and releasing. -CLIENT_VERSION = "30.0.0+snapshot" +CLIENT_VERSION = "31.0.0+snapshot" # Name of the release package PACKAGE_NAME = "kubernetes" From b9ef244471e0ca5458a114706a17dee37b451dc7 Mon Sep 17 00:00:00 2001 From: yliao Date: Thu, 29 Aug 2024 21:24:46 +0000 Subject: [PATCH 04/20] update changelog --- CHANGELOG.md | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 165 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a60d600e..cff67e175 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,168 @@ +# v31.0.0+snapshot + +Kubernetes API Version: v1.31.0 + +### API Change +- 'ACTION REQUIRED: The Dynamic Resource Allocation (DRA) driver's DaemonSet + must be deployed with a service account that enables writing ResourceSlice + and reading ResourceClaim objects.' + ([kubernetes/kubernetes#125163](https://github.com/kubernetes/kubernetes/pull/125163), [@pohly](https://github.com/pohly)) [SIG Auth, Node and Testing] +- Add UserNamespaces field to NodeRuntimeHandlerFeatures ([kubernetes/kubernetes#126034](https://github.com/kubernetes/kubernetes/pull/126034), [@sohankunkerkar](https://github.com/sohankunkerkar)) [SIG API Machinery, Apps and Node] +- Added Coordinated Leader Election as Alpha under the `CoordinatedLeaderElection` feature gate. With the feature enabled, the control plane can use LeaseCandidate objects (coordination.k8s.io/v1alpha1 API group) to participate in a leader election and let the kube-apiserver select the best instance according to some strategy. ([kubernetes/kubernetes#124012](https://github.com/kubernetes/kubernetes/pull/124012), [@Jefftree](https://github.com/Jefftree)) [SIG API Machinery, Apps, Auth, Cloud Provider, Etcd, Node, Release, Scheduling and Testing] +- Added a `.status.features.supplementalGroupsPolicy` field to Nodes. The field is true when the feature is implemented in the CRI implementation (KEP-3619). ([kubernetes/kubernetes#125470](https://github.com/kubernetes/kubernetes/pull/125470), [@everpeace](https://github.com/everpeace)) [SIG API Machinery, Apps, Node and Testing] +- Added an `allocatedResourcesStatus` to each container status to indicate the health status of devices exposed by the device plugin. ([kubernetes/kubernetes#126243](https://github.com/kubernetes/kubernetes/pull/126243), [@SergeyKanzhelev](https://github.com/SergeyKanzhelev)) [SIG API Machinery, Apps, Node and Testing] +- Added support to the kube-proxy nodePortAddresses / --nodeport-addresses option to + accept the value "primary", meaning to only listen for NodePort connections + on the node's primary IPv4 and/or IPv6 address (according to the Node object). + This is strongly recommended, if you were not previously using + --nodeport-addresses, to avoid surprising behavior. + (This behavior is enabled by default with the nftables backend; you would + need to explicitly request `--nodeport-addresses 0.0.0.0/0,::/0` there to get + the traditional "listen on all interfaces" behavior.) ([kubernetes/kubernetes#123105](https://github.com/kubernetes/kubernetes/pull/123105), [@danwinship](https://github.com/danwinship)) [SIG API Machinery, Network and Windows] +- Added the feature gates `StrictCostEnforcementForVAP` and `StrictCostEnforcementForWebhooks` to enforce the strict cost calculation for CEL extended libraries. It is strongly recommended to turn on the feature gates as early as possible. ([kubernetes/kubernetes#124675](https://github.com/kubernetes/kubernetes/pull/124675), [@cici37](https://github.com/cici37)) [SIG API Machinery, Auth, Node and Testing] +- Changed how the API server handles updates to `.spec.defaultBackend` of Ingress objects. + Server-side apply now considers `.spec.defaultBackend` to be an atomic struct. This means that any field-owner who sets values in that struct (they are mutually exclusive) owns the whole struct. For almost all users this change has no impact; for controllers that want to change the default backend port from number to name (or vice-versa), this makes it easier. ([kubernetes/kubernetes#126207](https://github.com/kubernetes/kubernetes/pull/126207), [@thockin](https://github.com/thockin)) [SIG API Machinery] +- Component-base/logs: when compiled with Go >= 1.21, component-base will automatically configure the slog default logger together with initializing klog. ([kubernetes/kubernetes#120696](https://github.com/kubernetes/kubernetes/pull/120696), [@pohly](https://github.com/pohly)) [SIG API Machinery, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Instrumentation, Network, Storage and Testing] +- CustomResourceDefinition objects created with non-empty `caBundle` fields which are invalid or do not contain any certificates will not appear in discovery or serve endpoints until a valid `caBundle` is provided. Updates to CustomResourceDefinition are no longer allowed to transition a valid `caBundle` field to an invalid `caBundle` field, because this breaks serving of the existing CustomResourceDefinition. ([kubernetes/kubernetes#124061](https://github.com/kubernetes/kubernetes/pull/124061), [@Jefftree](https://github.com/Jefftree)) [SIG API Machinery] +- Dynamic Resource Allocation (DRA): Added a feature so the number of ResourceClaim objects can be limited per namespace and by the number of devices requested through a specific class via the v1.ResourceQuota mechanism. ([kubernetes/kubernetes#120611](https://github.com/kubernetes/kubernetes/pull/120611), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, CLI, Etcd, Node, Release, Scheduling and Testing] +- Dynamic Resource Allocation (DRA): client-side validation of a ResourceHandle would have accepted a missing DriverName, whereas server-side validation then would have raised an error. ([kubernetes/kubernetes#124075](https://github.com/kubernetes/kubernetes/pull/124075), [@pohly](https://github.com/pohly)) +- Dynamic Resource Allocation (DRA): in the `pod.spec.recourceClaims` array, the `source` indirection is no longer necessary. Instead of e.g. `source: resourceClaimTemplateName: my-template`, one can write `resourceClaimTemplateName: my-template`. ([kubernetes/kubernetes#125116](https://github.com/kubernetes/kubernetes/pull/125116), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, Node, Scheduling and Testing] +- Enhanced the Dynamic Resource Allocation (DRA) with an updated version of the resource.k8s.io API group. The primary user-facing type remains the ResourceClaim, however significant changes have been made, resulting in the new version, v1alpha3, which is not compatible with the previous version. ([kubernetes/kubernetes#125488](https://github.com/kubernetes/kubernetes/pull/125488), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, CLI, Cluster Lifecycle, Etcd, Node, Release, Scheduling, Storage and Testing] +- Fixed a 1.30.0 regression in OpenAPI descriptions of the `imagePullSecrets` and + `hostAliases` fields to mark the fields used as keys in those lists as either defaulted + or required. ([kubernetes/kubernetes#124553](https://github.com/kubernetes/kubernetes/pull/124553), [@pmalek](https://github.com/pmalek)) +- Fixed a 1.30.0 regression in openapi descriptions of `PodIP.IP` and `HostIP.IP` fields to mark the fields used as keys in those lists as required. ([kubernetes/kubernetes#126057](https://github.com/kubernetes/kubernetes/pull/126057), [@thockin](https://github.com/thockin)) +- Fixed a bug in the API server where empty collections of ValidatingAdmissionPolicies did not have an `items` field. ([kubernetes/kubernetes#124568](https://github.com/kubernetes/kubernetes/pull/124568), [@xyz-li](https://github.com/xyz-li)) [SIG API Machinery] +- Fixed a deep copy issue when retrieving the controller reference. ([kubernetes/kubernetes#124116](https://github.com/kubernetes/kubernetes/pull/124116), [@HiranmoyChowdhury](https://github.com/HiranmoyChowdhury)) [SIG API Machinery and Release] +- Fixed code-generator client-gen to work with `api/v1`-like package structure. ([kubernetes/kubernetes#125162](https://github.com/kubernetes/kubernetes/pull/125162), [@sttts](https://github.com/sttts)) [SIG API Machinery and Apps] +- Fixed incorrect "v1 Binding is deprecated in v1.6+" warning in kube-scheduler log. ([kubernetes/kubernetes#125540](https://github.com/kubernetes/kubernetes/pull/125540), [@pohly](https://github.com/pohly)) [SIG API Machinery] +- Fixed the comment for the Job's managedBy field. ([kubernetes/kubernetes#124793](https://github.com/kubernetes/kubernetes/pull/124793), [@mimowo](https://github.com/mimowo)) [SIG API Machinery and Apps] +- Fixed the documentation for the default value of the `procMount` entry in `securityContext` within a Pod. + The documentation was previously using the name of the internal variable `DefaultProcMount`, rather than the actual value, "Default". ([kubernetes/kubernetes#125782](https://github.com/kubernetes/kubernetes/pull/125782), [@aborrero](https://github.com/aborrero)) [SIG Apps and Node] +- Graduate PodDisruptionConditions to GA and lock ([kubernetes/kubernetes#125461](https://github.com/kubernetes/kubernetes/pull/125461), [@mimowo](https://github.com/mimowo)) [SIG Apps, Node, Scheduling and Testing] +- Graduated MatchLabelKeys/MismatchLabelKeys feature in PodAffinity/PodAntiAffinity to Beta. ([kubernetes/kubernetes#123638](https://github.com/kubernetes/kubernetes/pull/123638), [@sanposhiho](https://github.com/sanposhiho)) [SIG API Machinery, Apps, Scheduling and Testing] +- Graduated `JobPodFailurePolicy` to GA and locked it to it's default. ([kubernetes/kubernetes#125442](https://github.com/kubernetes/kubernetes/pull/125442), [@mimowo](https://github.com/mimowo)) [SIG API Machinery, Apps, Scheduling and Testing] +- Graduated the Job `successPolicy` field to beta. + + The new reason label, "SuccessPolicy" and "CompletionsReached" are added to the "jobs_finished_total" metric. + Additionally, if you enable the `JobSuccessPolicy` feature gate, the Job gets "CompletionsReached" reason for the "SuccessCriteriaMet" and "Complete" condition type + when the number of succeeded Job Pods (`.status.succeeded`) reached the desired completions (`.spec.completions`). ([kubernetes/kubernetes#126067](https://github.com/kubernetes/kubernetes/pull/126067), [@tenzen-y](https://github.com/tenzen-y)) [SIG API Machinery, Apps and Testing] +- Graduated the `DisableNodeKubeProxyVersion` feature gate to beta. By default, the kubelet no longer attempts to set the `.status.kubeProxyVersion` field for its associated Node. ([kubernetes/kubernetes#123845](https://github.com/kubernetes/kubernetes/pull/123845), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG API Machinery, Cloud Provider, Network, Node and Testing] +- Improved scheduling performance when many nodes, and prefilter returned 1-2 nodes (e.g. daemonset) + + For developers of out-of-tree PostFilter plugins, note that the semantics of NodeToStatusMap are changing: A node with an absent value in the NodeToStatusMap should be interpreted as having an UnschedulableAndUnresolvable status. ([kubernetes/kubernetes#125197](https://github.com/kubernetes/kubernetes/pull/125197), [@gabesaba](https://github.com/gabesaba)) +- Introduced a new boolean kubelet flag `--fail-cgroupv1`. ([kubernetes/kubernetes#126031](https://github.com/kubernetes/kubernetes/pull/126031), [@harche](https://github.com/harche)) [SIG API Machinery and Node] +- K8s.io/apimachinery/pkg/util/runtime: Added support for new calls to handle panics and errors in the context where they occur. `PanicHandlers` and `ErrorHandlers` now must accept a context parameter for that. Log output is structured instead of unstructured. ([kubernetes/kubernetes#121970](https://github.com/kubernetes/kubernetes/pull/121970), [@pohly](https://github.com/pohly)) [SIG API Machinery and Instrumentation] +- KEP-1880: Users of the new feature to add multiple service CIDR will use by default a dual-write strategy on the new ClusterIP allocators to avoid the problem of possible duplicate IPs allocated to Services when running skewed kube-apiservers using different allocators. They can opt-out of this behavior by enabled the feature gate DisableAllocatorDualWrite. ([kubernetes/kubernetes#122047](https://github.com/kubernetes/kubernetes/pull/122047), [@aojea](https://github.com/aojea)) [SIG API Machinery, Apps, Instrumentation and Testing] +- Kube-apiserver: Added Alpha features to allow API server authz to check the context of requests: + - The `AuthorizeWithSelectors` feature gate enables including field and label selector information from requests in webhook authorization calls. + - The `AuthorizeNodeWithSelectors` feature gate changes node authorizer behavior to limit requests from node API clients, so that each Node can only get / list / watch its own Node API object, and can also only get / list / watch Pod API objects bound to that node. Clients using kubelet credentials to read other nodes or unrelated pods must change their authentication credentials (recommended), adjust their usage, or obtain broader read access independent of the node authorizer. ([kubernetes/kubernetes#125571](https://github.com/kubernetes/kubernetes/pull/125571), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Auth, Node, Scheduling and Testing] +- Kube-apiserver: ControllerRevision objects are now verified to contain valid JSON data in the `data` field. ([kubernetes/kubernetes#125549](https://github.com/kubernetes/kubernetes/pull/125549), [@liggitt](https://github.com/liggitt)) [SIG API Machinery and Apps] +- Kube-apiserver: the `--encryption-provider-config` file is now loaded with strict deserialization, which fails if the config file contains duplicate or unknown fields. This protects against accidentally running with config files that are malformed, mis-indented, or have typos in field names, and getting unexpected behavior. When `--encryption-provider-config-automatic-reload` is used, new encryption config files that contain typos after the kube-apiserver is running are treated as invalid and the last valid config is used. ([kubernetes/kubernetes#124912](https://github.com/kubernetes/kubernetes/pull/124912), [@enj](https://github.com/enj)) [SIG API Machinery and Auth] +- Kube-controller-manager: the `horizontal-pod-autoscaler-upscale-delay` and `horizontal-pod-autoscaler-downscale-delay` flags have been removed (deprecated and non-functional since v1.12). ([kubernetes/kubernetes#124948](https://github.com/kubernetes/kubernetes/pull/124948), [@SataQiu](https://github.com/SataQiu)) [SIG API Machinery, Apps and Autoscaling] +- Made kube-proxy Windows service control manager integration (`--windows-service`) configurable in v1alpha1 component configuration via `windowsRunAsService` field. ([kubernetes/kubernetes#126072](https://github.com/kubernetes/kubernetes/pull/126072), [@aroradaman](https://github.com/aroradaman)) [SIG Network and Scalability] +- PersistentVolumeLastPhaseTransitionTime feature is stable and enabled by default. ([kubernetes/kubernetes#124969](https://github.com/kubernetes/kubernetes/pull/124969), [@RomanBednar](https://github.com/RomanBednar)) [SIG API Machinery, Apps, Storage and Testing] +- Promoted `LocalStorageCapacityIsolation` to beta; the behaviour is enabled by default. Within the kubelet, storage capacity isolation is active if the feature gate is enabled and the specific Pod is using a user namespace. ([kubernetes/kubernetes#126014](https://github.com/kubernetes/kubernetes/pull/126014), [@PannagaRao](https://github.com/PannagaRao)) [SIG Apps, Autoscaling, Node, Storage and Testing] +- Promoted `StatefulSetStartOrdinal` to stable. This means `--feature-gates=StatefulSetStartOrdinal=true` are not needed on kube-apiserver and kube-controller-manager binaries and they'll be removed soon following policy at https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecation. ([kubernetes/kubernetes#125374](https://github.com/kubernetes/kubernetes/pull/125374), [@pwschuurman](https://github.com/pwschuurman)) [SIG API Machinery, Apps and Testing] +- Promoted feature-gate `VolumeAttributesClass` to beta (disabled by default). Users need to enable the feature gate and the `storage.k8s.io/v1beta1` API group to use this feature. + Promoted the VolumeAttributesClass API to beta. ([kubernetes/kubernetes#126145](https://github.com/kubernetes/kubernetes/pull/126145), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps, CLI, Etcd, Storage and Testing] +- Removed deprecated command flags --volume-host-cidr-denylist + and --volume-host-allow-local-loopback from kube-controller-manager. + ([kubernetes/kubernetes#124017](https://github.com/kubernetes/kubernetes/pull/124017), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps, Cloud Provider and Storage] +- Removed feature gate `CustomResourceValidationExpressions`. ([kubernetes/kubernetes#126136](https://github.com/kubernetes/kubernetes/pull/126136), [@cici37](https://github.com/cici37)) [SIG API Machinery, Cloud Provider and Testing] +- Reverted a [change](https://github.com/kubernetes/kubernetes/pull/123513) where `ConsistentListFromCache` was moved to beta and enabled by default. ([kubernetes/kubernetes#126139](https://github.com/kubernetes/kubernetes/pull/126139), [@enj](https://github.com/enj)) +- Revised the Pod API with Alpha support for volumes derived from OCI artifacts. This feature is behind the `ImageVolume` feature gate. ([kubernetes/kubernetes#125660](https://github.com/kubernetes/kubernetes/pull/125660), [@saschagrunert](https://github.com/saschagrunert)) [SIG API Machinery, Apps and Node] +- Supported fine-grained supplemental groups policy (KEP-3619), which enabled + fine-grained control for supplementary groups in the first container processes. + This allows you to choose whether to include groups defined in the container image (/etc/groups) + for the container's primary UID or not. ([kubernetes/kubernetes#117842](https://github.com/kubernetes/kubernetes/pull/117842), [@everpeace](https://github.com/everpeace)) [SIG API Machinery, Apps and Node] +- The (alpha) nftables mode of kube-proxy now requires version 1.0.1 or later + of the nft command-line, and kernel 5.13 or later. (For testing/development + purposes, you can use older kernels, as far back as 5.4, if you set the + `nftables.skipKernelVersionCheck` option in the kube-proxy config, but this is not + recommended in production since it may cause problems with other nftables + users on the system.) ([kubernetes/kubernetes#124152](https://github.com/kubernetes/kubernetes/pull/124152), [@danwinship](https://github.com/danwinship)) [SIG Network] +- To enhance usability and developer experience, CRD validation rules now support direct use of (CEL) reserved keywords as field names in object validation expressions for existing expressions in storage, will fully support runtime in next release for compatibility concern. ([kubernetes/kubernetes#126188](https://github.com/kubernetes/kubernetes/pull/126188), [@cici37](https://github.com/cici37)) [SIG API Machinery and Testing] +- Updated the feature MultiCIDRServiceAllocator to beta (disabled by default). Users need to enable the feature gate and the networking v1beta1 group to be able to use this new feature, that allows to dynamically reconfigure Service CIDR ranges. ([kubernetes/kubernetes#125021](https://github.com/kubernetes/kubernetes/pull/125021), [@aojea](https://github.com/aojea)) [SIG API Machinery, Apps, CLI, Etcd, Instrumentation, Network and Testing] +- Use omitempty for optional Job Pod Failure Policy fields. ([kubernetes/kubernetes#126046](https://github.com/kubernetes/kubernetes/pull/126046), [@mimowo](https://github.com/mimowo)) +- User can choose a different static policy option `SpreadPhysicalCPUsPreferredOption` to spread cpus across physical cpus for some specific applications ([kubernetes/kubernetes#123733](https://github.com/kubernetes/kubernetes/pull/123733), [@Jeffwan](https://github.com/Jeffwan)) [SIG Node] +- When the featuregate AnonymousAuthConfigurableEndpoints is enabled users can update the AuthenticationConfig file with endpoints for with anonymous requests are alllowed. ([kubernetes/kubernetes#124917](https://github.com/kubernetes/kubernetes/pull/124917), [@vinayakankugoyal](https://github.com/vinayakankugoyal)) [SIG API Machinery, Auth, Cloud Provider, Node and Testing] +- Move ConsistentListFromCache feature flag to Beta and enable it by default ([kubernetes/kubernetes#126469](https://github.com/kubernetes/kubernetes/pull/126469), [@serathius](https://github.com/serathius)) [SIG API Machinery] +- Add Coordinated Leader Election as alpha under the CoordinatedLeaderElection feature gate. With the feature enabled, the control plane can use LeaseCandidate objects (coordination.k8s.io/v1alpha1 API group) to participate in a leader election and let the kube-apiserver select the best instance according to some strategy. ([kubernetes/kubernetes#124012](https://github.com/kubernetes/kubernetes/pull/124012), [@Jefftree](https://github.com/Jefftree)) [SIG API Machinery, Apps, Auth, Cloud Provider, Etcd, Node, Release, Scheduling and Testing] +- Add an AllocatedResourcesStatus to each container status to indicate the health status of devices exposed by the device plugin. ([kubernetes/kubernetes#126243](https://github.com/kubernetes/kubernetes/pull/126243), [@SergeyKanzhelev](https://github.com/SergeyKanzhelev)) [SIG API Machinery, Apps, Node and Testing] +- Added Node.Status.Features.SupplementalGroupsPolicy field which is set to true when the feature is implemented in the CRI implementation (KEP-3619) ([kubernetes/kubernetes#125470](https://github.com/kubernetes/kubernetes/pull/125470), [@everpeace](https://github.com/everpeace)) [SIG API Machinery, Apps, Node and Testing] +- CustomResourceDefinition objects created with non-empty `caBundle` fields which are invalid or do not contain any certificates will not appear in discovery or serve endpoints until a valid `caBundle` is provided. Updates to CustomResourceDefinition are no longer allowed to transition a valid `caBundle` field to an invalid `caBundle` field. ([kubernetes/kubernetes#124061](https://github.com/kubernetes/kubernetes/pull/124061), [@Jefftree](https://github.com/Jefftree)) [SIG API Machinery] +- DRA: The DRA driver's daemonset must be deployed with a service account that enables writing ResourceSlice and reading ResourceClaim objects. ([kubernetes/kubernetes#125163](https://github.com/kubernetes/kubernetes/pull/125163), [@pohly](https://github.com/pohly)) [SIG Auth, Node and Testing] +- DRA: new API and several new features ([kubernetes/kubernetes#125488](https://github.com/kubernetes/kubernetes/pull/125488), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, CLI, Cluster Lifecycle, Etcd, Node, Release, Scheduling, Storage and Testing] +- DRA: the number of ResourceClaim objects can be limited per namespace and by the number of devices requested through a specific class via the v1.ResourceQuota mechanism. ([kubernetes/kubernetes#120611](https://github.com/kubernetes/kubernetes/pull/120611), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, CLI, Etcd, Node, Release, Scheduling and Testing] +- Fix the documentation for the default value of the procMount entry in the pod securityContext. + The documentation was previously using the name of the internal variable 'DefaultProcMount' rather than the actual value 'Default'. ([kubernetes/kubernetes#125782](https://github.com/kubernetes/kubernetes/pull/125782), [@aborrero](https://github.com/aborrero)) [SIG Apps and Node] +- Fixed a bug in the API server where empty collections of ValidatingAdmissionPolicies did not have an `items` field. ([kubernetes/kubernetes#124568](https://github.com/kubernetes/kubernetes/pull/124568), [@xyz-li](https://github.com/xyz-li)) [SIG API Machinery] +- Graduate the Job SuccessPolicy to Beta. + + The new reason label, "SuccessPolicy" and "CompletionsReached" are added to the "jobs_finished_total" metric. + Additionally, If we enable the "JobSuccessPolicy" feature gate, the Job gets "CompletionsReached" reason for the "SuccessCriteriaMet" and "Complete" condition type + when the number of succeeded Job Pods (".status.succeeded") reached the desired completions (".spec.completions"). ([kubernetes/kubernetes#126067](https://github.com/kubernetes/kubernetes/pull/126067), [@tenzen-y](https://github.com/tenzen-y)) [SIG API Machinery, Apps and Testing] +- Introduce a new boolean kubelet flag --fail-cgroupv1 ([kubernetes/kubernetes#126031](https://github.com/kubernetes/kubernetes/pull/126031), [@harche](https://github.com/harche)) [SIG API Machinery and Node] +- Kube-apiserver: adds an alpha AuthorizeWithSelectors feature that includes field and label selector information from requests in webhook authorization calls; adds an alpha AuthorizeNodeWithSelectors feature that makes the node authorizer limit requests from node API clients to get / list / watch its own Node API object, and to get / list / watch its own Pod API objects. Clients using kubelet credentials to read other nodes or unrelated pods must change their authentication credentials (recommended), adjust their usage, or grant broader read access independent of the node authorizer. ([kubernetes/kubernetes#125571](https://github.com/kubernetes/kubernetes/pull/125571), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Auth, Node, Scheduling and Testing] +- Kube-proxy Windows service control manager integration(--windows-service) is now configurable in v1alpha1 component configuration via `WindowsRunAsService` field ([kubernetes/kubernetes#126072](https://github.com/kubernetes/kubernetes/pull/126072), [@aroradaman](https://github.com/aroradaman)) [SIG Network and Scalability] +- Promote LocalStorageCapacityIsolation to beta and enable if user namespace is enabled for the pod ([kubernetes/kubernetes#126014](https://github.com/kubernetes/kubernetes/pull/126014), [@PannagaRao](https://github.com/PannagaRao)) [SIG Apps, Autoscaling, Node, Storage and Testing] +- Promote StatefulSetStartOrdinal to stable. This means `--feature-gates=StatefulSetStartOrdinal=true` are not needed on kube-apiserver and kube-controller-manager binaries and they'll be removed soon following policy at https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecation ([kubernetes/kubernetes#125374](https://github.com/kubernetes/kubernetes/pull/125374), [@pwschuurman](https://github.com/pwschuurman)) [SIG API Machinery, Apps and Testing] +- Promoted feature-gate `VolumeAttributesClass` to beta (disabled by default). Users need to enable the feature gate and the storage v1beta1 group to use this new feature. + - Promoted API `VolumeAttributesClass` and `VolumeAttributesClassList` to `storage.k8s.io/v1beta1`. ([kubernetes/kubernetes#126145](https://github.com/kubernetes/kubernetes/pull/126145), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps, CLI, Etcd, Storage and Testing] +- Removed feature gate `CustomResourceValidationExpressions`. ([kubernetes/kubernetes#126136](https://github.com/kubernetes/kubernetes/pull/126136), [@cici37](https://github.com/cici37)) [SIG API Machinery, Cloud Provider and Testing] +- Revert "Move ConsistentListFromCache feature flag to Beta and enable it by default" ([kubernetes/kubernetes#126139](https://github.com/kubernetes/kubernetes/pull/126139), [@enj](https://github.com/enj)) [SIG API Machinery] +- Revised the Pod API with alpha support for volumes derived from OCI artefacts. + This feature is behind the `ImageVolume` feature gate. ([kubernetes/kubernetes#125660](https://github.com/kubernetes/kubernetes/pull/125660), [@saschagrunert](https://github.com/saschagrunert)) [SIG API Machinery, Apps and Node] +- The Ingress.spec.defaultBackend is now considered an atomic struct for the purposes of server-side-apply. This means that any field-owner who sets values in that struct (they are mutually exclusive) owns the whole struct. For almost all users this change has no impact. For controllers which want to change port from number to name (or vice-versa), this makes it easier. ([kubernetes/kubernetes#126207](https://github.com/kubernetes/kubernetes/pull/126207), [@thockin](https://github.com/thockin)) [SIG API Machinery] +- To enhance usability and developer experience, CRD validation rules now support direct use of (CEL) reserved keywords as field names in object validation expressions for existing expressions in storage, will fully support runtime in next release for compatibility concern. ([kubernetes/kubernetes#126188](https://github.com/kubernetes/kubernetes/pull/126188), [@cici37](https://github.com/cici37)) [SIG API Machinery and Testing] +- Add UserNamespaces field to NodeRuntimeHandlerFeatures ([kubernetes/kubernetes#126034](https://github.com/kubernetes/kubernetes/pull/126034), [@sohankunkerkar](https://github.com/sohankunkerkar)) [SIG API Machinery, Apps and Node] +- Fixes a 1.30.0 regression in openapi descriptions of PodIP.IP and HostIP.IP fields to mark the fields used as keys in those lists as required. ([kubernetes/kubernetes#126057](https://github.com/kubernetes/kubernetes/pull/126057), [@thockin](https://github.com/thockin)) [SIG API Machinery] +- Graduate JobPodFailurePolicy to GA and lock ([kubernetes/kubernetes#125442](https://github.com/kubernetes/kubernetes/pull/125442), [@mimowo](https://github.com/mimowo)) [SIG API Machinery, Apps, Scheduling and Testing] +- Graduate PodDisruptionConditions to GA and lock ([kubernetes/kubernetes#125461](https://github.com/kubernetes/kubernetes/pull/125461), [@mimowo](https://github.com/mimowo)) [SIG Apps, Node, Scheduling and Testing] +- PersistentVolumeLastPhaseTransitionTime feature is stable and enabled by default. ([kubernetes/kubernetes#124969](https://github.com/kubernetes/kubernetes/pull/124969), [@RomanBednar](https://github.com/RomanBednar)) [SIG API Machinery, Apps, Storage and Testing] +- The (alpha) nftables mode of kube-proxy now requires version 1.0.1 or later + of the nft command-line, and kernel 5.13 or later. (For testing/development + purposes, you can use older kernels, as far back as 5.4, if you set the + `nftables.skipKernelVersionCheck` option in the kube-proxy config, but this is not + recommended in production since it may cause problems with other nftables + users on the system.) ([kubernetes/kubernetes#124152](https://github.com/kubernetes/kubernetes/pull/124152), [@danwinship](https://github.com/danwinship)) [SIG Network] +- Use omitempty for optional Job Pod Failure Policy fields ([kubernetes/kubernetes#126046](https://github.com/kubernetes/kubernetes/pull/126046), [@mimowo](https://github.com/mimowo)) [SIG Apps] +- User can choose a different static policy option `SpreadPhysicalCPUsPreferredOption` to spread cpus across physical cpus for some specific applications ([kubernetes/kubernetes#123733](https://github.com/kubernetes/kubernetes/pull/123733), [@Jeffwan](https://github.com/Jeffwan)) [SIG Node] +- DRA: in the `pod.spec.recourceClaims` array, the `source` indirection is no longer necessary. Instead of e.g. `source: resourceClaimTemplateName: my-template`, one can write `resourceClaimTemplateName: my-template`. ([kubernetes/kubernetes#125116](https://github.com/kubernetes/kubernetes/pull/125116), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Auth, Node, Scheduling and Testing] +- Fix code-generator client-gen to work with `api/v1`-like package structure. ([kubernetes/kubernetes#125162](https://github.com/kubernetes/kubernetes/pull/125162), [@sttts](https://github.com/sttts)) [SIG API Machinery and Apps] +- KEP-1880: Users of the new feature to add multiple service CIDR will use by default a dual-write strategy on the new ClusterIP allocators to avoid the problem of possible duplicate IPs allocated to Services when running skewed kube-apiservers using different allocators. They can opt-out of this behavior by enabled the feature gate DisableAllocatorDualWrite ([kubernetes/kubernetes#122047](https://github.com/kubernetes/kubernetes/pull/122047), [@aojea](https://github.com/aojea)) [SIG API Machinery, Apps, Instrumentation and Testing] +- Kube-apiserver: ControllerRevision objects are now verified to contain valid JSON data in the `data` field. ([kubernetes/kubernetes#125549](https://github.com/kubernetes/kubernetes/pull/125549), [@liggitt](https://github.com/liggitt)) [SIG API Machinery and Apps] +- Update the feature MultiCIDRServiceAllocator to beta (disabled by default). Users need to enable the feature gate and the networking v1beta1 group to be able to use this new feature, that allows to dynamically reconfigure Service CIDR ranges. ([kubernetes/kubernetes#125021](https://github.com/kubernetes/kubernetes/pull/125021), [@aojea](https://github.com/aojea)) [SIG API Machinery, Apps, CLI, Etcd, Instrumentation, Network and Testing] +- When the featuregate AnonymousAuthConfigurableEndpoints is enabled users can update the AuthenticationConfig file with endpoints for with anonymous requests are alllowed. ([kubernetes/kubernetes#124917](https://github.com/kubernetes/kubernetes/pull/124917), [@vinayakankugoyal](https://github.com/vinayakankugoyal)) [SIG API Machinery, Auth, Cloud Provider, Node and Testing] +- Fixed incorrect "v1 Binding is deprecated in v1.6+" warning in kube-scheduler log. ([kubernetes/kubernetes#125540](https://github.com/kubernetes/kubernetes/pull/125540), [@pohly](https://github.com/pohly)) [SIG API Machinery] +- Added the feature gates `StrictCostEnforcementForVAP` and `StrictCostEnforcementForWebhooks` to enforce the strct cost calculation for CEL extended libraries. It is strongly recommended to turn on the feature gates as early as possible. ([kubernetes/kubernetes#124675](https://github.com/kubernetes/kubernetes/pull/124675), [@cici37](https://github.com/cici37)) [SIG API Machinery, Auth, Node and Testing] +- Component-base/logs: when compiled with Go >= 1.21, component-base will automatically configure the slog default logger together with initializing klog. ([kubernetes/kubernetes#120696](https://github.com/kubernetes/kubernetes/pull/120696), [@pohly](https://github.com/pohly)) [SIG API Machinery, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Instrumentation, Network, Storage and Testing] +- DRA: client-side validation of a ResourceHandle would have accepted a missing DriverName, whereas server-side validation then would have raised an error. ([kubernetes/kubernetes#124075](https://github.com/kubernetes/kubernetes/pull/124075), [@pohly](https://github.com/pohly)) [SIG Apps] +- Fix Deep Copy issue in getting controller reference ([kubernetes/kubernetes#124116](https://github.com/kubernetes/kubernetes/pull/124116), [@HiranmoyChowdhury](https://github.com/HiranmoyChowdhury)) [SIG API Machinery and Release] +- Fix the comment for the Job's managedBy field ([kubernetes/kubernetes#124793](https://github.com/kubernetes/kubernetes/pull/124793), [@mimowo](https://github.com/mimowo)) [SIG API Machinery and Apps] +- Fixes a 1.30.0 regression in openapi descriptions of imagePullSecrets and hostAliases fields to mark the fields used as keys in those lists as either defaulted or required. ([kubernetes/kubernetes#124553](https://github.com/kubernetes/kubernetes/pull/124553), [@pmalek](https://github.com/pmalek)) [SIG API Machinery] +- Graduate MatchLabelKeys/MismatchLabelKeys feature in PodAffinity/PodAntiAffinity to Beta ([kubernetes/kubernetes#123638](https://github.com/kubernetes/kubernetes/pull/123638), [@sanposhiho](https://github.com/sanposhiho)) [SIG API Machinery, Apps, Scheduling and Testing] +- Graduated the `DisableNodeKubeProxyVersion` feature gate to beta. By default, the kubelet no longer attempts to set the `.status.kubeProxyVersion` field for its associated Node. ([kubernetes/kubernetes#123845](https://github.com/kubernetes/kubernetes/pull/123845), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG API Machinery, Cloud Provider, Network, Node and Testing] +- Improved scheduling performance when many nodes, and prefilter returns 1-2 nodes (e.g. daemonset) + + For developers of out-of-tree PostFilter plugins, note that the semantics of NodeToStatusMap are changing: A node with an absent value in the NodeToStatusMap should be interpreted as having an UnschedulableAndUnresolvable status ([kubernetes/kubernetes#125197](https://github.com/kubernetes/kubernetes/pull/125197), [@gabesaba](https://github.com/gabesaba)) [SIG Scheduling] +- K8s.io/apimachinery/pkg/util/runtime: new calls support handling panics and errors in the context where they occur. `PanicHandlers` and `ErrorHandlers` now must accept a context parameter for that. Log output is structured instead of unstructured. ([kubernetes/kubernetes#121970](https://github.com/kubernetes/kubernetes/pull/121970), [@pohly](https://github.com/pohly)) [SIG API Machinery and Instrumentation] +- Kube-apiserver: the `--encryption-provider-config` file is now loaded with strict deserialization, which fails if the config file contains duplicate or unknown fields. This protects against accidentally running with config files that are malformed, mis-indented, or have typos in field names, and getting unexpected behavior. When `--encryption-provider-config-automatic-reload` is used, new encryption config files that contain typos after the kube-apiserver is running are treated as invalid and the last valid config is used. ([kubernetes/kubernetes#124912](https://github.com/kubernetes/kubernetes/pull/124912), [@enj](https://github.com/enj)) [SIG API Machinery and Auth] +- Kube-controller-manager removes deprecated command flags: --volume-host-cidr-denylist and --volume-host-allow-local-loopback ([kubernetes/kubernetes#124017](https://github.com/kubernetes/kubernetes/pull/124017), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps, Cloud Provider and Storage] +- Kube-controller-manager: the `horizontal-pod-autoscaler-upscale-delay` and `horizontal-pod-autoscaler-downscale-delay` flags have been removed (deprecated and non-functional since v1.12) ([kubernetes/kubernetes#124948](https://github.com/kubernetes/kubernetes/pull/124948), [@SataQiu](https://github.com/SataQiu)) [SIG API Machinery, Apps and Autoscaling] +- Support fine-grained supplemental groups policy (KEP-3619), which enables fine-grained control for supplementary groups in the first container processes. You can choose whether to include groups defined in the container image(/etc/groups) for the container's primary uid or not. ([kubernetes/kubernetes#117842](https://github.com/kubernetes/kubernetes/pull/117842), [@everpeace](https://github.com/everpeace)) [SIG API Machinery, Apps and Node] +- The kube-proxy nodeportAddresses / --nodeport-addresses option now + accepts the value "primary", meaning to only listen for NodePort connections + on the node's primary IPv4 and/or IPv6 address (according to the Node object). + This is strongly recommended, if you were not previously using + --nodeport-addresses, to avoid surprising behavior. + + (This behavior is enabled by default with the nftables backend; you would + need to explicitly request `--nodeport-addresses 0.0.0.0/0,::/0` there to get + the traditional "listen on all interfaces" behavior.) ([kubernetes/kubernetes#123105](https://github.com/kubernetes/kubernetes/pull/123105), [@danwinship](https://github.com/danwinship)) [SIG API Machinery, Network and Windows] + + # v30.1.0 Kubernetes API Version: v1.30.1 From 57c5182237ca8c062a038a184b7ba8a0bc0772f6 Mon Sep 17 00:00:00 2001 From: yliao Date: Thu, 29 Aug 2024 21:25:24 +0000 Subject: [PATCH 05/20] generated client change for custom_objects --- kubernetes/client/api/custom_objects_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/client/api/custom_objects_api.py b/kubernetes/client/api/custom_objects_api.py index 0d033165c..3d7a84e16 100644 --- a/kubernetes/client/api/custom_objects_api.py +++ b/kubernetes/client/api/custom_objects_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ From 35fb14eea81712128ab396592802159ef2fc3ecc Mon Sep 17 00:00:00 2001 From: yliao Date: Thu, 29 Aug 2024 21:25:25 +0000 Subject: [PATCH 06/20] generated API change --- kubernetes/client/api/__init__.py | 6 +- .../client/api/admissionregistration_api.py | 2 +- .../api/admissionregistration_v1_api.py | 2 +- .../api/admissionregistration_v1alpha1_api.py | 2 +- .../api/admissionregistration_v1beta1_api.py | 2 +- kubernetes/client/api/apiextensions_api.py | 2 +- kubernetes/client/api/apiextensions_v1_api.py | 2 +- kubernetes/client/api/apiregistration_api.py | 2 +- .../client/api/apiregistration_v1_api.py | 2 +- kubernetes/client/api/apis_api.py | 2 +- kubernetes/client/api/apps_api.py | 2 +- kubernetes/client/api/apps_v1_api.py | 2 +- kubernetes/client/api/authentication_api.py | 2 +- .../client/api/authentication_v1_api.py | 2 +- .../client/api/authentication_v1alpha1_api.py | 2 +- .../client/api/authentication_v1beta1_api.py | 2 +- kubernetes/client/api/authorization_api.py | 2 +- kubernetes/client/api/authorization_v1_api.py | 2 +- kubernetes/client/api/autoscaling_api.py | 2 +- kubernetes/client/api/autoscaling_v1_api.py | 2 +- kubernetes/client/api/autoscaling_v2_api.py | 2 +- kubernetes/client/api/batch_api.py | 2 +- kubernetes/client/api/batch_v1_api.py | 2 +- kubernetes/client/api/certificates_api.py | 2 +- kubernetes/client/api/certificates_v1_api.py | 2 +- .../client/api/certificates_v1alpha1_api.py | 2 +- kubernetes/client/api/coordination_api.py | 2 +- kubernetes/client/api/coordination_v1_api.py | 2 +- .../client/api/coordination_v1alpha1_api.py | 1392 +++ kubernetes/client/api/core_api.py | 2 +- kubernetes/client/api/core_v1_api.py | 2 +- kubernetes/client/api/discovery_api.py | 2 +- kubernetes/client/api/discovery_v1_api.py | 2 +- kubernetes/client/api/events_api.py | 2 +- kubernetes/client/api/events_v1_api.py | 2 +- .../client/api/flowcontrol_apiserver_api.py | 2 +- .../api/flowcontrol_apiserver_v1_api.py | 2 +- .../api/flowcontrol_apiserver_v1beta3_api.py | 2 +- .../client/api/internal_apiserver_api.py | 2 +- .../api/internal_apiserver_v1alpha1_api.py | 2 +- kubernetes/client/api/logs_api.py | 2 +- kubernetes/client/api/networking_api.py | 2 +- kubernetes/client/api/networking_v1_api.py | 2 +- ...lpha1_api.py => networking_v1beta1_api.py} | 138 +- kubernetes/client/api/node_api.py | 2 +- kubernetes/client/api/node_v1_api.py | 2 +- kubernetes/client/api/openid_api.py | 2 +- kubernetes/client/api/policy_api.py | 2 +- kubernetes/client/api/policy_v1_api.py | 2 +- .../client/api/rbac_authorization_api.py | 2 +- .../client/api/rbac_authorization_v1_api.py | 2 +- kubernetes/client/api/resource_api.py | 2 +- ...alpha2_api.py => resource_v1alpha3_api.py} | 4872 +++-------- kubernetes/client/api/scheduling_api.py | 2 +- kubernetes/client/api/scheduling_v1_api.py | 2 +- kubernetes/client/api/storage_api.py | 2 +- kubernetes/client/api/storage_v1_api.py | 2 +- kubernetes/client/api/storage_v1alpha1_api.py | 2 +- kubernetes/client/api/storage_v1beta1_api.py | 1169 +++ kubernetes/client/api/storagemigration_api.py | 2 +- .../api/storagemigration_v1alpha1_api.py | 2 +- kubernetes/client/api/version_api.py | 2 +- kubernetes/client/api/well_known_api.py | 2 +- kubernetes/client/models/__init__.py | 107 +- ...issionregistration_v1_service_reference.py | 2 +- ...onregistration_v1_webhook_client_config.py | 2 +- .../apiextensions_v1_service_reference.py | 2 +- .../apiextensions_v1_webhook_client_config.py | 2 +- .../apiregistration_v1_service_reference.py | 2 +- .../models/authentication_v1_token_request.py | 2 +- .../client/models/core_v1_endpoint_port.py | 2 +- kubernetes/client/models/core_v1_event.py | 2 +- .../client/models/core_v1_event_list.py | 2 +- .../client/models/core_v1_event_series.py | 2 +- .../models/discovery_v1_endpoint_port.py | 2 +- kubernetes/client/models/events_v1_event.py | 2 +- .../client/models/events_v1_event_list.py | 2 +- .../client/models/events_v1_event_series.py | 2 +- .../client/models/flowcontrol_v1_subject.py | 2 +- kubernetes/client/models/rbac_v1_subject.py | 2 +- .../client/models/storage_v1_token_request.py | 2 +- kubernetes/client/models/v1_affinity.py | 2 +- .../client/models/v1_aggregation_rule.py | 2 +- kubernetes/client/models/v1_api_group.py | 2 +- kubernetes/client/models/v1_api_group_list.py | 2 +- kubernetes/client/models/v1_api_resource.py | 2 +- .../client/models/v1_api_resource_list.py | 2 +- kubernetes/client/models/v1_api_service.py | 2 +- .../client/models/v1_api_service_condition.py | 2 +- .../client/models/v1_api_service_list.py | 2 +- .../client/models/v1_api_service_spec.py | 2 +- .../client/models/v1_api_service_status.py | 2 +- kubernetes/client/models/v1_api_versions.py | 2 +- .../client/models/v1_app_armor_profile.py | 2 +- .../client/models/v1_attached_volume.py | 2 +- .../client/models/v1_audit_annotation.py | 2 +- ...1_aws_elastic_block_store_volume_source.py | 2 +- .../models/v1_azure_disk_volume_source.py | 2 +- .../v1_azure_file_persistent_volume_source.py | 2 +- .../models/v1_azure_file_volume_source.py | 2 +- kubernetes/client/models/v1_binding.py | 2 +- .../models/v1_bound_object_reference.py | 2 +- kubernetes/client/models/v1_capabilities.py | 2 +- .../v1_ceph_fs_persistent_volume_source.py | 2 +- .../client/models/v1_ceph_fs_volume_source.py | 2 +- .../models/v1_certificate_signing_request.py | 2 +- ...1_certificate_signing_request_condition.py | 2 +- .../v1_certificate_signing_request_list.py | 2 +- .../v1_certificate_signing_request_spec.py | 2 +- .../v1_certificate_signing_request_status.py | 2 +- .../v1_cinder_persistent_volume_source.py | 2 +- .../client/models/v1_cinder_volume_source.py | 2 +- kubernetes/client/models/v1_claim_source.py | 150 - .../client/models/v1_client_ip_config.py | 2 +- kubernetes/client/models/v1_cluster_role.py | 2 +- .../client/models/v1_cluster_role_binding.py | 2 +- .../models/v1_cluster_role_binding_list.py | 2 +- .../client/models/v1_cluster_role_list.py | 2 +- .../v1_cluster_trust_bundle_projection.py | 2 +- .../client/models/v1_component_condition.py | 2 +- .../client/models/v1_component_status.py | 2 +- .../client/models/v1_component_status_list.py | 2 +- kubernetes/client/models/v1_condition.py | 2 +- kubernetes/client/models/v1_config_map.py | 2 +- .../client/models/v1_config_map_env_source.py | 2 +- .../models/v1_config_map_key_selector.py | 2 +- .../client/models/v1_config_map_list.py | 2 +- .../v1_config_map_node_config_source.py | 2 +- .../client/models/v1_config_map_projection.py | 2 +- .../models/v1_config_map_volume_source.py | 2 +- kubernetes/client/models/v1_container.py | 2 +- .../client/models/v1_container_image.py | 2 +- kubernetes/client/models/v1_container_port.py | 2 +- .../models/v1_container_resize_policy.py | 2 +- .../client/models/v1_container_state.py | 2 +- .../models/v1_container_state_running.py | 2 +- .../models/v1_container_state_terminated.py | 2 +- .../models/v1_container_state_waiting.py | 2 +- .../client/models/v1_container_status.py | 58 +- ...s_string_slice.py => v1_container_user.py} | 47 +- .../client/models/v1_controller_revision.py | 2 +- .../models/v1_controller_revision_list.py | 2 +- kubernetes/client/models/v1_cron_job.py | 2 +- kubernetes/client/models/v1_cron_job_list.py | 2 +- kubernetes/client/models/v1_cron_job_spec.py | 2 +- .../client/models/v1_cron_job_status.py | 2 +- .../v1_cross_version_object_reference.py | 2 +- kubernetes/client/models/v1_csi_driver.py | 2 +- .../client/models/v1_csi_driver_list.py | 2 +- .../client/models/v1_csi_driver_spec.py | 2 +- kubernetes/client/models/v1_csi_node.py | 2 +- .../client/models/v1_csi_node_driver.py | 2 +- kubernetes/client/models/v1_csi_node_list.py | 2 +- kubernetes/client/models/v1_csi_node_spec.py | 2 +- .../models/v1_csi_persistent_volume_source.py | 2 +- .../client/models/v1_csi_storage_capacity.py | 2 +- .../models/v1_csi_storage_capacity_list.py | 2 +- .../client/models/v1_csi_volume_source.py | 2 +- .../v1_custom_resource_column_definition.py | 2 +- .../models/v1_custom_resource_conversion.py | 2 +- .../models/v1_custom_resource_definition.py | 2 +- ...v1_custom_resource_definition_condition.py | 2 +- .../v1_custom_resource_definition_list.py | 2 +- .../v1_custom_resource_definition_names.py | 2 +- .../v1_custom_resource_definition_spec.py | 2 +- .../v1_custom_resource_definition_status.py | 2 +- .../v1_custom_resource_definition_version.py | 2 +- .../v1_custom_resource_subresource_scale.py | 2 +- .../models/v1_custom_resource_subresources.py | 2 +- .../models/v1_custom_resource_validation.py | 2 +- .../client/models/v1_daemon_endpoint.py | 2 +- kubernetes/client/models/v1_daemon_set.py | 2 +- .../client/models/v1_daemon_set_condition.py | 2 +- .../client/models/v1_daemon_set_list.py | 2 +- .../client/models/v1_daemon_set_spec.py | 2 +- .../client/models/v1_daemon_set_status.py | 2 +- .../models/v1_daemon_set_update_strategy.py | 2 +- kubernetes/client/models/v1_delete_options.py | 2 +- kubernetes/client/models/v1_deployment.py | 2 +- .../client/models/v1_deployment_condition.py | 2 +- .../client/models/v1_deployment_list.py | 2 +- .../client/models/v1_deployment_spec.py | 2 +- .../client/models/v1_deployment_status.py | 2 +- .../client/models/v1_deployment_strategy.py | 2 +- .../models/v1_downward_api_projection.py | 2 +- .../models/v1_downward_api_volume_file.py | 2 +- .../models/v1_downward_api_volume_source.py | 2 +- .../models/v1_empty_dir_volume_source.py | 2 +- kubernetes/client/models/v1_endpoint.py | 2 +- .../client/models/v1_endpoint_address.py | 2 +- .../client/models/v1_endpoint_conditions.py | 2 +- kubernetes/client/models/v1_endpoint_hints.py | 2 +- kubernetes/client/models/v1_endpoint_slice.py | 2 +- .../client/models/v1_endpoint_slice_list.py | 2 +- .../client/models/v1_endpoint_subset.py | 2 +- kubernetes/client/models/v1_endpoints.py | 2 +- kubernetes/client/models/v1_endpoints_list.py | 2 +- .../client/models/v1_env_from_source.py | 2 +- kubernetes/client/models/v1_env_var.py | 2 +- kubernetes/client/models/v1_env_var_source.py | 2 +- .../client/models/v1_ephemeral_container.py | 2 +- .../models/v1_ephemeral_volume_source.py | 2 +- kubernetes/client/models/v1_event_source.py | 2 +- kubernetes/client/models/v1_eviction.py | 2 +- kubernetes/client/models/v1_exec_action.py | 2 +- .../v1_exempt_priority_level_configuration.py | 2 +- .../client/models/v1_expression_warning.py | 2 +- .../models/v1_external_documentation.py | 2 +- .../client/models/v1_fc_volume_source.py | 2 +- .../models/v1_field_selector_attributes.py | 150 + .../models/v1_field_selector_requirement.py | 180 + .../v1_flex_persistent_volume_source.py | 2 +- .../client/models/v1_flex_volume_source.py | 2 +- .../client/models/v1_flocker_volume_source.py | 2 +- .../models/v1_flow_distinguisher_method.py | 2 +- kubernetes/client/models/v1_flow_schema.py | 2 +- .../client/models/v1_flow_schema_condition.py | 2 +- .../client/models/v1_flow_schema_list.py | 2 +- .../client/models/v1_flow_schema_spec.py | 2 +- .../client/models/v1_flow_schema_status.py | 2 +- kubernetes/client/models/v1_for_zone.py | 2 +- .../v1_gce_persistent_disk_volume_source.py | 2 +- .../models/v1_git_repo_volume_source.py | 2 +- .../v1_glusterfs_persistent_volume_source.py | 2 +- .../models/v1_glusterfs_volume_source.py | 2 +- kubernetes/client/models/v1_group_subject.py | 2 +- .../models/v1_group_version_for_discovery.py | 2 +- kubernetes/client/models/v1_grpc_action.py | 2 +- .../models/v1_horizontal_pod_autoscaler.py | 2 +- .../v1_horizontal_pod_autoscaler_list.py | 2 +- .../v1_horizontal_pod_autoscaler_spec.py | 2 +- .../v1_horizontal_pod_autoscaler_status.py | 2 +- kubernetes/client/models/v1_host_alias.py | 2 +- kubernetes/client/models/v1_host_ip.py | 7 +- .../models/v1_host_path_volume_source.py | 2 +- .../client/models/v1_http_get_action.py | 2 +- kubernetes/client/models/v1_http_header.py | 2 +- .../client/models/v1_http_ingress_path.py | 2 +- .../models/v1_http_ingress_rule_value.py | 2 +- .../client/models/v1_image_volume_source.py | 150 + kubernetes/client/models/v1_ingress.py | 2 +- .../client/models/v1_ingress_backend.py | 2 +- kubernetes/client/models/v1_ingress_class.py | 2 +- .../client/models/v1_ingress_class_list.py | 2 +- .../v1_ingress_class_parameters_reference.py | 2 +- .../client/models/v1_ingress_class_spec.py | 2 +- kubernetes/client/models/v1_ingress_list.py | 2 +- .../v1_ingress_load_balancer_ingress.py | 2 +- .../models/v1_ingress_load_balancer_status.py | 2 +- .../client/models/v1_ingress_port_status.py | 2 +- kubernetes/client/models/v1_ingress_rule.py | 2 +- .../models/v1_ingress_service_backend.py | 2 +- kubernetes/client/models/v1_ingress_spec.py | 2 +- kubernetes/client/models/v1_ingress_status.py | 2 +- kubernetes/client/models/v1_ingress_tls.py | 2 +- kubernetes/client/models/v1_ip_block.py | 2 +- .../v1_iscsi_persistent_volume_source.py | 2 +- .../client/models/v1_iscsi_volume_source.py | 2 +- kubernetes/client/models/v1_job.py | 2 +- kubernetes/client/models/v1_job_condition.py | 2 +- kubernetes/client/models/v1_job_list.py | 2 +- kubernetes/client/models/v1_job_spec.py | 6 +- kubernetes/client/models/v1_job_status.py | 6 +- .../client/models/v1_job_template_spec.py | 2 +- .../client/models/v1_json_schema_props.py | 6 +- kubernetes/client/models/v1_key_to_path.py | 2 +- kubernetes/client/models/v1_label_selector.py | 2 +- .../models/v1_label_selector_attributes.py | 150 + .../models/v1_label_selector_requirement.py | 2 +- kubernetes/client/models/v1_lease.py | 2 +- kubernetes/client/models/v1_lease_list.py | 2 +- kubernetes/client/models/v1_lease_spec.py | 72 +- kubernetes/client/models/v1_lifecycle.py | 2 +- .../client/models/v1_lifecycle_handler.py | 2 +- kubernetes/client/models/v1_limit_range.py | 2 +- .../client/models/v1_limit_range_item.py | 2 +- .../client/models/v1_limit_range_list.py | 2 +- .../client/models/v1_limit_range_spec.py | 2 +- kubernetes/client/models/v1_limit_response.py | 2 +- ...v1_limited_priority_level_configuration.py | 2 +- .../client/models/v1_linux_container_user.py | 180 + kubernetes/client/models/v1_list_meta.py | 2 +- .../client/models/v1_load_balancer_ingress.py | 2 +- .../client/models/v1_load_balancer_status.py | 2 +- .../models/v1_local_object_reference.py | 2 +- .../models/v1_local_subject_access_review.py | 2 +- .../client/models/v1_local_volume_source.py | 2 +- .../client/models/v1_managed_fields_entry.py | 2 +- .../client/models/v1_match_condition.py | 2 +- .../client/models/v1_match_resources.py | 2 +- .../client/models/v1_modify_volume_status.py | 2 +- .../client/models/v1_mutating_webhook.py | 2 +- .../v1_mutating_webhook_configuration.py | 2 +- .../v1_mutating_webhook_configuration_list.py | 2 +- .../models/v1_named_rule_with_operations.py | 2 +- kubernetes/client/models/v1_namespace.py | 2 +- .../client/models/v1_namespace_condition.py | 2 +- kubernetes/client/models/v1_namespace_list.py | 2 +- kubernetes/client/models/v1_namespace_spec.py | 2 +- .../client/models/v1_namespace_status.py | 2 +- kubernetes/client/models/v1_network_policy.py | 2 +- .../models/v1_network_policy_egress_rule.py | 2 +- .../models/v1_network_policy_ingress_rule.py | 2 +- .../client/models/v1_network_policy_list.py | 2 +- .../client/models/v1_network_policy_peer.py | 2 +- .../client/models/v1_network_policy_port.py | 2 +- .../client/models/v1_network_policy_spec.py | 2 +- .../client/models/v1_nfs_volume_source.py | 2 +- kubernetes/client/models/v1_node.py | 2 +- kubernetes/client/models/v1_node_address.py | 2 +- kubernetes/client/models/v1_node_affinity.py | 2 +- kubernetes/client/models/v1_node_condition.py | 2 +- .../client/models/v1_node_config_source.py | 2 +- .../client/models/v1_node_config_status.py | 2 +- .../client/models/v1_node_daemon_endpoints.py | 2 +- kubernetes/client/models/v1_node_features.py | 122 + kubernetes/client/models/v1_node_list.py | 2 +- .../client/models/v1_node_runtime_handler.py | 2 +- .../v1_node_runtime_handler_features.py | 36 +- kubernetes/client/models/v1_node_selector.py | 2 +- .../models/v1_node_selector_requirement.py | 2 +- .../client/models/v1_node_selector_term.py | 2 +- kubernetes/client/models/v1_node_spec.py | 2 +- kubernetes/client/models/v1_node_status.py | 34 +- .../client/models/v1_node_system_info.py | 6 +- .../models/v1_non_resource_attributes.py | 2 +- .../models/v1_non_resource_policy_rule.py | 2 +- .../client/models/v1_non_resource_rule.py | 2 +- .../client/models/v1_object_field_selector.py | 2 +- kubernetes/client/models/v1_object_meta.py | 2 +- .../client/models/v1_object_reference.py | 2 +- kubernetes/client/models/v1_overhead.py | 2 +- .../client/models/v1_owner_reference.py | 2 +- kubernetes/client/models/v1_param_kind.py | 2 +- kubernetes/client/models/v1_param_ref.py | 2 +- .../client/models/v1_persistent_volume.py | 2 +- .../models/v1_persistent_volume_claim.py | 2 +- .../v1_persistent_volume_claim_condition.py | 2 +- .../models/v1_persistent_volume_claim_list.py | 2 +- .../models/v1_persistent_volume_claim_spec.py | 6 +- .../v1_persistent_volume_claim_status.py | 6 +- .../v1_persistent_volume_claim_template.py | 2 +- ...1_persistent_volume_claim_volume_source.py | 2 +- .../models/v1_persistent_volume_list.py | 2 +- .../models/v1_persistent_volume_spec.py | 6 +- .../models/v1_persistent_volume_status.py | 6 +- ...v1_photon_persistent_disk_volume_source.py | 2 +- kubernetes/client/models/v1_pod.py | 2 +- kubernetes/client/models/v1_pod_affinity.py | 2 +- .../client/models/v1_pod_affinity_term.py | 10 +- .../client/models/v1_pod_anti_affinity.py | 2 +- kubernetes/client/models/v1_pod_condition.py | 2 +- .../client/models/v1_pod_disruption_budget.py | 2 +- .../models/v1_pod_disruption_budget_list.py | 2 +- .../models/v1_pod_disruption_budget_spec.py | 2 +- .../models/v1_pod_disruption_budget_status.py | 2 +- kubernetes/client/models/v1_pod_dns_config.py | 2 +- .../client/models/v1_pod_dns_config_option.py | 2 +- .../client/models/v1_pod_failure_policy.py | 2 +- ...ailure_policy_on_exit_codes_requirement.py | 2 +- ...ailure_policy_on_pod_conditions_pattern.py | 2 +- .../models/v1_pod_failure_policy_rule.py | 2 +- kubernetes/client/models/v1_pod_ip.py | 7 +- kubernetes/client/models/v1_pod_list.py | 2 +- kubernetes/client/models/v1_pod_os.py | 2 +- .../client/models/v1_pod_readiness_gate.py | 2 +- .../client/models/v1_pod_resource_claim.py | 66 +- .../models/v1_pod_resource_claim_status.py | 6 +- .../client/models/v1_pod_scheduling_gate.py | 2 +- .../client/models/v1_pod_security_context.py | 36 +- kubernetes/client/models/v1_pod_spec.py | 6 +- kubernetes/client/models/v1_pod_status.py | 2 +- kubernetes/client/models/v1_pod_template.py | 2 +- .../client/models/v1_pod_template_list.py | 2 +- .../client/models/v1_pod_template_spec.py | 2 +- kubernetes/client/models/v1_policy_rule.py | 2 +- .../models/v1_policy_rules_with_subjects.py | 2 +- kubernetes/client/models/v1_port_status.py | 2 +- .../models/v1_portworx_volume_source.py | 2 +- kubernetes/client/models/v1_preconditions.py | 2 +- .../models/v1_preferred_scheduling_term.py | 2 +- kubernetes/client/models/v1_priority_class.py | 2 +- .../client/models/v1_priority_class_list.py | 2 +- .../models/v1_priority_level_configuration.py | 2 +- ..._priority_level_configuration_condition.py | 2 +- .../v1_priority_level_configuration_list.py | 2 +- ..._priority_level_configuration_reference.py | 2 +- .../v1_priority_level_configuration_spec.py | 2 +- .../v1_priority_level_configuration_status.py | 2 +- kubernetes/client/models/v1_probe.py | 2 +- .../models/v1_projected_volume_source.py | 6 +- .../client/models/v1_queuing_configuration.py | 2 +- .../client/models/v1_quobyte_volume_source.py | 2 +- .../models/v1_rbd_persistent_volume_source.py | 2 +- .../client/models/v1_rbd_volume_source.py | 2 +- kubernetes/client/models/v1_replica_set.py | 2 +- .../client/models/v1_replica_set_condition.py | 2 +- .../client/models/v1_replica_set_list.py | 2 +- .../client/models/v1_replica_set_spec.py | 2 +- .../client/models/v1_replica_set_status.py | 2 +- .../models/v1_replication_controller.py | 2 +- .../v1_replication_controller_condition.py | 2 +- .../models/v1_replication_controller_list.py | 2 +- .../models/v1_replication_controller_spec.py | 2 +- .../v1_replication_controller_status.py | 2 +- .../client/models/v1_resource_attributes.py | 56 +- kubernetes/client/models/v1_resource_claim.py | 36 +- .../models/v1_resource_field_selector.py | 2 +- .../client/models/v1_resource_health.py | 151 + .../client/models/v1_resource_policy_rule.py | 2 +- kubernetes/client/models/v1_resource_quota.py | 2 +- .../client/models/v1_resource_quota_list.py | 2 +- .../client/models/v1_resource_quota_spec.py | 2 +- .../client/models/v1_resource_quota_status.py | 2 +- .../client/models/v1_resource_requirements.py | 2 +- kubernetes/client/models/v1_resource_rule.py | 2 +- ...rces_instance.py => v1_resource_status.py} | 84 +- kubernetes/client/models/v1_role.py | 2 +- kubernetes/client/models/v1_role_binding.py | 2 +- .../client/models/v1_role_binding_list.py | 2 +- kubernetes/client/models/v1_role_list.py | 2 +- kubernetes/client/models/v1_role_ref.py | 2 +- .../models/v1_rolling_update_daemon_set.py | 2 +- .../models/v1_rolling_update_deployment.py | 2 +- ...v1_rolling_update_stateful_set_strategy.py | 2 +- .../client/models/v1_rule_with_operations.py | 2 +- kubernetes/client/models/v1_runtime_class.py | 2 +- .../client/models/v1_runtime_class_list.py | 2 +- kubernetes/client/models/v1_scale.py | 2 +- .../v1_scale_io_persistent_volume_source.py | 2 +- .../models/v1_scale_io_volume_source.py | 2 +- kubernetes/client/models/v1_scale_spec.py | 2 +- kubernetes/client/models/v1_scale_status.py | 2 +- kubernetes/client/models/v1_scheduling.py | 2 +- kubernetes/client/models/v1_scope_selector.py | 2 +- ...v1_scoped_resource_selector_requirement.py | 2 +- .../client/models/v1_se_linux_options.py | 2 +- .../client/models/v1_seccomp_profile.py | 2 +- kubernetes/client/models/v1_secret.py | 2 +- .../client/models/v1_secret_env_source.py | 2 +- .../client/models/v1_secret_key_selector.py | 2 +- kubernetes/client/models/v1_secret_list.py | 2 +- .../client/models/v1_secret_projection.py | 2 +- .../client/models/v1_secret_reference.py | 2 +- .../client/models/v1_secret_volume_source.py | 2 +- .../client/models/v1_security_context.py | 6 +- .../client/models/v1_selectable_field.py | 2 +- .../models/v1_self_subject_access_review.py | 2 +- .../v1_self_subject_access_review_spec.py | 2 +- .../client/models/v1_self_subject_review.py | 2 +- .../models/v1_self_subject_review_status.py | 2 +- .../models/v1_self_subject_rules_review.py | 2 +- .../v1_self_subject_rules_review_spec.py | 2 +- .../v1_server_address_by_client_cidr.py | 2 +- kubernetes/client/models/v1_service.py | 2 +- .../client/models/v1_service_account.py | 2 +- .../client/models/v1_service_account_list.py | 2 +- .../models/v1_service_account_subject.py | 2 +- .../v1_service_account_token_projection.py | 2 +- .../client/models/v1_service_backend_port.py | 2 +- kubernetes/client/models/v1_service_list.py | 2 +- kubernetes/client/models/v1_service_port.py | 2 +- kubernetes/client/models/v1_service_spec.py | 2 +- kubernetes/client/models/v1_service_status.py | 2 +- .../models/v1_session_affinity_config.py | 2 +- kubernetes/client/models/v1_sleep_action.py | 2 +- kubernetes/client/models/v1_stateful_set.py | 2 +- .../models/v1_stateful_set_condition.py | 2 +- .../client/models/v1_stateful_set_list.py | 2 +- .../client/models/v1_stateful_set_ordinals.py | 2 +- ...ersistent_volume_claim_retention_policy.py | 2 +- .../client/models/v1_stateful_set_spec.py | 2 +- .../client/models/v1_stateful_set_status.py | 2 +- .../models/v1_stateful_set_update_strategy.py | 2 +- kubernetes/client/models/v1_status.py | 2 +- kubernetes/client/models/v1_status_cause.py | 2 +- kubernetes/client/models/v1_status_details.py | 2 +- kubernetes/client/models/v1_storage_class.py | 2 +- .../client/models/v1_storage_class_list.py | 2 +- .../v1_storage_os_persistent_volume_source.py | 2 +- .../models/v1_storage_os_volume_source.py | 2 +- .../client/models/v1_subject_access_review.py | 2 +- .../models/v1_subject_access_review_spec.py | 2 +- .../models/v1_subject_access_review_status.py | 2 +- .../models/v1_subject_rules_review_status.py | 2 +- kubernetes/client/models/v1_success_policy.py | 2 +- .../client/models/v1_success_policy_rule.py | 2 +- kubernetes/client/models/v1_sysctl.py | 2 +- kubernetes/client/models/v1_taint.py | 2 +- .../client/models/v1_tcp_socket_action.py | 2 +- .../client/models/v1_token_request_spec.py | 2 +- .../client/models/v1_token_request_status.py | 2 +- kubernetes/client/models/v1_token_review.py | 2 +- .../client/models/v1_token_review_spec.py | 2 +- .../client/models/v1_token_review_status.py | 2 +- kubernetes/client/models/v1_toleration.py | 2 +- .../v1_topology_selector_label_requirement.py | 2 +- .../models/v1_topology_selector_term.py | 2 +- .../models/v1_topology_spread_constraint.py | 2 +- kubernetes/client/models/v1_type_checking.py | 2 +- .../models/v1_typed_local_object_reference.py | 2 +- .../models/v1_typed_object_reference.py | 2 +- .../models/v1_uncounted_terminated_pods.py | 2 +- kubernetes/client/models/v1_user_info.py | 2 +- kubernetes/client/models/v1_user_subject.py | 2 +- .../models/v1_validating_admission_policy.py | 2 +- .../v1_validating_admission_policy_binding.py | 2 +- ...alidating_admission_policy_binding_list.py | 7 +- ...alidating_admission_policy_binding_spec.py | 2 +- .../v1_validating_admission_policy_list.py | 7 +- .../v1_validating_admission_policy_spec.py | 2 +- .../v1_validating_admission_policy_status.py | 2 +- .../client/models/v1_validating_webhook.py | 2 +- .../v1_validating_webhook_configuration.py | 2 +- ...1_validating_webhook_configuration_list.py | 2 +- kubernetes/client/models/v1_validation.py | 2 +- .../client/models/v1_validation_rule.py | 2 +- kubernetes/client/models/v1_variable.py | 2 +- kubernetes/client/models/v1_volume.py | 30 +- .../client/models/v1_volume_attachment.py | 2 +- .../models/v1_volume_attachment_list.py | 2 +- .../models/v1_volume_attachment_source.py | 2 +- .../models/v1_volume_attachment_spec.py | 2 +- .../models/v1_volume_attachment_status.py | 2 +- kubernetes/client/models/v1_volume_device.py | 2 +- kubernetes/client/models/v1_volume_error.py | 2 +- kubernetes/client/models/v1_volume_mount.py | 2 +- .../client/models/v1_volume_mount_status.py | 2 +- .../client/models/v1_volume_node_affinity.py | 2 +- .../client/models/v1_volume_node_resources.py | 2 +- .../client/models/v1_volume_projection.py | 2 +- .../models/v1_volume_resource_requirements.py | 2 +- .../v1_vsphere_virtual_disk_volume_source.py | 2 +- kubernetes/client/models/v1_watch_event.py | 2 +- .../client/models/v1_webhook_conversion.py | 2 +- .../models/v1_weighted_pod_affinity_term.py | 2 +- .../v1_windows_security_context_options.py | 2 +- .../models/v1alpha1_audit_annotation.py | 2 +- .../models/v1alpha1_cluster_trust_bundle.py | 2 +- .../v1alpha1_cluster_trust_bundle_list.py | 2 +- .../v1alpha1_cluster_trust_bundle_spec.py | 2 +- .../models/v1alpha1_expression_warning.py | 2 +- .../models/v1alpha1_group_version_resource.py | 2 +- .../client/models/v1alpha1_lease_candidate.py | 202 + .../models/v1alpha1_lease_candidate_list.py | 205 + .../models/v1alpha1_lease_candidate_spec.py | 264 + .../client/models/v1alpha1_match_condition.py | 2 +- .../client/models/v1alpha1_match_resources.py | 2 +- .../models/v1alpha1_migration_condition.py | 2 +- .../v1alpha1_named_rule_with_operations.py | 2 +- .../client/models/v1alpha1_param_kind.py | 2 +- .../client/models/v1alpha1_param_ref.py | 2 +- .../models/v1alpha1_self_subject_review.py | 2 +- .../v1alpha1_self_subject_review_status.py | 2 +- .../models/v1alpha1_server_storage_version.py | 2 +- .../client/models/v1alpha1_storage_version.py | 2 +- .../v1alpha1_storage_version_condition.py | 2 +- .../models/v1alpha1_storage_version_list.py | 2 +- .../v1alpha1_storage_version_migration.py | 2 +- ...v1alpha1_storage_version_migration_list.py | 2 +- ...v1alpha1_storage_version_migration_spec.py | 2 +- ...alpha1_storage_version_migration_status.py | 2 +- .../models/v1alpha1_storage_version_status.py | 2 +- .../client/models/v1alpha1_type_checking.py | 2 +- .../v1alpha1_validating_admission_policy.py | 2 +- ...ha1_validating_admission_policy_binding.py | 2 +- ...alidating_admission_policy_binding_list.py | 7 +- ...alidating_admission_policy_binding_spec.py | 2 +- ...alpha1_validating_admission_policy_list.py | 7 +- ...alpha1_validating_admission_policy_spec.py | 2 +- ...pha1_validating_admission_policy_status.py | 2 +- .../client/models/v1alpha1_validation.py | 2 +- kubernetes/client/models/v1alpha1_variable.py | 2 +- .../v1alpha1_volume_attributes_class.py | 2 +- .../v1alpha1_volume_attributes_class_list.py | 2 +- .../models/v1alpha2_allocation_result.py | 176 - .../v1alpha2_driver_allocation_result.py | 148 - .../client/models/v1alpha2_driver_requests.py | 178 - .../v1alpha2_named_resources_attribute.py | 315 - .../models/v1alpha2_named_resources_filter.py | 123 - .../v1alpha2_named_resources_request.py | 123 - .../v1alpha2_named_resources_resources.py | 123 - .../v1alpha2_resource_claim_parameters.py | 258 - ...v1alpha2_resource_claim_parameters_list.py | 205 - ...ha2_resource_claim_parameters_reference.py | 180 - .../models/v1alpha2_resource_claim_spec.py | 177 - .../client/models/v1alpha2_resource_class.py | 285 - .../v1alpha2_resource_class_parameters.py | 258 - ...v1alpha2_resource_class_parameters_list.py | 205 - ...ha2_resource_class_parameters_reference.py | 208 - .../client/models/v1alpha2_resource_handle.py | 176 - .../models/v1alpha2_resource_request.py | 148 - .../v1alpha2_structured_resource_handle.py | 207 - .../models/v1alpha3_allocation_result.py | 174 + .../client/models/v1alpha3_basic_device.py | 150 + .../models/v1alpha3_cel_device_selector.py | 123 + ...llocation_result.py => v1alpha3_device.py} | 50 +- ...1alpha3_device_allocation_configuration.py | 177 + .../v1alpha3_device_allocation_result.py | 150 + .../models/v1alpha3_device_attribute.py | 206 + .../client/models/v1alpha3_device_claim.py | 178 + ...=> v1alpha3_device_claim_configuration.py} | 80 +- .../client/models/v1alpha3_device_class.py | 203 + .../v1alpha3_device_class_configuration.py | 120 + ..._list.py => v1alpha3_device_class_list.py} | 48 +- .../models/v1alpha3_device_class_spec.py | 176 + .../models/v1alpha3_device_constraint.py | 150 + .../client/models/v1alpha3_device_request.py | 264 + ...alpha3_device_request_allocation_result.py | 210 + ...t_slice.py => v1alpha3_device_selector.py} | 47 +- .../v1alpha3_opaque_device_configuration.py | 152 + ....py => v1alpha3_pod_scheduling_context.py} | 62 +- ...> v1alpha3_pod_scheduling_context_list.py} | 48 +- ...> v1alpha3_pod_scheduling_context_spec.py} | 26 +- ...v1alpha3_pod_scheduling_context_status.py} | 24 +- ...ce_claim.py => v1alpha3_resource_claim.py} | 62 +- ...pha3_resource_claim_consumer_reference.py} | 42 +- ...ist.py => v1alpha3_resource_claim_list.py} | 48 +- ...lpha3_resource_claim_scheduling_status.py} | 31 +- ...ers.py => v1alpha3_resource_claim_spec.py} | 78 +- ...s.py => v1alpha3_resource_claim_status.py} | 84 +- ...py => v1alpha3_resource_claim_template.py} | 48 +- ... v1alpha3_resource_claim_template_list.py} | 48 +- ... v1alpha3_resource_claim_template_spec.py} | 32 +- .../client/models/v1alpha3_resource_pool.py | 181 + .../client/models/v1alpha3_resource_slice.py | 203 + ...ist.py => v1alpha3_resource_slice_list.py} | 52 +- .../models/v1alpha3_resource_slice_spec.py | 260 + .../client/models/v1beta1_audit_annotation.py | 2 +- .../models/v1beta1_expression_warning.py | 2 +- ...a1_ip_address.py => v1beta1_ip_address.py} | 48 +- ...ess_list.py => v1beta1_ip_address_list.py} | 48 +- ...ess_spec.py => v1beta1_ip_address_spec.py} | 24 +- .../client/models/v1beta1_match_condition.py | 2 +- .../client/models/v1beta1_match_resources.py | 2 +- .../v1beta1_named_rule_with_operations.py | 2 +- .../client/models/v1beta1_param_kind.py | 2 +- kubernetes/client/models/v1beta1_param_ref.py | 2 +- ...ference.py => v1beta1_parent_reference.py} | 42 +- .../models/v1beta1_self_subject_review.py | 2 +- .../v1beta1_self_subject_review_status.py | 2 +- ...ervice_cidr.py => v1beta1_service_cidr.py} | 62 +- ...r_list.py => v1beta1_service_cidr_list.py} | 48 +- ...r_spec.py => v1beta1_service_cidr_spec.py} | 18 +- ...atus.py => v1beta1_service_cidr_status.py} | 18 +- .../client/models/v1beta1_type_checking.py | 2 +- .../v1beta1_validating_admission_policy.py | 2 +- ...ta1_validating_admission_policy_binding.py | 2 +- ...alidating_admission_policy_binding_list.py | 7 +- ...alidating_admission_policy_binding_spec.py | 2 +- ...1beta1_validating_admission_policy_list.py | 7 +- ...1beta1_validating_admission_policy_spec.py | 2 +- ...eta1_validating_admission_policy_status.py | 2 +- .../client/models/v1beta1_validation.py | 2 +- kubernetes/client/models/v1beta1_variable.py | 2 +- ....py => v1beta1_volume_attributes_class.py} | 110 +- .../v1beta1_volume_attributes_class_list.py | 205 + ...ta3_exempt_priority_level_configuration.py | 2 +- .../v1beta3_flow_distinguisher_method.py | 2 +- .../client/models/v1beta3_flow_schema.py | 2 +- .../models/v1beta3_flow_schema_condition.py | 2 +- .../client/models/v1beta3_flow_schema_list.py | 2 +- .../client/models/v1beta3_flow_schema_spec.py | 2 +- .../models/v1beta3_flow_schema_status.py | 2 +- .../client/models/v1beta3_group_subject.py | 2 +- .../client/models/v1beta3_limit_response.py | 2 +- ...a3_limited_priority_level_configuration.py | 2 +- .../v1beta3_non_resource_policy_rule.py | 2 +- .../v1beta3_policy_rules_with_subjects.py | 2 +- .../v1beta3_priority_level_configuration.py | 2 +- ..._priority_level_configuration_condition.py | 2 +- ...beta3_priority_level_configuration_list.py | 2 +- ..._priority_level_configuration_reference.py | 2 +- ...beta3_priority_level_configuration_spec.py | 2 +- ...ta3_priority_level_configuration_status.py | 2 +- .../models/v1beta3_queuing_configuration.py | 2 +- .../models/v1beta3_resource_policy_rule.py | 2 +- .../models/v1beta3_service_account_subject.py | 2 +- kubernetes/client/models/v1beta3_subject.py | 2 +- .../client/models/v1beta3_user_subject.py | 2 +- .../v2_container_resource_metric_source.py | 2 +- .../v2_container_resource_metric_status.py | 2 +- .../v2_cross_version_object_reference.py | 2 +- .../models/v2_external_metric_source.py | 2 +- .../models/v2_external_metric_status.py | 2 +- .../models/v2_horizontal_pod_autoscaler.py | 2 +- .../v2_horizontal_pod_autoscaler_behavior.py | 2 +- .../v2_horizontal_pod_autoscaler_condition.py | 2 +- .../v2_horizontal_pod_autoscaler_list.py | 2 +- .../v2_horizontal_pod_autoscaler_spec.py | 2 +- .../v2_horizontal_pod_autoscaler_status.py | 2 +- .../client/models/v2_hpa_scaling_policy.py | 2 +- .../client/models/v2_hpa_scaling_rules.py | 2 +- .../client/models/v2_metric_identifier.py | 2 +- kubernetes/client/models/v2_metric_spec.py | 2 +- kubernetes/client/models/v2_metric_status.py | 2 +- kubernetes/client/models/v2_metric_target.py | 2 +- .../client/models/v2_metric_value_status.py | 2 +- .../client/models/v2_object_metric_source.py | 2 +- .../client/models/v2_object_metric_status.py | 2 +- .../client/models/v2_pods_metric_source.py | 2 +- .../client/models/v2_pods_metric_status.py | 2 +- .../models/v2_resource_metric_source.py | 2 +- .../models/v2_resource_metric_status.py | 2 +- kubernetes/client/models/version_info.py | 2 +- kubernetes/docs/CoordinationV1alpha1Api.md | 727 ++ ...V1alpha1Api.md => NetworkingV1beta1Api.md} | 182 +- ...eV1alpha2Api.md => ResourceV1alpha3Api.md} | 2830 ++---- kubernetes/docs/StorageV1beta1Api.md | 627 ++ kubernetes/docs/V1ClaimSource.md | 12 - kubernetes/docs/V1ContainerStatus.md | 2 + ...urcesStringSlice.md => V1ContainerUser.md} | 6 +- kubernetes/docs/V1FieldSelectorAttributes.md | 12 + kubernetes/docs/V1FieldSelectorRequirement.md | 13 + kubernetes/docs/V1HostIP.md | 2 +- kubernetes/docs/V1ImageVolumeSource.md | 12 + kubernetes/docs/V1JSONSchemaProps.md | 2 +- kubernetes/docs/V1JobSpec.md | 2 +- kubernetes/docs/V1JobStatus.md | 2 +- kubernetes/docs/V1LabelSelectorAttributes.md | 12 + kubernetes/docs/V1LeaseSpec.md | 6 +- kubernetes/docs/V1LinuxContainerUser.md | 13 + kubernetes/docs/V1NodeFeatures.md | 11 + .../docs/V1NodeRuntimeHandlerFeatures.md | 3 +- kubernetes/docs/V1NodeStatus.md | 3 +- kubernetes/docs/V1NodeSystemInfo.md | 2 +- .../docs/V1PersistentVolumeClaimSpec.md | 2 +- .../docs/V1PersistentVolumeClaimStatus.md | 2 +- kubernetes/docs/V1PersistentVolumeSpec.md | 2 +- kubernetes/docs/V1PersistentVolumeStatus.md | 2 +- kubernetes/docs/V1PodAffinityTerm.md | 4 +- kubernetes/docs/V1PodIP.md | 2 +- kubernetes/docs/V1PodResourceClaim.md | 5 +- kubernetes/docs/V1PodResourceClaimStatus.md | 2 +- kubernetes/docs/V1PodSecurityContext.md | 3 +- kubernetes/docs/V1PodSpec.md | 2 +- kubernetes/docs/V1ProjectedVolumeSource.md | 2 +- kubernetes/docs/V1ResourceAttributes.md | 2 + kubernetes/docs/V1ResourceClaim.md | 1 + kubernetes/docs/V1ResourceHealth.md | 12 + kubernetes/docs/V1ResourceStatus.md | 11 + kubernetes/docs/V1SecurityContext.md | 2 +- .../V1ValidatingAdmissionPolicyBindingList.md | 2 +- .../docs/V1ValidatingAdmissionPolicyList.md | 2 +- kubernetes/docs/V1Volume.md | 1 + kubernetes/docs/V1VolumeProjection.md | 2 +- kubernetes/docs/V1alpha1LeaseCandidate.md | 14 + ...sList.md => V1alpha1LeaseCandidateList.md} | 6 +- kubernetes/docs/V1alpha1LeaseCandidateSpec.md | 16 + ...ha1ValidatingAdmissionPolicyBindingList.md | 2 +- .../V1alpha1ValidatingAdmissionPolicyList.md | 2 +- kubernetes/docs/V1alpha2AllocationResult.md | 13 - .../docs/V1alpha2DriverAllocationResult.md | 12 - kubernetes/docs/V1alpha2DriverRequests.md | 13 - .../docs/V1alpha2NamedResourcesAttribute.md | 18 - .../docs/V1alpha2NamedResourcesFilter.md | 11 - .../docs/V1alpha2NamedResourcesInstance.md | 12 - .../docs/V1alpha2NamedResourcesRequest.md | 11 - .../docs/V1alpha2NamedResourcesResources.md | 11 - .../docs/V1alpha2ResourceClaimParameters.md | 16 - .../V1alpha2ResourceClaimParametersList.md | 14 - ...1alpha2ResourceClaimParametersReference.md | 13 - kubernetes/docs/V1alpha2ResourceClaimSpec.md | 13 - .../docs/V1alpha2ResourceClaimStatus.md | 14 - kubernetes/docs/V1alpha2ResourceClass.md | 17 - .../docs/V1alpha2ResourceClassParameters.md | 16 - .../V1alpha2ResourceClassParametersList.md | 14 - ...1alpha2ResourceClassParametersReference.md | 14 - kubernetes/docs/V1alpha2ResourceFilter.md | 12 - kubernetes/docs/V1alpha2ResourceHandle.md | 13 - kubernetes/docs/V1alpha2ResourceRequest.md | 12 - kubernetes/docs/V1alpha2ResourceSlice.md | 16 - .../docs/V1alpha2StructuredResourceHandle.md | 14 - kubernetes/docs/V1alpha2VendorParameters.md | 12 - kubernetes/docs/V1alpha3AllocationResult.md | 13 + kubernetes/docs/V1alpha3BasicDevice.md | 12 + kubernetes/docs/V1alpha3CELDeviceSelector.md | 11 + kubernetes/docs/V1alpha3Device.md | 12 + .../V1alpha3DeviceAllocationConfiguration.md | 13 + .../docs/V1alpha3DeviceAllocationResult.md | 12 + kubernetes/docs/V1alpha3DeviceAttribute.md | 14 + kubernetes/docs/V1alpha3DeviceClaim.md | 13 + .../docs/V1alpha3DeviceClaimConfiguration.md | 12 + ...esourceClaim.md => V1alpha3DeviceClass.md} | 7 +- ...md => V1alpha3DeviceClassConfiguration.md} | 6 +- kubernetes/docs/V1alpha3DeviceClassList.md | 14 + kubernetes/docs/V1alpha3DeviceClassSpec.md | 13 + kubernetes/docs/V1alpha3DeviceConstraint.md | 12 + kubernetes/docs/V1alpha3DeviceRequest.md | 16 + .../V1alpha3DeviceRequestAllocationResult.md | 14 + ...sIntSlice.md => V1alpha3DeviceSelector.md} | 6 +- .../docs/V1alpha3OpaqueDeviceConfiguration.md | 12 + ...ext.md => V1alpha3PodSchedulingContext.md} | 8 +- ...md => V1alpha3PodSchedulingContextList.md} | 4 +- ...md => V1alpha3PodSchedulingContextSpec.md} | 2 +- ... => V1alpha3PodSchedulingContextStatus.md} | 4 +- kubernetes/docs/V1alpha3ResourceClaim.md | 15 + ...V1alpha3ResourceClaimConsumerReference.md} | 2 +- ...imList.md => V1alpha3ResourceClaimList.md} | 4 +- ... V1alpha3ResourceClaimSchedulingStatus.md} | 4 +- kubernetes/docs/V1alpha3ResourceClaimSpec.md | 12 + .../docs/V1alpha3ResourceClaimStatus.md | 13 + ...te.md => V1alpha3ResourceClaimTemplate.md} | 6 +- ...d => V1alpha3ResourceClaimTemplateList.md} | 4 +- ...d => V1alpha3ResourceClaimTemplateSpec.md} | 4 +- kubernetes/docs/V1alpha3ResourcePool.md | 13 + kubernetes/docs/V1alpha3ResourceSlice.md | 14 + ...ceList.md => V1alpha3ResourceSliceList.md} | 4 +- kubernetes/docs/V1alpha3ResourceSliceSpec.md | 16 + ...alpha1IPAddress.md => V1beta1IPAddress.md} | 4 +- ...AddressList.md => V1beta1IPAddressList.md} | 4 +- ...AddressSpec.md => V1beta1IPAddressSpec.md} | 4 +- ...Reference.md => V1beta1ParentReference.md} | 2 +- ...a1ServiceCIDR.md => V1beta1ServiceCIDR.md} | 6 +- ...eCIDRList.md => V1beta1ServiceCIDRList.md} | 4 +- ...eCIDRSpec.md => V1beta1ServiceCIDRSpec.md} | 2 +- ...RStatus.md => V1beta1ServiceCIDRStatus.md} | 2 +- ...ta1ValidatingAdmissionPolicyBindingList.md | 2 +- .../V1beta1ValidatingAdmissionPolicyList.md | 2 +- .../docs/V1beta1VolumeAttributesClass.md | 15 + .../docs/V1beta1VolumeAttributesClassList.md | 14 + kubernetes/swagger.json.unprocessed | 6647 ++++++++------- scripts/swagger.json | 7553 +++++++++-------- 823 files changed, 20647 insertions(+), 18420 deletions(-) create mode 100644 kubernetes/client/api/coordination_v1alpha1_api.py rename kubernetes/client/api/{networking_v1alpha1_api.py => networking_v1beta1_api.py} (97%) rename kubernetes/client/api/{resource_v1alpha2_api.py => resource_v1alpha3_api.py} (69%) create mode 100644 kubernetes/client/api/storage_v1beta1_api.py delete mode 100644 kubernetes/client/models/v1_claim_source.py rename kubernetes/client/models/{v1alpha2_named_resources_string_slice.py => v1_container_user.py} (64%) create mode 100644 kubernetes/client/models/v1_field_selector_attributes.py create mode 100644 kubernetes/client/models/v1_field_selector_requirement.py create mode 100644 kubernetes/client/models/v1_image_volume_source.py create mode 100644 kubernetes/client/models/v1_label_selector_attributes.py create mode 100644 kubernetes/client/models/v1_linux_container_user.py create mode 100644 kubernetes/client/models/v1_node_features.py create mode 100644 kubernetes/client/models/v1_resource_health.py rename kubernetes/client/models/{v1alpha2_named_resources_instance.py => v1_resource_status.py} (57%) create mode 100644 kubernetes/client/models/v1alpha1_lease_candidate.py create mode 100644 kubernetes/client/models/v1alpha1_lease_candidate_list.py create mode 100644 kubernetes/client/models/v1alpha1_lease_candidate_spec.py delete mode 100644 kubernetes/client/models/v1alpha2_allocation_result.py delete mode 100644 kubernetes/client/models/v1alpha2_driver_allocation_result.py delete mode 100644 kubernetes/client/models/v1alpha2_driver_requests.py delete mode 100644 kubernetes/client/models/v1alpha2_named_resources_attribute.py delete mode 100644 kubernetes/client/models/v1alpha2_named_resources_filter.py delete mode 100644 kubernetes/client/models/v1alpha2_named_resources_request.py delete mode 100644 kubernetes/client/models/v1alpha2_named_resources_resources.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_claim_parameters.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_claim_parameters_list.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_claim_parameters_reference.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_claim_spec.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_class.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_class_parameters.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_class_parameters_list.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_class_parameters_reference.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_handle.py delete mode 100644 kubernetes/client/models/v1alpha2_resource_request.py delete mode 100644 kubernetes/client/models/v1alpha2_structured_resource_handle.py create mode 100644 kubernetes/client/models/v1alpha3_allocation_result.py create mode 100644 kubernetes/client/models/v1alpha3_basic_device.py create mode 100644 kubernetes/client/models/v1alpha3_cel_device_selector.py rename kubernetes/client/models/{v1alpha2_named_resources_allocation_result.py => v1alpha3_device.py} (65%) create mode 100644 kubernetes/client/models/v1alpha3_device_allocation_configuration.py create mode 100644 kubernetes/client/models/v1alpha3_device_allocation_result.py create mode 100644 kubernetes/client/models/v1alpha3_device_attribute.py create mode 100644 kubernetes/client/models/v1alpha3_device_claim.py rename kubernetes/client/models/{v1alpha2_resource_filter.py => v1alpha3_device_claim_configuration.py} (53%) create mode 100644 kubernetes/client/models/v1alpha3_device_class.py create mode 100644 kubernetes/client/models/v1alpha3_device_class_configuration.py rename kubernetes/client/models/{v1alpha2_resource_class_list.py => v1alpha3_device_class_list.py} (77%) create mode 100644 kubernetes/client/models/v1alpha3_device_class_spec.py create mode 100644 kubernetes/client/models/v1alpha3_device_constraint.py create mode 100644 kubernetes/client/models/v1alpha3_device_request.py create mode 100644 kubernetes/client/models/v1alpha3_device_request_allocation_result.py rename kubernetes/client/models/{v1alpha2_named_resources_int_slice.py => v1alpha3_device_selector.py} (65%) create mode 100644 kubernetes/client/models/v1alpha3_opaque_device_configuration.py rename kubernetes/client/models/{v1alpha2_pod_scheduling_context.py => v1alpha3_pod_scheduling_context.py} (76%) rename kubernetes/client/models/{v1alpha2_pod_scheduling_context_list.py => v1alpha3_pod_scheduling_context_list.py} (79%) rename kubernetes/client/models/{v1alpha2_pod_scheduling_context_spec.py => v1alpha3_pod_scheduling_context_spec.py} (85%) rename kubernetes/client/models/{v1alpha2_pod_scheduling_context_status.py => v1alpha3_pod_scheduling_context_status.py} (82%) rename kubernetes/client/models/{v1alpha2_resource_claim.py => v1alpha3_resource_claim.py} (76%) rename kubernetes/client/models/{v1alpha2_resource_claim_consumer_reference.py => v1alpha3_resource_claim_consumer_reference.py} (81%) rename kubernetes/client/models/{v1alpha2_resource_claim_list.py => v1alpha3_resource_claim_list.py} (79%) rename kubernetes/client/models/{v1alpha2_resource_claim_scheduling_status.py => v1alpha3_resource_claim_scheduling_status.py} (80%) rename kubernetes/client/models/{v1alpha2_vendor_parameters.py => v1alpha3_resource_claim_spec.py} (50%) rename kubernetes/client/models/{v1alpha2_resource_claim_status.py => v1alpha3_resource_claim_status.py} (52%) rename kubernetes/client/models/{v1alpha2_resource_claim_template.py => v1alpha3_resource_claim_template.py} (79%) rename kubernetes/client/models/{v1alpha2_resource_claim_template_list.py => v1alpha3_resource_claim_template_list.py} (79%) rename kubernetes/client/models/{v1alpha2_resource_claim_template_spec.py => v1alpha3_resource_claim_template_spec.py} (78%) create mode 100644 kubernetes/client/models/v1alpha3_resource_pool.py create mode 100644 kubernetes/client/models/v1alpha3_resource_slice.py rename kubernetes/client/models/{v1alpha2_resource_slice_list.py => v1alpha3_resource_slice_list.py} (77%) create mode 100644 kubernetes/client/models/v1alpha3_resource_slice_spec.py rename kubernetes/client/models/{v1alpha1_ip_address.py => v1beta1_ip_address.py} (78%) rename kubernetes/client/models/{v1alpha1_ip_address_list.py => v1beta1_ip_address_list.py} (78%) rename kubernetes/client/models/{v1alpha1_ip_address_spec.py => v1beta1_ip_address_spec.py} (80%) rename kubernetes/client/models/{v1alpha1_parent_reference.py => v1beta1_parent_reference.py} (77%) rename kubernetes/client/models/{v1alpha1_service_cidr.py => v1beta1_service_cidr.py} (74%) rename kubernetes/client/models/{v1alpha1_service_cidr_list.py => v1beta1_service_cidr_list.py} (77%) rename kubernetes/client/models/{v1alpha1_service_cidr_spec.py => v1beta1_service_cidr_spec.py} (85%) rename kubernetes/client/models/{v1alpha1_service_cidr_status.py => v1beta1_service_cidr_status.py} (84%) rename kubernetes/client/models/{v1alpha2_resource_slice.py => v1beta1_volume_attributes_class.py} (57%) create mode 100644 kubernetes/client/models/v1beta1_volume_attributes_class_list.py create mode 100644 kubernetes/docs/CoordinationV1alpha1Api.md rename kubernetes/docs/{NetworkingV1alpha1Api.md => NetworkingV1beta1Api.md} (93%) rename kubernetes/docs/{ResourceV1alpha2Api.md => ResourceV1alpha3Api.md} (67%) create mode 100644 kubernetes/docs/StorageV1beta1Api.md delete mode 100644 kubernetes/docs/V1ClaimSource.md rename kubernetes/docs/{V1alpha2NamedResourcesStringSlice.md => V1ContainerUser.md} (63%) create mode 100644 kubernetes/docs/V1FieldSelectorAttributes.md create mode 100644 kubernetes/docs/V1FieldSelectorRequirement.md create mode 100644 kubernetes/docs/V1ImageVolumeSource.md create mode 100644 kubernetes/docs/V1LabelSelectorAttributes.md create mode 100644 kubernetes/docs/V1LinuxContainerUser.md create mode 100644 kubernetes/docs/V1NodeFeatures.md create mode 100644 kubernetes/docs/V1ResourceHealth.md create mode 100644 kubernetes/docs/V1ResourceStatus.md create mode 100644 kubernetes/docs/V1alpha1LeaseCandidate.md rename kubernetes/docs/{V1alpha2ResourceClassList.md => V1alpha1LeaseCandidateList.md} (84%) create mode 100644 kubernetes/docs/V1alpha1LeaseCandidateSpec.md delete mode 100644 kubernetes/docs/V1alpha2AllocationResult.md delete mode 100644 kubernetes/docs/V1alpha2DriverAllocationResult.md delete mode 100644 kubernetes/docs/V1alpha2DriverRequests.md delete mode 100644 kubernetes/docs/V1alpha2NamedResourcesAttribute.md delete mode 100644 kubernetes/docs/V1alpha2NamedResourcesFilter.md delete mode 100644 kubernetes/docs/V1alpha2NamedResourcesInstance.md delete mode 100644 kubernetes/docs/V1alpha2NamedResourcesRequest.md delete mode 100644 kubernetes/docs/V1alpha2NamedResourcesResources.md delete mode 100644 kubernetes/docs/V1alpha2ResourceClaimParameters.md delete mode 100644 kubernetes/docs/V1alpha2ResourceClaimParametersList.md delete mode 100644 kubernetes/docs/V1alpha2ResourceClaimParametersReference.md delete mode 100644 kubernetes/docs/V1alpha2ResourceClaimSpec.md delete mode 100644 kubernetes/docs/V1alpha2ResourceClaimStatus.md delete mode 100644 kubernetes/docs/V1alpha2ResourceClass.md delete mode 100644 kubernetes/docs/V1alpha2ResourceClassParameters.md delete mode 100644 kubernetes/docs/V1alpha2ResourceClassParametersList.md delete mode 100644 kubernetes/docs/V1alpha2ResourceClassParametersReference.md delete mode 100644 kubernetes/docs/V1alpha2ResourceFilter.md delete mode 100644 kubernetes/docs/V1alpha2ResourceHandle.md delete mode 100644 kubernetes/docs/V1alpha2ResourceRequest.md delete mode 100644 kubernetes/docs/V1alpha2ResourceSlice.md delete mode 100644 kubernetes/docs/V1alpha2StructuredResourceHandle.md delete mode 100644 kubernetes/docs/V1alpha2VendorParameters.md create mode 100644 kubernetes/docs/V1alpha3AllocationResult.md create mode 100644 kubernetes/docs/V1alpha3BasicDevice.md create mode 100644 kubernetes/docs/V1alpha3CELDeviceSelector.md create mode 100644 kubernetes/docs/V1alpha3Device.md create mode 100644 kubernetes/docs/V1alpha3DeviceAllocationConfiguration.md create mode 100644 kubernetes/docs/V1alpha3DeviceAllocationResult.md create mode 100644 kubernetes/docs/V1alpha3DeviceAttribute.md create mode 100644 kubernetes/docs/V1alpha3DeviceClaim.md create mode 100644 kubernetes/docs/V1alpha3DeviceClaimConfiguration.md rename kubernetes/docs/{V1alpha2ResourceClaim.md => V1alpha3DeviceClass.md} (68%) rename kubernetes/docs/{V1alpha2NamedResourcesAllocationResult.md => V1alpha3DeviceClassConfiguration.md} (58%) create mode 100644 kubernetes/docs/V1alpha3DeviceClassList.md create mode 100644 kubernetes/docs/V1alpha3DeviceClassSpec.md create mode 100644 kubernetes/docs/V1alpha3DeviceConstraint.md create mode 100644 kubernetes/docs/V1alpha3DeviceRequest.md create mode 100644 kubernetes/docs/V1alpha3DeviceRequestAllocationResult.md rename kubernetes/docs/{V1alpha2NamedResourcesIntSlice.md => V1alpha3DeviceSelector.md} (62%) create mode 100644 kubernetes/docs/V1alpha3OpaqueDeviceConfiguration.md rename kubernetes/docs/{V1alpha2PodSchedulingContext.md => V1alpha3PodSchedulingContext.md} (86%) rename kubernetes/docs/{V1alpha2PodSchedulingContextList.md => V1alpha3PodSchedulingContextList.md} (92%) rename kubernetes/docs/{V1alpha2PodSchedulingContextSpec.md => V1alpha3PodSchedulingContextSpec.md} (96%) rename kubernetes/docs/{V1alpha2PodSchedulingContextStatus.md => V1alpha3PodSchedulingContextStatus.md} (76%) create mode 100644 kubernetes/docs/V1alpha3ResourceClaim.md rename kubernetes/docs/{V1alpha2ResourceClaimConsumerReference.md => V1alpha3ResourceClaimConsumerReference.md} (95%) rename kubernetes/docs/{V1alpha2ResourceClaimList.md => V1alpha3ResourceClaimList.md} (92%) rename kubernetes/docs/{V1alpha2ResourceClaimSchedulingStatus.md => V1alpha3ResourceClaimSchedulingStatus.md} (91%) create mode 100644 kubernetes/docs/V1alpha3ResourceClaimSpec.md create mode 100644 kubernetes/docs/V1alpha3ResourceClaimStatus.md rename kubernetes/docs/{V1alpha2ResourceClaimTemplate.md => V1alpha3ResourceClaimTemplate.md} (80%) rename kubernetes/docs/{V1alpha2ResourceClaimTemplateList.md => V1alpha3ResourceClaimTemplateList.md} (91%) rename kubernetes/docs/{V1alpha2ResourceClaimTemplateSpec.md => V1alpha3ResourceClaimTemplateSpec.md} (81%) create mode 100644 kubernetes/docs/V1alpha3ResourcePool.md create mode 100644 kubernetes/docs/V1alpha3ResourceSlice.md rename kubernetes/docs/{V1alpha2ResourceSliceList.md => V1alpha3ResourceSliceList.md} (87%) create mode 100644 kubernetes/docs/V1alpha3ResourceSliceSpec.md rename kubernetes/docs/{V1alpha1IPAddress.md => V1beta1IPAddress.md} (94%) rename kubernetes/docs/{V1alpha1IPAddressList.md => V1beta1IPAddressList.md} (89%) rename kubernetes/docs/{V1alpha1IPAddressSpec.md => V1beta1IPAddressSpec.md} (75%) rename kubernetes/docs/{V1alpha1ParentReference.md => V1beta1ParentReference.md} (96%) rename kubernetes/docs/{V1alpha1ServiceCIDR.md => V1beta1ServiceCIDR.md} (85%) rename kubernetes/docs/{V1alpha1ServiceCIDRList.md => V1beta1ServiceCIDRList.md} (88%) rename kubernetes/docs/{V1alpha1ServiceCIDRSpec.md => V1beta1ServiceCIDRSpec.md} (96%) rename kubernetes/docs/{V1alpha1ServiceCIDRStatus.md => V1beta1ServiceCIDRStatus.md} (94%) create mode 100644 kubernetes/docs/V1beta1VolumeAttributesClass.md create mode 100644 kubernetes/docs/V1beta1VolumeAttributesClassList.md diff --git a/kubernetes/client/api/__init__.py b/kubernetes/client/api/__init__.py index 1ff4b8308..776cbe85b 100644 --- a/kubernetes/client/api/__init__.py +++ b/kubernetes/client/api/__init__.py @@ -31,6 +31,7 @@ from kubernetes.client.api.certificates_v1_api import CertificatesV1Api from kubernetes.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api from kubernetes.client.api.coordination_api import CoordinationApi from kubernetes.client.api.coordination_v1_api import CoordinationV1Api +from kubernetes.client.api.coordination_v1alpha1_api import CoordinationV1alpha1Api from kubernetes.client.api.core_api import CoreApi from kubernetes.client.api.core_v1_api import CoreV1Api from kubernetes.client.api.custom_objects_api import CustomObjectsApi @@ -46,7 +47,7 @@ from kubernetes.client.api.internal_apiserver_v1alpha1_api import InternalApiser from kubernetes.client.api.logs_api import LogsApi from kubernetes.client.api.networking_api import NetworkingApi from kubernetes.client.api.networking_v1_api import NetworkingV1Api -from kubernetes.client.api.networking_v1alpha1_api import NetworkingV1alpha1Api +from kubernetes.client.api.networking_v1beta1_api import NetworkingV1beta1Api from kubernetes.client.api.node_api import NodeApi from kubernetes.client.api.node_v1_api import NodeV1Api from kubernetes.client.api.openid_api import OpenidApi @@ -55,12 +56,13 @@ from kubernetes.client.api.policy_v1_api import PolicyV1Api from kubernetes.client.api.rbac_authorization_api import RbacAuthorizationApi from kubernetes.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api from kubernetes.client.api.resource_api import ResourceApi -from kubernetes.client.api.resource_v1alpha2_api import ResourceV1alpha2Api +from kubernetes.client.api.resource_v1alpha3_api import ResourceV1alpha3Api from kubernetes.client.api.scheduling_api import SchedulingApi from kubernetes.client.api.scheduling_v1_api import SchedulingV1Api from kubernetes.client.api.storage_api import StorageApi from kubernetes.client.api.storage_v1_api import StorageV1Api from kubernetes.client.api.storage_v1alpha1_api import StorageV1alpha1Api +from kubernetes.client.api.storage_v1beta1_api import StorageV1beta1Api from kubernetes.client.api.storagemigration_api import StoragemigrationApi from kubernetes.client.api.storagemigration_v1alpha1_api import StoragemigrationV1alpha1Api from kubernetes.client.api.version_api import VersionApi diff --git a/kubernetes/client/api/admissionregistration_api.py b/kubernetes/client/api/admissionregistration_api.py index f629b7153..508f82059 100644 --- a/kubernetes/client/api/admissionregistration_api.py +++ b/kubernetes/client/api/admissionregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/admissionregistration_v1_api.py b/kubernetes/client/api/admissionregistration_v1_api.py index bf9891628..84e37ed2a 100644 --- a/kubernetes/client/api/admissionregistration_v1_api.py +++ b/kubernetes/client/api/admissionregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/admissionregistration_v1alpha1_api.py b/kubernetes/client/api/admissionregistration_v1alpha1_api.py index dbdffe0af..6820c9e88 100644 --- a/kubernetes/client/api/admissionregistration_v1alpha1_api.py +++ b/kubernetes/client/api/admissionregistration_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/admissionregistration_v1beta1_api.py b/kubernetes/client/api/admissionregistration_v1beta1_api.py index 253d87074..6e86ad300 100644 --- a/kubernetes/client/api/admissionregistration_v1beta1_api.py +++ b/kubernetes/client/api/admissionregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apiextensions_api.py b/kubernetes/client/api/apiextensions_api.py index 462e760f1..7e05bcc7c 100644 --- a/kubernetes/client/api/apiextensions_api.py +++ b/kubernetes/client/api/apiextensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apiextensions_v1_api.py b/kubernetes/client/api/apiextensions_v1_api.py index c346abcc3..a4833fb7c 100644 --- a/kubernetes/client/api/apiextensions_v1_api.py +++ b/kubernetes/client/api/apiextensions_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apiregistration_api.py b/kubernetes/client/api/apiregistration_api.py index 739aa7858..26f48bb81 100644 --- a/kubernetes/client/api/apiregistration_api.py +++ b/kubernetes/client/api/apiregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apiregistration_v1_api.py b/kubernetes/client/api/apiregistration_v1_api.py index 3484fe954..10ae763c1 100644 --- a/kubernetes/client/api/apiregistration_v1_api.py +++ b/kubernetes/client/api/apiregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apis_api.py b/kubernetes/client/api/apis_api.py index fdad40cde..737be4b97 100644 --- a/kubernetes/client/api/apis_api.py +++ b/kubernetes/client/api/apis_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apps_api.py b/kubernetes/client/api/apps_api.py index f365dc59e..b7daf2691 100644 --- a/kubernetes/client/api/apps_api.py +++ b/kubernetes/client/api/apps_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apps_v1_api.py b/kubernetes/client/api/apps_v1_api.py index cdde677fd..e5416d780 100644 --- a/kubernetes/client/api/apps_v1_api.py +++ b/kubernetes/client/api/apps_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authentication_api.py b/kubernetes/client/api/authentication_api.py index 11e9e1c58..f050433cf 100644 --- a/kubernetes/client/api/authentication_api.py +++ b/kubernetes/client/api/authentication_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authentication_v1_api.py b/kubernetes/client/api/authentication_v1_api.py index b22e5f0f4..8addbfe13 100644 --- a/kubernetes/client/api/authentication_v1_api.py +++ b/kubernetes/client/api/authentication_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authentication_v1alpha1_api.py b/kubernetes/client/api/authentication_v1alpha1_api.py index 8ef531562..19f3cb287 100644 --- a/kubernetes/client/api/authentication_v1alpha1_api.py +++ b/kubernetes/client/api/authentication_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authentication_v1beta1_api.py b/kubernetes/client/api/authentication_v1beta1_api.py index 5271de544..9b6d2723c 100644 --- a/kubernetes/client/api/authentication_v1beta1_api.py +++ b/kubernetes/client/api/authentication_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authorization_api.py b/kubernetes/client/api/authorization_api.py index 90bbfa8fd..7abbb61fc 100644 --- a/kubernetes/client/api/authorization_api.py +++ b/kubernetes/client/api/authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authorization_v1_api.py b/kubernetes/client/api/authorization_v1_api.py index ade2451a8..dcfdf5a9c 100644 --- a/kubernetes/client/api/authorization_v1_api.py +++ b/kubernetes/client/api/authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/autoscaling_api.py b/kubernetes/client/api/autoscaling_api.py index c0a1336bd..037753d38 100644 --- a/kubernetes/client/api/autoscaling_api.py +++ b/kubernetes/client/api/autoscaling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/autoscaling_v1_api.py b/kubernetes/client/api/autoscaling_v1_api.py index fc2130bf1..ba775addb 100644 --- a/kubernetes/client/api/autoscaling_v1_api.py +++ b/kubernetes/client/api/autoscaling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/autoscaling_v2_api.py b/kubernetes/client/api/autoscaling_v2_api.py index b900e333a..63d58defc 100644 --- a/kubernetes/client/api/autoscaling_v2_api.py +++ b/kubernetes/client/api/autoscaling_v2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/batch_api.py b/kubernetes/client/api/batch_api.py index b62f7b81b..2f937b950 100644 --- a/kubernetes/client/api/batch_api.py +++ b/kubernetes/client/api/batch_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/batch_v1_api.py b/kubernetes/client/api/batch_v1_api.py index 5763c0ec8..6e1b7773d 100644 --- a/kubernetes/client/api/batch_v1_api.py +++ b/kubernetes/client/api/batch_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/certificates_api.py b/kubernetes/client/api/certificates_api.py index 39001a023..feaa7a870 100644 --- a/kubernetes/client/api/certificates_api.py +++ b/kubernetes/client/api/certificates_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/certificates_v1_api.py b/kubernetes/client/api/certificates_v1_api.py index 7fc7f7476..8f4914e54 100644 --- a/kubernetes/client/api/certificates_v1_api.py +++ b/kubernetes/client/api/certificates_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/certificates_v1alpha1_api.py b/kubernetes/client/api/certificates_v1alpha1_api.py index af7bba3ee..2fbc082a3 100644 --- a/kubernetes/client/api/certificates_v1alpha1_api.py +++ b/kubernetes/client/api/certificates_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/coordination_api.py b/kubernetes/client/api/coordination_api.py index 0c4a44ad6..8ae1d9957 100644 --- a/kubernetes/client/api/coordination_api.py +++ b/kubernetes/client/api/coordination_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/coordination_v1_api.py b/kubernetes/client/api/coordination_v1_api.py index ccaad8cea..a05d719e4 100644 --- a/kubernetes/client/api/coordination_v1_api.py +++ b/kubernetes/client/api/coordination_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/coordination_v1alpha1_api.py b/kubernetes/client/api/coordination_v1alpha1_api.py new file mode 100644 index 000000000..951bd2115 --- /dev/null +++ b/kubernetes/client/api/coordination_v1alpha1_api.py @@ -0,0 +1,1392 @@ +# 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.31 + 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.client.api_client import ApiClient +from kubernetes.client.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class CoordinationV1alpha1Api(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_lease_candidate(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_lease_candidate # noqa: E501 + + create a LeaseCandidate # 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_lease_candidate(namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1alpha1LeaseCandidate body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :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. + :return: V1alpha1LeaseCandidate + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_namespaced_lease_candidate_with_http_info(namespace, body, **kwargs) # noqa: E501 + + def create_namespaced_lease_candidate_with_http_info(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_lease_candidate # noqa: E501 + + create a LeaseCandidate # 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_lease_candidate_with_http_info(namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1alpha1LeaseCandidate body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + 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' + ] + ) + + 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_lease_candidate" % 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 ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `create_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_namespaced_lease_candidate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1LeaseCandidate', # noqa: E501 + 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) + + def delete_collection_namespaced_lease_candidate(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_lease_candidate # noqa: E501 + + delete collection of LeaseCandidate # 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_lease_candidate(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _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. + :param str 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 + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param bool 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. + :param str 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :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. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_lease_candidate_with_http_info(namespace, **kwargs) # noqa: E501 + + def delete_collection_namespaced_lease_candidate_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_lease_candidate # noqa: E501 + + delete collection of LeaseCandidate # 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_lease_candidate_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str _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. + :param str 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 + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param bool 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. + :param str 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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_lease_candidate" % 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 ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_lease_candidate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + 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) + + def delete_namespaced_lease_candidate(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_lease_candidate # noqa: E501 + + delete a LeaseCandidate # 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_lease_candidate(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str 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 + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str 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. + :param V1DeleteOptions body: + :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. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_namespaced_lease_candidate_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def delete_namespaced_lease_candidate_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_lease_candidate # noqa: E501 + + delete a LeaseCandidate # 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_lease_candidate_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param str 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 + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str 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. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_lease_candidate" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `delete_namespaced_lease_candidate`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + 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) + + 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 bool: execute request asynchronously + :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. + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + 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 bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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 = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1alpha1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIResourceList', # noqa: E501 + 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) + + def list_lease_candidate_for_all_namespaces(self, **kwargs): # noqa: E501 + """list_lease_candidate_for_all_namespaces # noqa: E501 + + list or watch objects of kind LeaseCandidate # 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_lease_candidate_for_all_namespaces(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param bool 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. + :param str _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. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param str 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). + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :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. + :return: V1alpha1LeaseCandidateList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_lease_candidate_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + + def list_lease_candidate_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 + """list_lease_candidate_for_all_namespaces # noqa: E501 + + list or watch objects of kind LeaseCandidate # 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_lease_candidate_for_all_namespaces_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param bool 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. + :param str _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. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param str 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). + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha1LeaseCandidateList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + 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' + ] + ) + + 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_lease_candidate_for_all_namespaces" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + 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/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1alpha1/leasecandidates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1LeaseCandidateList', # noqa: E501 + 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) + + def list_namespaced_lease_candidate(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_lease_candidate # noqa: E501 + + list or watch objects of kind LeaseCandidate # 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_lease_candidate(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool 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. + :param str _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. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :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. + :return: V1alpha1LeaseCandidateList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_namespaced_lease_candidate_with_http_info(namespace, **kwargs) # noqa: E501 + + def list_namespaced_lease_candidate_with_http_info(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_lease_candidate # noqa: E501 + + list or watch objects of kind LeaseCandidate # 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_lease_candidate_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param bool 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. + :param str _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. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha1LeaseCandidateList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + 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' + ] + ) + + 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_lease_candidate" % 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 ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `list_namespaced_lease_candidate`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'namespace' in local_var_params: + path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + 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/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1LeaseCandidateList', # noqa: E501 + 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) + + def patch_namespaced_lease_candidate(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_lease_candidate # noqa: E501 + + partially update the specified LeaseCandidate # 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_lease_candidate(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str 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). + :param str 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 + :param str 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). + :param str 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. + :param bool 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. + :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. + :return: V1alpha1LeaseCandidate + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_lease_candidate_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_lease_candidate_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_lease_candidate # noqa: E501 + + partially update the specified LeaseCandidate # 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_lease_candidate_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str 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). + :param str 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 + :param str 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). + :param str 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. + :param bool 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. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + 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' + ] + ) + + 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_lease_candidate" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `patch_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_namespaced_lease_candidate`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1LeaseCandidate', # noqa: E501 + 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) + + def read_namespaced_lease_candidate(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_lease_candidate # noqa: E501 + + read the specified LeaseCandidate # 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_lease_candidate(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :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. + :return: V1alpha1LeaseCandidate + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_namespaced_lease_candidate_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def read_namespaced_lease_candidate_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_lease_candidate # noqa: E501 + + read the specified LeaseCandidate # 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_lease_candidate_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_lease_candidate" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `read_namespaced_lease_candidate`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1LeaseCandidate', # noqa: E501 + 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) + + def replace_namespaced_lease_candidate(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_lease_candidate # noqa: E501 + + replace the specified LeaseCandidate # 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_lease_candidate(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1alpha1LeaseCandidate body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :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. + :return: V1alpha1LeaseCandidate + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_namespaced_lease_candidate_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def replace_namespaced_lease_candidate_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_lease_candidate # noqa: E501 + + replace the specified LeaseCandidate # 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_lease_candidate_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the LeaseCandidate (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1alpha1LeaseCandidate body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + 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' + ] + ) + + 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_lease_candidate" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'namespace' is set + if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 + local_var_params['namespace'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `replace_namespaced_lease_candidate`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_namespaced_lease_candidate`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1LeaseCandidate', # noqa: E501 + 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) diff --git a/kubernetes/client/api/core_api.py b/kubernetes/client/api/core_api.py index bca933654..a009fb0fa 100644 --- a/kubernetes/client/api/core_api.py +++ b/kubernetes/client/api/core_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/core_v1_api.py b/kubernetes/client/api/core_v1_api.py index 698b8ba27..f697bdbc8 100644 --- a/kubernetes/client/api/core_v1_api.py +++ b/kubernetes/client/api/core_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/discovery_api.py b/kubernetes/client/api/discovery_api.py index 78d4826df..3dc10661d 100644 --- a/kubernetes/client/api/discovery_api.py +++ b/kubernetes/client/api/discovery_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/discovery_v1_api.py b/kubernetes/client/api/discovery_v1_api.py index 08cd9316a..e30a384e7 100644 --- a/kubernetes/client/api/discovery_v1_api.py +++ b/kubernetes/client/api/discovery_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/events_api.py b/kubernetes/client/api/events_api.py index f7b032ff2..02f315c81 100644 --- a/kubernetes/client/api/events_api.py +++ b/kubernetes/client/api/events_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/events_v1_api.py b/kubernetes/client/api/events_v1_api.py index d5841fea6..cb2ceee02 100644 --- a/kubernetes/client/api/events_v1_api.py +++ b/kubernetes/client/api/events_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/flowcontrol_apiserver_api.py b/kubernetes/client/api/flowcontrol_apiserver_api.py index b64fbbd5c..bbc9e39c2 100644 --- a/kubernetes/client/api/flowcontrol_apiserver_api.py +++ b/kubernetes/client/api/flowcontrol_apiserver_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/flowcontrol_apiserver_v1_api.py b/kubernetes/client/api/flowcontrol_apiserver_v1_api.py index 902c7d818..483197621 100644 --- a/kubernetes/client/api/flowcontrol_apiserver_v1_api.py +++ b/kubernetes/client/api/flowcontrol_apiserver_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/flowcontrol_apiserver_v1beta3_api.py b/kubernetes/client/api/flowcontrol_apiserver_v1beta3_api.py index 81d6e6e29..c6c84177e 100644 --- a/kubernetes/client/api/flowcontrol_apiserver_v1beta3_api.py +++ b/kubernetes/client/api/flowcontrol_apiserver_v1beta3_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/internal_apiserver_api.py b/kubernetes/client/api/internal_apiserver_api.py index e9cecb142..a0c3dec33 100644 --- a/kubernetes/client/api/internal_apiserver_api.py +++ b/kubernetes/client/api/internal_apiserver_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/internal_apiserver_v1alpha1_api.py b/kubernetes/client/api/internal_apiserver_v1alpha1_api.py index 8bc0a939f..272e22998 100644 --- a/kubernetes/client/api/internal_apiserver_v1alpha1_api.py +++ b/kubernetes/client/api/internal_apiserver_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/logs_api.py b/kubernetes/client/api/logs_api.py index 686851670..c710066ab 100644 --- a/kubernetes/client/api/logs_api.py +++ b/kubernetes/client/api/logs_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/networking_api.py b/kubernetes/client/api/networking_api.py index 1b0bf75a3..917f9525a 100644 --- a/kubernetes/client/api/networking_api.py +++ b/kubernetes/client/api/networking_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/networking_v1_api.py b/kubernetes/client/api/networking_v1_api.py index 9148d6d05..a68704a68 100644 --- a/kubernetes/client/api/networking_v1_api.py +++ b/kubernetes/client/api/networking_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/networking_v1alpha1_api.py b/kubernetes/client/api/networking_v1beta1_api.py similarity index 97% rename from kubernetes/client/api/networking_v1alpha1_api.py rename to kubernetes/client/api/networking_v1beta1_api.py index be2ffd784..88b37d466 100644 --- a/kubernetes/client/api/networking_v1alpha1_api.py +++ b/kubernetes/client/api/networking_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -24,7 +24,7 @@ from kubernetes.client.exceptions import ( # noqa: F401 ) -class NetworkingV1alpha1Api(object): +class NetworkingV1beta1Api(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -46,7 +46,7 @@ class NetworkingV1alpha1Api(object): >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha1IPAddress body: (required) + :param V1beta1IPAddress body: (required) :param str 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). :param str 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 :param str 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. @@ -58,7 +58,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1IPAddress + :return: V1beta1IPAddress If the method is called asynchronously, returns the request thread. """ @@ -75,7 +75,7 @@ class NetworkingV1alpha1Api(object): >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha1IPAddress body: (required) + :param V1beta1IPAddress body: (required) :param str 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). :param str 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 :param str 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. @@ -89,7 +89,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1IPAddress, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1IPAddress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -155,14 +155,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/ipaddresses', 'POST', + '/apis/networking.k8s.io/v1beta1/ipaddresses', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1IPAddress', # noqa: E501 + response_type='V1beta1IPAddress', # noqa: E501 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 @@ -180,7 +180,7 @@ class NetworkingV1alpha1Api(object): >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha1ServiceCIDR body: (required) + :param V1beta1ServiceCIDR body: (required) :param str 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). :param str 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 :param str 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. @@ -192,7 +192,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1ServiceCIDR + :return: V1beta1ServiceCIDR If the method is called asynchronously, returns the request thread. """ @@ -209,7 +209,7 @@ class NetworkingV1alpha1Api(object): >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha1ServiceCIDR body: (required) + :param V1beta1ServiceCIDR body: (required) :param str 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). :param str 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 :param str 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. @@ -223,7 +223,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -289,14 +289,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs', 'POST', + '/apis/networking.k8s.io/v1beta1/servicecidrs', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1ServiceCIDR', # noqa: E501 + response_type='V1beta1ServiceCIDR', # noqa: E501 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 @@ -464,7 +464,7 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/ipaddresses', 'DELETE', + '/apis/networking.k8s.io/v1beta1/ipaddresses', 'DELETE', path_params, query_params, header_params, @@ -639,7 +639,7 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs', 'DELETE', + '/apis/networking.k8s.io/v1beta1/servicecidrs', 'DELETE', path_params, query_params, header_params, @@ -783,7 +783,7 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}', 'DELETE', + '/apis/networking.k8s.io/v1beta1/ipaddresses/{name}', 'DELETE', path_params, query_params, header_params, @@ -927,7 +927,7 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}', 'DELETE', + '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}', 'DELETE', path_params, query_params, header_params, @@ -1032,7 +1032,7 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/', 'GET', + '/apis/networking.k8s.io/v1beta1/', 'GET', path_params, query_params, header_params, @@ -1075,7 +1075,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1IPAddressList + :return: V1beta1IPAddressList If the method is called asynchronously, returns the request thread. """ @@ -1112,7 +1112,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1IPAddressList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1IPAddressList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1192,14 +1192,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/ipaddresses', 'GET', + '/apis/networking.k8s.io/v1beta1/ipaddresses', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1IPAddressList', # noqa: E501 + response_type='V1beta1IPAddressList', # noqa: E501 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 @@ -1235,7 +1235,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1ServiceCIDRList + :return: V1beta1ServiceCIDRList If the method is called asynchronously, returns the request thread. """ @@ -1272,7 +1272,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1ServiceCIDRList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1ServiceCIDRList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1352,14 +1352,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs', 'GET', + '/apis/networking.k8s.io/v1beta1/servicecidrs', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1ServiceCIDRList', # noqa: E501 + response_type='V1beta1ServiceCIDRList', # noqa: E501 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 @@ -1391,7 +1391,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1IPAddress + :return: V1beta1IPAddress If the method is called asynchronously, returns the request thread. """ @@ -1424,7 +1424,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1IPAddress, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1IPAddress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1504,14 +1504,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}', 'PATCH', + '/apis/networking.k8s.io/v1beta1/ipaddresses/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1IPAddress', # noqa: E501 + response_type='V1beta1IPAddress', # noqa: E501 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 @@ -1543,7 +1543,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1ServiceCIDR + :return: V1beta1ServiceCIDR If the method is called asynchronously, returns the request thread. """ @@ -1576,7 +1576,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1656,14 +1656,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}', 'PATCH', + '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1ServiceCIDR', # noqa: E501 + response_type='V1beta1ServiceCIDR', # noqa: E501 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 @@ -1695,7 +1695,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1ServiceCIDR + :return: V1beta1ServiceCIDR If the method is called asynchronously, returns the request thread. """ @@ -1728,7 +1728,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1808,14 +1808,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status', 'PATCH', + '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1ServiceCIDR', # noqa: E501 + response_type='V1beta1ServiceCIDR', # noqa: E501 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 @@ -1842,7 +1842,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1IPAddress + :return: V1beta1IPAddress If the method is called asynchronously, returns the request thread. """ @@ -1870,7 +1870,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1IPAddress, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1IPAddress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1927,14 +1927,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}', 'GET', + '/apis/networking.k8s.io/v1beta1/ipaddresses/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1IPAddress', # noqa: E501 + response_type='V1beta1IPAddress', # noqa: E501 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 @@ -1961,7 +1961,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1ServiceCIDR + :return: V1beta1ServiceCIDR If the method is called asynchronously, returns the request thread. """ @@ -1989,7 +1989,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2046,14 +2046,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}', 'GET', + '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1ServiceCIDR', # noqa: E501 + response_type='V1beta1ServiceCIDR', # noqa: E501 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 @@ -2080,7 +2080,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1ServiceCIDR + :return: V1beta1ServiceCIDR If the method is called asynchronously, returns the request thread. """ @@ -2108,7 +2108,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2165,14 +2165,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status', 'GET', + '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1ServiceCIDR', # noqa: E501 + response_type='V1beta1ServiceCIDR', # noqa: E501 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 @@ -2191,7 +2191,7 @@ class NetworkingV1alpha1Api(object): :param async_req bool: execute request asynchronously :param str name: name of the IPAddress (required) - :param V1alpha1IPAddress body: (required) + :param V1beta1IPAddress body: (required) :param str 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). :param str 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 :param str 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. @@ -2203,7 +2203,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1IPAddress + :return: V1beta1IPAddress If the method is called asynchronously, returns the request thread. """ @@ -2221,7 +2221,7 @@ class NetworkingV1alpha1Api(object): :param async_req bool: execute request asynchronously :param str name: name of the IPAddress (required) - :param V1alpha1IPAddress body: (required) + :param V1beta1IPAddress body: (required) :param str 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). :param str 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 :param str 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. @@ -2235,7 +2235,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1IPAddress, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1IPAddress, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2308,14 +2308,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}', 'PUT', + '/apis/networking.k8s.io/v1beta1/ipaddresses/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1IPAddress', # noqa: E501 + response_type='V1beta1IPAddress', # noqa: E501 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 @@ -2334,7 +2334,7 @@ class NetworkingV1alpha1Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ServiceCIDR (required) - :param V1alpha1ServiceCIDR body: (required) + :param V1beta1ServiceCIDR body: (required) :param str 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). :param str 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 :param str 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. @@ -2346,7 +2346,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1ServiceCIDR + :return: V1beta1ServiceCIDR If the method is called asynchronously, returns the request thread. """ @@ -2364,7 +2364,7 @@ class NetworkingV1alpha1Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ServiceCIDR (required) - :param V1alpha1ServiceCIDR body: (required) + :param V1beta1ServiceCIDR body: (required) :param str 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). :param str 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 :param str 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. @@ -2378,7 +2378,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2451,14 +2451,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}', 'PUT', + '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1ServiceCIDR', # noqa: E501 + response_type='V1beta1ServiceCIDR', # noqa: E501 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 @@ -2477,7 +2477,7 @@ class NetworkingV1alpha1Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ServiceCIDR (required) - :param V1alpha1ServiceCIDR body: (required) + :param V1beta1ServiceCIDR body: (required) :param str 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). :param str 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 :param str 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. @@ -2489,7 +2489,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1ServiceCIDR + :return: V1beta1ServiceCIDR If the method is called asynchronously, returns the request thread. """ @@ -2507,7 +2507,7 @@ class NetworkingV1alpha1Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ServiceCIDR (required) - :param V1alpha1ServiceCIDR body: (required) + :param V1beta1ServiceCIDR body: (required) :param str 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). :param str 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 :param str 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. @@ -2521,7 +2521,7 @@ class NetworkingV1alpha1Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2594,14 +2594,14 @@ class NetworkingV1alpha1Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status', 'PUT', + '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1ServiceCIDR', # noqa: E501 + response_type='V1beta1ServiceCIDR', # noqa: E501 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 diff --git a/kubernetes/client/api/node_api.py b/kubernetes/client/api/node_api.py index 152e8f94e..c1cc16fee 100644 --- a/kubernetes/client/api/node_api.py +++ b/kubernetes/client/api/node_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/node_v1_api.py b/kubernetes/client/api/node_v1_api.py index 8c24cb48b..ea7d9491e 100644 --- a/kubernetes/client/api/node_v1_api.py +++ b/kubernetes/client/api/node_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/openid_api.py b/kubernetes/client/api/openid_api.py index 6ffc34cd6..6eaed7751 100644 --- a/kubernetes/client/api/openid_api.py +++ b/kubernetes/client/api/openid_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/policy_api.py b/kubernetes/client/api/policy_api.py index 3a39b3a4e..b3057befc 100644 --- a/kubernetes/client/api/policy_api.py +++ b/kubernetes/client/api/policy_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/policy_v1_api.py b/kubernetes/client/api/policy_v1_api.py index a6c633ffa..c7f5c4daf 100644 --- a/kubernetes/client/api/policy_v1_api.py +++ b/kubernetes/client/api/policy_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/rbac_authorization_api.py b/kubernetes/client/api/rbac_authorization_api.py index 31c9d06f3..f4f5f0447 100644 --- a/kubernetes/client/api/rbac_authorization_api.py +++ b/kubernetes/client/api/rbac_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/rbac_authorization_v1_api.py b/kubernetes/client/api/rbac_authorization_v1_api.py index ab40b4acc..faea34c72 100644 --- a/kubernetes/client/api/rbac_authorization_v1_api.py +++ b/kubernetes/client/api/rbac_authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/resource_api.py b/kubernetes/client/api/resource_api.py index 2d63a7074..4926e8232 100644 --- a/kubernetes/client/api/resource_api.py +++ b/kubernetes/client/api/resource_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/resource_v1alpha2_api.py b/kubernetes/client/api/resource_v1alpha3_api.py similarity index 69% rename from kubernetes/client/api/resource_v1alpha2_api.py rename to kubernetes/client/api/resource_v1alpha3_api.py index 2bdb37036..691a1d268 100644 --- a/kubernetes/client/api/resource_v1alpha2_api.py +++ b/kubernetes/client/api/resource_v1alpha3_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -24,7 +24,7 @@ from kubernetes.client.exceptions import ( # noqa: F401 ) -class ResourceV1alpha2Api(object): +class ResourceV1alpha3Api(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -36,6 +36,140 @@ class ResourceV1alpha2Api(object): api_client = ApiClient() self.api_client = api_client + def create_device_class(self, body, **kwargs): # noqa: E501 + """create_device_class # noqa: E501 + + create a DeviceClass # 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_device_class(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1alpha3DeviceClass body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :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. + :return: V1alpha3DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_device_class_with_http_info(body, **kwargs) # noqa: E501 + + def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 + """create_device_class # noqa: E501 + + create a DeviceClass # 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_device_class_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1alpha3DeviceClass body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/deviceclasses', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha3DeviceClass', # noqa: E501 + 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) + def create_namespaced_pod_scheduling_context(self, namespace, body, **kwargs): # noqa: E501 """create_namespaced_pod_scheduling_context # noqa: E501 @@ -47,7 +181,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2PodSchedulingContext body: (required) + :param V1alpha3PodSchedulingContext body: (required) :param str 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). :param str 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 :param str 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. @@ -59,7 +193,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContext + :return: V1alpha3PodSchedulingContext If the method is called asynchronously, returns the request thread. """ @@ -77,7 +211,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2PodSchedulingContext body: (required) + :param V1alpha3PodSchedulingContext body: (required) :param str 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). :param str 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 :param str 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. @@ -91,7 +225,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -164,14 +298,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts', 'POST', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContext', # noqa: E501 + response_type='V1alpha3PodSchedulingContext', # noqa: E501 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 @@ -190,7 +324,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaim body: (required) + :param V1alpha3ResourceClaim body: (required) :param str 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). :param str 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 :param str 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. @@ -202,7 +336,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaim + :return: V1alpha3ResourceClaim If the method is called asynchronously, returns the request thread. """ @@ -220,7 +354,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaim body: (required) + :param V1alpha3ResourceClaim body: (required) :param str 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). :param str 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 :param str 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. @@ -234,7 +368,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -307,157 +441,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims', 'POST', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaim', # noqa: E501 - 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) - - def create_namespaced_resource_claim_parameters(self, namespace, body, **kwargs): # noqa: E501 - """create_namespaced_resource_claim_parameters # noqa: E501 - - create ResourceClaimParameters # 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_resource_claim_parameters(namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaimParameters body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :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. - :return: V1alpha2ResourceClaimParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.create_namespaced_resource_claim_parameters_with_http_info(namespace, body, **kwargs) # noqa: E501 - - def create_namespaced_resource_claim_parameters_with_http_info(self, namespace, body, **kwargs): # noqa: E501 - """create_namespaced_resource_claim_parameters # noqa: E501 - - create ResourceClaimParameters # 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_resource_claim_parameters_with_http_info(namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaimParameters body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClaimParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_claim_parameters" % 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 ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `create_namespaced_resource_claim_parameters`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `create_namespaced_resource_claim_parameters`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClaimParameters', # noqa: E501 + response_type='V1alpha3ResourceClaim', # noqa: E501 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 @@ -476,7 +467,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaimTemplate body: (required) + :param V1alpha3ResourceClaimTemplate body: (required) :param str 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). :param str 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 :param str 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. @@ -488,7 +479,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaimTemplate + :return: V1alpha3ResourceClaimTemplate If the method is called asynchronously, returns the request thread. """ @@ -506,7 +497,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaimTemplate body: (required) + :param V1alpha3ResourceClaimTemplate body: (required) :param str 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). :param str 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 :param str 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. @@ -520,7 +511,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -593,291 +584,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates', 'POST', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaimTemplate', # noqa: E501 - 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) - - def create_namespaced_resource_class_parameters(self, namespace, body, **kwargs): # noqa: E501 - """create_namespaced_resource_class_parameters # noqa: E501 - - create ResourceClassParameters # 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_resource_class_parameters(namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClassParameters body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :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. - :return: V1alpha2ResourceClassParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.create_namespaced_resource_class_parameters_with_http_info(namespace, body, **kwargs) # noqa: E501 - - def create_namespaced_resource_class_parameters_with_http_info(self, namespace, body, **kwargs): # noqa: E501 - """create_namespaced_resource_class_parameters # noqa: E501 - - create ResourceClassParameters # 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_resource_class_parameters_with_http_info(namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClassParameters body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClassParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_class_parameters" % 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 ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `create_namespaced_resource_class_parameters`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `create_namespaced_resource_class_parameters`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClassParameters', # noqa: E501 - 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) - - def create_resource_class(self, body, **kwargs): # noqa: E501 - """create_resource_class # noqa: E501 - - create a ResourceClass # 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_resource_class(body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param V1alpha2ResourceClass body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :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. - :return: V1alpha2ResourceClass - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.create_resource_class_with_http_info(body, **kwargs) # noqa: E501 - - def create_resource_class_with_http_info(self, body, **kwargs): # noqa: E501 - """create_resource_class # noqa: E501 - - create a ResourceClass # 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_resource_class_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param V1alpha2ResourceClass body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClass, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - 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_resource_class" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `create_resource_class`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclasses', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClass', # noqa: E501 + response_type='V1alpha3ResourceClaimTemplate', # noqa: E501 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 @@ -895,7 +609,7 @@ class ResourceV1alpha2Api(object): >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha2ResourceSlice body: (required) + :param V1alpha3ResourceSlice body: (required) :param str 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). :param str 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 :param str 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. @@ -907,7 +621,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceSlice + :return: V1alpha3ResourceSlice If the method is called asynchronously, returns the request thread. """ @@ -924,7 +638,7 @@ class ResourceV1alpha2Api(object): >>> result = thread.get() :param async_req bool: execute request asynchronously - :param V1alpha2ResourceSlice body: (required) + :param V1alpha3ResourceSlice body: (required) :param str 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). :param str 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 :param str 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. @@ -938,7 +652,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1004,14 +718,189 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceslices', 'POST', + '/apis/resource.k8s.io/v1alpha3/resourceslices', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceSlice', # noqa: E501 + response_type='V1alpha3ResourceSlice', # noqa: E501 + 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) + + def delete_collection_device_class(self, **kwargs): # noqa: E501 + """delete_collection_device_class # noqa: E501 + + delete collection of DeviceClass # 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_device_class(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str 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). + :param str _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. + :param str 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 + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param bool 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. + :param str 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :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. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_device_class_with_http_info(**kwargs) # noqa: E501 + + def delete_collection_device_class_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_device_class # noqa: E501 + + delete collection of DeviceClass # 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_device_class_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str 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). + :param str _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. + :param str 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 + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param bool 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. + :param str 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/deviceclasses', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 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 @@ -1188,7 +1077,7 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts', 'DELETE', path_params, query_params, header_params, @@ -1372,191 +1261,7 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Status', # noqa: E501 - 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) - - def delete_collection_namespaced_resource_claim_parameters(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_resource_claim_parameters # noqa: E501 - - delete collection of ResourceClaimParameters # 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_resource_claim_parameters(namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _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. - :param str 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 - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param bool 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. - :param str 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :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. - :return: V1Status - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_collection_namespaced_resource_claim_parameters_with_http_info(namespace, **kwargs) # noqa: E501 - - def delete_collection_namespaced_resource_claim_parameters_with_http_info(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_resource_claim_parameters # noqa: E501 - - delete collection of ResourceClaimParameters # 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_resource_claim_parameters_with_http_info(namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _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. - :param str 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 - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param bool 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. - :param str 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'pretty', - '_continue', - 'dry_run', - 'field_selector', - 'grace_period_seconds', - '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' - ] - ) - - 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_resource_claim_parameters" % 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 ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_resource_claim_parameters`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 - query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 - query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 - if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 - query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims', 'DELETE', path_params, query_params, header_params, @@ -1740,366 +1445,7 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Status', # noqa: E501 - 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) - - def delete_collection_namespaced_resource_class_parameters(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_resource_class_parameters # noqa: E501 - - delete collection of ResourceClassParameters # 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_resource_class_parameters(namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _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. - :param str 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 - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param bool 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. - :param str 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :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. - :return: V1Status - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_collection_namespaced_resource_class_parameters_with_http_info(namespace, **kwargs) # noqa: E501 - - def delete_collection_namespaced_resource_class_parameters_with_http_info(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_resource_class_parameters # noqa: E501 - - delete collection of ResourceClassParameters # 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_resource_class_parameters_with_http_info(namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str _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. - :param str 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 - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param bool 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. - :param str 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'namespace', - 'pretty', - '_continue', - 'dry_run', - 'field_selector', - 'grace_period_seconds', - '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' - ] - ) - - 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_resource_class_parameters" % 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 ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_resource_class_parameters`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 - query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 - query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 - if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 - query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Status', # noqa: E501 - 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) - - def delete_collection_resource_class(self, **kwargs): # noqa: E501 - """delete_collection_resource_class # noqa: E501 - - delete collection of ResourceClass # 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_resource_class(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str 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). - :param str _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. - :param str 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 - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param bool 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. - :param str 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :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. - :return: V1Status - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_collection_resource_class_with_http_info(**kwargs) # noqa: E501 - - def delete_collection_resource_class_with_http_info(self, **kwargs): # noqa: E501 - """delete_collection_resource_class # noqa: E501 - - delete collection of ResourceClass # 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_resource_class_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str 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). - :param str _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. - :param str 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 - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param bool 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. - :param str 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'pretty', - '_continue', - 'dry_run', - 'field_selector', - 'grace_period_seconds', - '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' - ] - ) - - 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_resource_class" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 - query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 - query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 - if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 - query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclasses', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates', 'DELETE', path_params, query_params, header_params, @@ -2274,7 +1620,7 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceslices', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/resourceslices', 'DELETE', path_params, query_params, header_params, @@ -2289,6 +1635,150 @@ class ResourceV1alpha2Api(object): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def delete_device_class(self, name, **kwargs): # noqa: E501 + """delete_device_class # noqa: E501 + + delete a DeviceClass # 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_device_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str 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). + :param str 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 + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str 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. + :param V1DeleteOptions body: + :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. + :return: V1alpha3DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_device_class_with_http_info(name, **kwargs) # noqa: E501 + + def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_device_class # noqa: E501 + + delete a DeviceClass # 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_device_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str 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). + :param str 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 + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str 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. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_device_class" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha3DeviceClass', # noqa: E501 + 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) + def delete_namespaced_pod_scheduling_context(self, name, namespace, **kwargs): # noqa: E501 """delete_namespaced_pod_scheduling_context # noqa: E501 @@ -2314,7 +1804,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContext + :return: V1alpha3PodSchedulingContext If the method is called asynchronously, returns the request thread. """ @@ -2348,7 +1838,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2427,14 +1917,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContext', # noqa: E501 + response_type='V1alpha3PodSchedulingContext', # noqa: E501 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 @@ -2467,7 +1957,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaim + :return: V1alpha3ResourceClaim If the method is called asynchronously, returns the request thread. """ @@ -2501,7 +1991,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2580,167 +2070,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaim', # noqa: E501 - 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) - - def delete_namespaced_resource_claim_parameters(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_resource_claim_parameters # noqa: E501 - - delete ResourceClaimParameters # 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_resource_claim_parameters(name, namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str 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 - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str 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. - :param V1DeleteOptions body: - :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. - :return: V1alpha2ResourceClaimParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_namespaced_resource_claim_parameters_with_http_info(name, namespace, **kwargs) # noqa: E501 - - def delete_namespaced_resource_claim_parameters_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_resource_claim_parameters # noqa: E501 - - delete ResourceClaimParameters # 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_resource_claim_parameters_with_http_info(name, namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str 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 - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str 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. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClaimParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'pretty', - 'dry_run', - 'grace_period_seconds', - 'orphan_dependents', - 'propagation_policy', - 'body' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - 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_resource_claim_parameters" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `delete_namespaced_resource_claim_parameters`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `delete_namespaced_resource_claim_parameters`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 - query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 - if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 - query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 - if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 - query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClaimParameters', # noqa: E501 + response_type='V1alpha3ResourceClaim', # noqa: E501 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 @@ -2773,7 +2110,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaimTemplate + :return: V1alpha3ResourceClaimTemplate If the method is called asynchronously, returns the request thread. """ @@ -2807,7 +2144,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -2886,311 +2223,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaimTemplate', # noqa: E501 - 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) - - def delete_namespaced_resource_class_parameters(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_resource_class_parameters # noqa: E501 - - delete ResourceClassParameters # 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_resource_class_parameters(name, namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClassParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str 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 - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str 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. - :param V1DeleteOptions body: - :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. - :return: V1alpha2ResourceClassParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_namespaced_resource_class_parameters_with_http_info(name, namespace, **kwargs) # noqa: E501 - - def delete_namespaced_resource_class_parameters_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_resource_class_parameters # noqa: E501 - - delete ResourceClassParameters # 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_resource_class_parameters_with_http_info(name, namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClassParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param str 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 - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str 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. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClassParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'pretty', - 'dry_run', - 'grace_period_seconds', - 'orphan_dependents', - 'propagation_policy', - 'body' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - 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_resource_class_parameters" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `delete_namespaced_resource_class_parameters`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `delete_namespaced_resource_class_parameters`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 - query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 - if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 - query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 - if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 - query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClassParameters', # noqa: E501 - 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) - - def delete_resource_class(self, name, **kwargs): # noqa: E501 - """delete_resource_class # noqa: E501 - - delete a ResourceClass # 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_resource_class(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClass (required) - :param str 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). - :param str 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 - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str 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. - :param V1DeleteOptions body: - :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. - :return: V1alpha2ResourceClass - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.delete_resource_class_with_http_info(name, **kwargs) # noqa: E501 - - def delete_resource_class_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_resource_class # noqa: E501 - - delete a ResourceClass # 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_resource_class_with_http_info(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClass (required) - :param str 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). - :param str 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 - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str 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. - :param V1DeleteOptions body: - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClass, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'pretty', - 'dry_run', - 'grace_period_seconds', - 'orphan_dependents', - 'propagation_policy', - 'body' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - 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_resource_class" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `delete_resource_class`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 - query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 - if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 - query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 - if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 - query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClass', # noqa: E501 + response_type='V1alpha3ResourceClaimTemplate', # noqa: E501 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 @@ -3222,7 +2262,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceSlice + :return: V1alpha3ResourceSlice If the method is called asynchronously, returns the request thread. """ @@ -3255,7 +2295,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3327,14 +2367,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceslices/{name}', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}', 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceSlice', # noqa: E501 + response_type='V1alpha3ResourceSlice', # noqa: E501 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 @@ -3432,7 +2472,7 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/', 'GET', + '/apis/resource.k8s.io/v1alpha3/', 'GET', path_params, query_params, header_params, @@ -3447,6 +2487,166 @@ class ResourceV1alpha2Api(object): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def list_device_class(self, **kwargs): # noqa: E501 + """list_device_class # noqa: E501 + + list or watch objects of kind DeviceClass # 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_device_class(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str 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). + :param bool 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. + :param str _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. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :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. + :return: V1alpha3DeviceClassList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_device_class_with_http_info(**kwargs) # noqa: E501 + + def list_device_class_with_http_info(self, **kwargs): # noqa: E501 + """list_device_class # noqa: E501 + + list or watch objects of kind DeviceClass # 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_device_class_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str 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). + :param bool 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. + :param str _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. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha3DeviceClassList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + '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' + ] + ) + + 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_device_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + 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/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/deviceclasses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha3DeviceClassList', # noqa: E501 + 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) + def list_namespaced_pod_scheduling_context(self, namespace, **kwargs): # noqa: E501 """list_namespaced_pod_scheduling_context # noqa: E501 @@ -3476,7 +2676,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContextList + :return: V1alpha3PodSchedulingContextList If the method is called asynchronously, returns the request thread. """ @@ -3514,7 +2714,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContextList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContextList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3601,14 +2801,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts', 'GET', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContextList', # noqa: E501 + response_type='V1alpha3PodSchedulingContextList', # noqa: E501 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 @@ -3645,7 +2845,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaimList + :return: V1alpha3ResourceClaimList If the method is called asynchronously, returns the request thread. """ @@ -3683,7 +2883,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -3770,183 +2970,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims', 'GET', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaimList', # noqa: E501 - 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) - - def list_namespaced_resource_claim_parameters(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_resource_claim_parameters # noqa: E501 - - list or watch objects of kind ResourceClaimParameters # 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_resource_claim_parameters(namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :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. - :return: V1alpha2ResourceClaimParametersList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.list_namespaced_resource_claim_parameters_with_http_info(namespace, **kwargs) # noqa: E501 - - def list_namespaced_resource_claim_parameters_with_http_info(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_resource_claim_parameters # noqa: E501 - - list or watch objects of kind ResourceClaimParameters # 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_resource_claim_parameters_with_http_info(namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClaimParametersList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_claim_parameters" % 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 ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `list_namespaced_resource_claim_parameters`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 - query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 - query_params.append(('watch', local_var_params['watch'])) # noqa: E501 - - header_params = {} - - 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/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClaimParametersList', # noqa: E501 + response_type='V1alpha3ResourceClaimList', # noqa: E501 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 @@ -3983,7 +3014,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaimTemplateList + :return: V1alpha3ResourceClaimTemplateList If the method is called asynchronously, returns the request thread. """ @@ -4021,7 +3052,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4108,183 +3139,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates', 'GET', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaimTemplateList', # noqa: E501 - 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) - - def list_namespaced_resource_class_parameters(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_resource_class_parameters # noqa: E501 - - list or watch objects of kind ResourceClassParameters # 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_resource_class_parameters(namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :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. - :return: V1alpha2ResourceClassParametersList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.list_namespaced_resource_class_parameters_with_http_info(namespace, **kwargs) # noqa: E501 - - def list_namespaced_resource_class_parameters_with_http_info(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_resource_class_parameters # noqa: E501 - - list or watch objects of kind ResourceClassParameters # 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_resource_class_parameters_with_http_info(namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClassParametersList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_class_parameters" % 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 ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `list_namespaced_resource_class_parameters`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 - query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 - query_params.append(('watch', local_var_params['watch'])) # noqa: E501 - - header_params = {} - - 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/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClassParametersList', # noqa: E501 + response_type='V1alpha3ResourceClaimTemplateList', # noqa: E501 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 @@ -4320,7 +3182,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContextList + :return: V1alpha3PodSchedulingContextList If the method is called asynchronously, returns the request thread. """ @@ -4357,7 +3219,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContextList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContextList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4437,14 +3299,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/podschedulingcontexts', 'GET', + '/apis/resource.k8s.io/v1alpha3/podschedulingcontexts', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContextList', # noqa: E501 + response_type='V1alpha3PodSchedulingContextList', # noqa: E501 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 @@ -4480,7 +3342,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaimList + :return: V1alpha3ResourceClaimList If the method is called asynchronously, returns the request thread. """ @@ -4517,7 +3379,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4597,174 +3459,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclaims', 'GET', + '/apis/resource.k8s.io/v1alpha3/resourceclaims', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaimList', # noqa: E501 - 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) - - def list_resource_claim_parameters_for_all_namespaces(self, **kwargs): # noqa: E501 - """list_resource_claim_parameters_for_all_namespaces # noqa: E501 - - list or watch objects of kind ResourceClaimParameters # 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_resource_claim_parameters_for_all_namespaces(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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). - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :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. - :return: V1alpha2ResourceClaimParametersList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.list_resource_claim_parameters_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 - - def list_resource_claim_parameters_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 - """list_resource_claim_parameters_for_all_namespaces # noqa: E501 - - list or watch objects of kind ResourceClaimParameters # 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_resource_claim_parameters_for_all_namespaces_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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). - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClaimParametersList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_claim_parameters_for_all_namespaces" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 - query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 - query_params.append(('watch', local_var_params['watch'])) # noqa: E501 - - header_params = {} - - 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/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclaimparameters', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClaimParametersList', # noqa: E501 + response_type='V1alpha3ResourceClaimList', # noqa: E501 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 @@ -4800,7 +3502,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaimTemplateList + :return: V1alpha3ResourceClaimTemplateList If the method is called asynchronously, returns the request thread. """ @@ -4837,7 +3539,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -4917,334 +3619,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclaimtemplates', 'GET', + '/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaimTemplateList', # noqa: E501 - 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) - - def list_resource_class(self, **kwargs): # noqa: E501 - """list_resource_class # noqa: E501 - - list or watch objects of kind ResourceClass # 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_resource_class(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str 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). - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :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. - :return: V1alpha2ResourceClassList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.list_resource_class_with_http_info(**kwargs) # noqa: E501 - - def list_resource_class_with_http_info(self, **kwargs): # noqa: E501 - """list_resource_class # noqa: E501 - - list or watch objects of kind ResourceClass # 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_resource_class_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str 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). - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClassList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - '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' - ] - ) - - 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_resource_class" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 - query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 - query_params.append(('watch', local_var_params['watch'])) # noqa: E501 - - header_params = {} - - 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/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclasses', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClassList', # noqa: E501 - 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) - - def list_resource_class_parameters_for_all_namespaces(self, **kwargs): # noqa: E501 - """list_resource_class_parameters_for_all_namespaces # noqa: E501 - - list or watch objects of kind ResourceClassParameters # 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_resource_class_parameters_for_all_namespaces(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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). - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :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. - :return: V1alpha2ResourceClassParametersList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.list_resource_class_parameters_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 - - def list_resource_class_parameters_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 - """list_resource_class_parameters_for_all_namespaces # noqa: E501 - - list or watch objects of kind ResourceClassParameters # 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_resource_class_parameters_for_all_namespaces_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param bool 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. - :param str _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. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int 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. - :param str 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). - :param str 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 - :param str 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 - :param bool 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. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClassParametersList, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_class_parameters_for_all_namespaces" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 - query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 - if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 - query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 - if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 - query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 - if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 - query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 - query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 - if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 - query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 - if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 - query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 - if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 - query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 - if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 - query_params.append(('watch', local_var_params['watch'])) # noqa: E501 - - header_params = {} - - 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/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclassparameters', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClassParametersList', # noqa: E501 + response_type='V1alpha3ResourceClaimTemplateList', # noqa: E501 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 @@ -5280,7 +3662,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceSliceList + :return: V1alpha3ResourceSliceList If the method is called asynchronously, returns the request thread. """ @@ -5317,7 +3699,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceSliceList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceSliceList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -5397,14 +3779,166 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceslices', 'GET', + '/apis/resource.k8s.io/v1alpha3/resourceslices', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceSliceList', # noqa: E501 + response_type='V1alpha3ResourceSliceList', # noqa: E501 + 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) + + def patch_device_class(self, name, body, **kwargs): # noqa: E501 + """patch_device_class # noqa: E501 + + partially update the specified DeviceClass # 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_device_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param object body: (required) + :param str 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). + :param str 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 + :param str 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). + :param str 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. + :param bool 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. + :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. + :return: V1alpha3DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_device_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_device_class # noqa: E501 + + partially update the specified DeviceClass # 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_device_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param object body: (required) + :param str 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). + :param str 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 + :param str 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). + :param str 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. + :param bool 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. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_device_class" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_device_class`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha3DeviceClass', # noqa: E501 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 @@ -5437,7 +3971,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContext + :return: V1alpha3PodSchedulingContext If the method is called asynchronously, returns the request thread. """ @@ -5471,7 +4005,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -5558,14 +4092,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}', 'PATCH', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContext', # noqa: E501 + response_type='V1alpha3PodSchedulingContext', # noqa: E501 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 @@ -5598,7 +4132,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContext + :return: V1alpha3PodSchedulingContext If the method is called asynchronously, returns the request thread. """ @@ -5632,7 +4166,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -5719,14 +4253,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status', 'PATCH', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContext', # noqa: E501 + response_type='V1alpha3PodSchedulingContext', # noqa: E501 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 @@ -5759,7 +4293,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaim + :return: V1alpha3ResourceClaim If the method is called asynchronously, returns the request thread. """ @@ -5793,7 +4327,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -5880,175 +4414,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}', 'PATCH', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaim', # noqa: E501 - 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) - - def patch_namespaced_resource_claim_parameters(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_resource_claim_parameters # noqa: E501 - - partially update the specified ResourceClaimParameters # 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_resource_claim_parameters(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str 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). - :param str 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 - :param str 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). - :param str 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. - :param bool 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. - :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. - :return: V1alpha2ResourceClaimParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.patch_namespaced_resource_claim_parameters_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - - def patch_namespaced_resource_claim_parameters_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_resource_claim_parameters # noqa: E501 - - partially update the specified ResourceClaimParameters # 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_resource_claim_parameters_with_http_info(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str 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). - :param str 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 - :param str 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). - :param str 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. - :param bool 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. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClaimParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_claim_parameters" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `patch_namespaced_resource_claim_parameters`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `patch_namespaced_resource_claim_parameters`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `patch_namespaced_resource_claim_parameters`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 - query_params.append(('force', local_var_params['force'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClaimParameters', # noqa: E501 + response_type='V1alpha3ResourceClaim', # noqa: E501 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 @@ -6081,7 +4454,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaim + :return: V1alpha3ResourceClaim If the method is called asynchronously, returns the request thread. """ @@ -6115,7 +4488,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -6202,14 +4575,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status', 'PATCH', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaim', # noqa: E501 + response_type='V1alpha3ResourceClaim', # noqa: E501 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 @@ -6242,7 +4615,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaimTemplate + :return: V1alpha3ResourceClaimTemplate If the method is called asynchronously, returns the request thread. """ @@ -6276,7 +4649,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -6363,327 +4736,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PATCH', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaimTemplate', # noqa: E501 - 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) - - def patch_namespaced_resource_class_parameters(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_resource_class_parameters # noqa: E501 - - partially update the specified ResourceClassParameters # 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_resource_class_parameters(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClassParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str 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). - :param str 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 - :param str 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). - :param str 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. - :param bool 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. - :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. - :return: V1alpha2ResourceClassParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.patch_namespaced_resource_class_parameters_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - - def patch_namespaced_resource_class_parameters_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_resource_class_parameters # noqa: E501 - - partially update the specified ResourceClassParameters # 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_resource_class_parameters_with_http_info(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClassParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param object body: (required) - :param str 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). - :param str 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 - :param str 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). - :param str 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. - :param bool 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. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClassParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_class_parameters" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `patch_namespaced_resource_class_parameters`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `patch_namespaced_resource_class_parameters`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `patch_namespaced_resource_class_parameters`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 - query_params.append(('force', local_var_params['force'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClassParameters', # noqa: E501 - 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) - - def patch_resource_class(self, name, body, **kwargs): # noqa: E501 - """patch_resource_class # noqa: E501 - - partially update the specified ResourceClass # 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_resource_class(name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClass (required) - :param object body: (required) - :param str 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). - :param str 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 - :param str 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). - :param str 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. - :param bool 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. - :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. - :return: V1alpha2ResourceClass - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.patch_resource_class_with_http_info(name, body, **kwargs) # noqa: E501 - - def patch_resource_class_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_resource_class # noqa: E501 - - partially update the specified ResourceClass # 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_resource_class_with_http_info(name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClass (required) - :param object body: (required) - :param str 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). - :param str 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 - :param str 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). - :param str 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. - :param bool 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. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClass, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - 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_resource_class" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `patch_resource_class`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `patch_resource_class`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 - query_params.append(('force', local_var_params['force'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClass', # noqa: E501 + response_type='V1alpha3ResourceClaimTemplate', # noqa: E501 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 @@ -6715,7 +4775,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceSlice + :return: V1alpha3ResourceSlice If the method is called asynchronously, returns the request thread. """ @@ -6748,7 +4808,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -6828,14 +4888,133 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceslices/{name}', 'PATCH', + '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceSlice', # noqa: E501 + response_type='V1alpha3ResourceSlice', # noqa: E501 + 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) + + def read_device_class(self, name, **kwargs): # noqa: E501 + """read_device_class # noqa: E501 + + read the specified DeviceClass # 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_device_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str 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). + :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. + :return: V1alpha3DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_device_class_with_http_info(name, **kwargs) # noqa: E501 + + def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 + """read_device_class # noqa: E501 + + read the specified DeviceClass # 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_device_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param str 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). + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_device_class" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha3DeviceClass', # noqa: E501 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 @@ -6863,7 +5042,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContext + :return: V1alpha3PodSchedulingContext If the method is called asynchronously, returns the request thread. """ @@ -6892,7 +5071,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -6956,14 +5135,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}', 'GET', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContext', # noqa: E501 + response_type='V1alpha3PodSchedulingContext', # noqa: E501 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 @@ -6991,7 +5170,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContext + :return: V1alpha3PodSchedulingContext If the method is called asynchronously, returns the request thread. """ @@ -7020,7 +5199,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -7084,14 +5263,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status', 'GET', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContext', # noqa: E501 + response_type='V1alpha3PodSchedulingContext', # noqa: E501 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 @@ -7119,7 +5298,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaim + :return: V1alpha3ResourceClaim If the method is called asynchronously, returns the request thread. """ @@ -7148,7 +5327,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -7212,142 +5391,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}', 'GET', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaim', # noqa: E501 - 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) - - def read_namespaced_resource_claim_parameters(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_resource_claim_parameters # noqa: E501 - - read the specified ResourceClaimParameters # 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_resource_claim_parameters(name, namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :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. - :return: V1alpha2ResourceClaimParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.read_namespaced_resource_claim_parameters_with_http_info(name, namespace, **kwargs) # noqa: E501 - - def read_namespaced_resource_claim_parameters_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_resource_claim_parameters # noqa: E501 - - read the specified ResourceClaimParameters # 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_resource_claim_parameters_with_http_info(name, namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClaimParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'pretty' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - 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_resource_claim_parameters" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `read_namespaced_resource_claim_parameters`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `read_namespaced_resource_claim_parameters`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClaimParameters', # noqa: E501 + response_type='V1alpha3ResourceClaim', # noqa: E501 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 @@ -7375,7 +5426,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaim + :return: V1alpha3ResourceClaim If the method is called asynchronously, returns the request thread. """ @@ -7404,7 +5455,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -7468,14 +5519,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status', 'GET', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaim', # noqa: E501 + response_type='V1alpha3ResourceClaim', # noqa: E501 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 @@ -7503,7 +5554,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaimTemplate + :return: V1alpha3ResourceClaimTemplate If the method is called asynchronously, returns the request thread. """ @@ -7532,7 +5583,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -7596,261 +5647,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}', 'GET', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaimTemplate', # noqa: E501 - 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) - - def read_namespaced_resource_class_parameters(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_resource_class_parameters # noqa: E501 - - read the specified ResourceClassParameters # 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_resource_class_parameters(name, namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClassParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :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. - :return: V1alpha2ResourceClassParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.read_namespaced_resource_class_parameters_with_http_info(name, namespace, **kwargs) # noqa: E501 - - def read_namespaced_resource_class_parameters_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_resource_class_parameters # noqa: E501 - - read the specified ResourceClassParameters # 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_resource_class_parameters_with_http_info(name, namespace, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClassParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClassParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'namespace', - 'pretty' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - 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_resource_class_parameters" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `read_namespaced_resource_class_parameters`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `read_namespaced_resource_class_parameters`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClassParameters', # noqa: E501 - 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) - - def read_resource_class(self, name, **kwargs): # noqa: E501 - """read_resource_class # noqa: E501 - - read the specified ResourceClass # 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_resource_class(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClass (required) - :param str 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). - :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. - :return: V1alpha2ResourceClass - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.read_resource_class_with_http_info(name, **kwargs) # noqa: E501 - - def read_resource_class_with_http_info(self, name, **kwargs): # noqa: E501 - """read_resource_class # noqa: E501 - - read the specified ResourceClass # 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_resource_class_with_http_info(name, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClass (required) - :param str 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). - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClass, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'pretty' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - 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_resource_class" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `read_resource_class`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClass', # noqa: E501 + response_type='V1alpha3ResourceClaimTemplate', # noqa: E501 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 @@ -7877,7 +5681,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceSlice + :return: V1alpha3ResourceSlice If the method is called asynchronously, returns the request thread. """ @@ -7905,7 +5709,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -7962,14 +5766,157 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceslices/{name}', 'GET', + '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceSlice', # noqa: E501 + response_type='V1alpha3ResourceSlice', # noqa: E501 + 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) + + def replace_device_class(self, name, body, **kwargs): # noqa: E501 + """replace_device_class # noqa: E501 + + replace the specified DeviceClass # 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_device_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param V1alpha3DeviceClass body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :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. + :return: V1alpha3DeviceClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_device_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_device_class # noqa: E501 + + replace the specified DeviceClass # 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_device_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the DeviceClass (required) + :param V1alpha3DeviceClass body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_device_class" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_device_class`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_device_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha3DeviceClass', # noqa: E501 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 @@ -7989,7 +5936,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the PodSchedulingContext (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2PodSchedulingContext body: (required) + :param V1alpha3PodSchedulingContext body: (required) :param str 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). :param str 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 :param str 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. @@ -8001,7 +5948,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContext + :return: V1alpha3PodSchedulingContext If the method is called asynchronously, returns the request thread. """ @@ -8020,7 +5967,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the PodSchedulingContext (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2PodSchedulingContext body: (required) + :param V1alpha3PodSchedulingContext body: (required) :param str 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). :param str 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 :param str 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. @@ -8034,7 +5981,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -8114,14 +6061,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}', 'PUT', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContext', # noqa: E501 + response_type='V1alpha3PodSchedulingContext', # noqa: E501 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 @@ -8141,7 +6088,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the PodSchedulingContext (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2PodSchedulingContext body: (required) + :param V1alpha3PodSchedulingContext body: (required) :param str 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). :param str 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 :param str 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. @@ -8153,7 +6100,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2PodSchedulingContext + :return: V1alpha3PodSchedulingContext If the method is called asynchronously, returns the request thread. """ @@ -8172,7 +6119,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the PodSchedulingContext (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2PodSchedulingContext body: (required) + :param V1alpha3PodSchedulingContext body: (required) :param str 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). :param str 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 :param str 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. @@ -8186,7 +6133,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3PodSchedulingContext, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -8266,14 +6213,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status', 'PUT', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2PodSchedulingContext', # noqa: E501 + response_type='V1alpha3PodSchedulingContext', # noqa: E501 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 @@ -8293,7 +6240,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ResourceClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaim body: (required) + :param V1alpha3ResourceClaim body: (required) :param str 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). :param str 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 :param str 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. @@ -8305,7 +6252,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaim + :return: V1alpha3ResourceClaim If the method is called asynchronously, returns the request thread. """ @@ -8324,7 +6271,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ResourceClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaim body: (required) + :param V1alpha3ResourceClaim body: (required) :param str 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). :param str 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 :param str 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. @@ -8338,7 +6285,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -8418,166 +6365,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}', 'PUT', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaim', # noqa: E501 - 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) - - def replace_namespaced_resource_claim_parameters(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_resource_claim_parameters # noqa: E501 - - replace the specified ResourceClaimParameters # 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_resource_claim_parameters(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaimParameters body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :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. - :return: V1alpha2ResourceClaimParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.replace_namespaced_resource_claim_parameters_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - - def replace_namespaced_resource_claim_parameters_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_resource_claim_parameters # noqa: E501 - - replace the specified ResourceClaimParameters # 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_resource_claim_parameters_with_http_info(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClaimParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaimParameters body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClaimParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_claim_parameters" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `replace_namespaced_resource_claim_parameters`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `replace_namespaced_resource_claim_parameters`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `replace_namespaced_resource_claim_parameters`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClaimParameters', # noqa: E501 + response_type='V1alpha3ResourceClaim', # noqa: E501 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 @@ -8597,7 +6392,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ResourceClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaim body: (required) + :param V1alpha3ResourceClaim body: (required) :param str 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). :param str 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 :param str 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. @@ -8609,7 +6404,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaim + :return: V1alpha3ResourceClaim If the method is called asynchronously, returns the request thread. """ @@ -8628,7 +6423,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ResourceClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaim body: (required) + :param V1alpha3ResourceClaim body: (required) :param str 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). :param str 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 :param str 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. @@ -8642,7 +6437,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaim, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -8722,14 +6517,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status', 'PUT', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaim', # noqa: E501 + response_type='V1alpha3ResourceClaim', # noqa: E501 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 @@ -8749,7 +6544,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ResourceClaimTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaimTemplate body: (required) + :param V1alpha3ResourceClaimTemplate body: (required) :param str 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). :param str 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 :param str 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. @@ -8761,7 +6556,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceClaimTemplate + :return: V1alpha3ResourceClaimTemplate If the method is called asynchronously, returns the request thread. """ @@ -8780,7 +6575,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ResourceClaimTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClaimTemplate body: (required) + :param V1alpha3ResourceClaimTemplate body: (required) :param str 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). :param str 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 :param str 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. @@ -8794,7 +6589,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -8874,309 +6669,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PUT', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceClaimTemplate', # noqa: E501 - 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) - - def replace_namespaced_resource_class_parameters(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_resource_class_parameters # noqa: E501 - - replace the specified ResourceClassParameters # 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_resource_class_parameters(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClassParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClassParameters body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :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. - :return: V1alpha2ResourceClassParameters - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.replace_namespaced_resource_class_parameters_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - - def replace_namespaced_resource_class_parameters_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_resource_class_parameters # noqa: E501 - - replace the specified ResourceClassParameters # 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_resource_class_parameters_with_http_info(name, namespace, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClassParameters (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha2ResourceClassParameters body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClassParameters, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - 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' - ] - ) - - 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_resource_class_parameters" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `replace_namespaced_resource_class_parameters`") # noqa: E501 - # verify the required parameter 'namespace' is set - if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501 - local_var_params['namespace'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `namespace` when calling `replace_namespaced_resource_class_parameters`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `replace_namespaced_resource_class_parameters`") # 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 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClassParameters', # noqa: E501 - 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) - - def replace_resource_class(self, name, body, **kwargs): # noqa: E501 - """replace_resource_class # noqa: E501 - - replace the specified ResourceClass # 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_resource_class(name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClass (required) - :param V1alpha2ResourceClass body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :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. - :return: V1alpha2ResourceClass - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - return self.replace_resource_class_with_http_info(name, body, **kwargs) # noqa: E501 - - def replace_resource_class_with_http_info(self, name, body, **kwargs): # noqa: E501 - """replace_resource_class # noqa: E501 - - replace the specified ResourceClass # 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_resource_class_with_http_info(name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool: execute request asynchronously - :param str name: name of the ResourceClass (required) - :param V1alpha2ResourceClass body: (required) - :param str 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). - :param str 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 - :param str 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. - :param str 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. - :param _return_http_data_only: response data without head status code - and headers - :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. - :return: tuple(V1alpha2ResourceClass, status_code(int), headers(HTTPHeaderDict)) - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [ - 'name', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout' - ] - ) - - 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_resource_class" % 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 ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `replace_resource_class`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `replace_resource_class`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 - - query_params = [] - if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 - query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 - if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 - query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 - if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 - query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 - if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 - query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 - - header_params = {} - - 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']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerToken'] # noqa: E501 - - return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha2ResourceClass', # noqa: E501 + response_type='V1alpha3ResourceClaimTemplate', # noqa: E501 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 @@ -9195,7 +6695,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ResourceSlice (required) - :param V1alpha2ResourceSlice body: (required) + :param V1alpha3ResourceSlice body: (required) :param str 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). :param str 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 :param str 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. @@ -9207,7 +6707,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha2ResourceSlice + :return: V1alpha3ResourceSlice If the method is called asynchronously, returns the request thread. """ @@ -9225,7 +6725,7 @@ class ResourceV1alpha2Api(object): :param async_req bool: execute request asynchronously :param str name: name of the ResourceSlice (required) - :param V1alpha2ResourceSlice body: (required) + :param V1alpha3ResourceSlice body: (required) :param str 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). :param str 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 :param str 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. @@ -9239,7 +6739,7 @@ class ResourceV1alpha2Api(object): number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -9312,14 +6812,14 @@ class ResourceV1alpha2Api(object): auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha2/resourceslices/{name}', 'PUT', + '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha2ResourceSlice', # noqa: E501 + response_type='V1alpha3ResourceSlice', # noqa: E501 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 diff --git a/kubernetes/client/api/scheduling_api.py b/kubernetes/client/api/scheduling_api.py index eac6594d7..d5c48e004 100644 --- a/kubernetes/client/api/scheduling_api.py +++ b/kubernetes/client/api/scheduling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/scheduling_v1_api.py b/kubernetes/client/api/scheduling_v1_api.py index 5d3429339..942a9571c 100644 --- a/kubernetes/client/api/scheduling_v1_api.py +++ b/kubernetes/client/api/scheduling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storage_api.py b/kubernetes/client/api/storage_api.py index 9b7735a8f..44865db9d 100644 --- a/kubernetes/client/api/storage_api.py +++ b/kubernetes/client/api/storage_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storage_v1_api.py b/kubernetes/client/api/storage_v1_api.py index ca99c332e..6a04666e2 100644 --- a/kubernetes/client/api/storage_v1_api.py +++ b/kubernetes/client/api/storage_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storage_v1alpha1_api.py b/kubernetes/client/api/storage_v1alpha1_api.py index 1be111f7b..52bf38785 100644 --- a/kubernetes/client/api/storage_v1alpha1_api.py +++ b/kubernetes/client/api/storage_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storage_v1beta1_api.py b/kubernetes/client/api/storage_v1beta1_api.py new file mode 100644 index 000000000..c21a778b6 --- /dev/null +++ b/kubernetes/client/api/storage_v1beta1_api.py @@ -0,0 +1,1169 @@ +# 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.31 + 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.client.api_client import ApiClient +from kubernetes.client.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class StorageV1beta1Api(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_volume_attributes_class(self, body, **kwargs): # noqa: E501 + """create_volume_attributes_class # noqa: E501 + + create a VolumeAttributesClass # 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_volume_attributes_class(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1beta1VolumeAttributesClass body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :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. + :return: V1beta1VolumeAttributesClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_volume_attributes_class_with_http_info(body, **kwargs) # noqa: E501 + + def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa: E501 + """create_volume_attributes_class # noqa: E501 + + create a VolumeAttributesClass # 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_volume_attributes_class_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1beta1VolumeAttributesClass body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1beta1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_volume_attributes_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_volume_attributes_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1beta1/volumeattributesclasses', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1VolumeAttributesClass', # noqa: E501 + 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) + + def delete_collection_volume_attributes_class(self, **kwargs): # noqa: E501 + """delete_collection_volume_attributes_class # noqa: E501 + + delete collection of VolumeAttributesClass # 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_volume_attributes_class(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str 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). + :param str _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. + :param str 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 + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param bool 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. + :param str 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :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. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_volume_attributes_class_with_http_info(**kwargs) # noqa: E501 + + def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_volume_attributes_class # noqa: E501 + + delete collection of VolumeAttributesClass # 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_volume_attributes_class_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str 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). + :param str _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. + :param str 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 + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param bool 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. + :param str 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + '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' + ] + ) + + 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_volume_attributes_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1beta1/volumeattributesclasses', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + 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) + + def delete_volume_attributes_class(self, name, **kwargs): # noqa: E501 + """delete_volume_attributes_class # noqa: E501 + + delete a VolumeAttributesClass # 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_volume_attributes_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param str 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). + :param str 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 + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str 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. + :param V1DeleteOptions body: + :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. + :return: V1beta1VolumeAttributesClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_volume_attributes_class_with_http_info(name, **kwargs) # noqa: E501 + + def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_volume_attributes_class # noqa: E501 + + delete a VolumeAttributesClass # 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_volume_attributes_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param str 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). + :param str 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 + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str 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. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1beta1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_volume_attributes_class" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_volume_attributes_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1VolumeAttributesClass', # noqa: E501 + 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) + + 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 bool: execute request asynchronously + :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. + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + 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 bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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 = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1beta1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIResourceList', # noqa: E501 + 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) + + def list_volume_attributes_class(self, **kwargs): # noqa: E501 + """list_volume_attributes_class # noqa: E501 + + list or watch objects of kind VolumeAttributesClass # 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_volume_attributes_class(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str 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). + :param bool 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. + :param str _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. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :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. + :return: V1beta1VolumeAttributesClassList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_volume_attributes_class_with_http_info(**kwargs) # noqa: E501 + + def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 + """list_volume_attributes_class # noqa: E501 + + list or watch objects of kind VolumeAttributesClass # 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_volume_attributes_class_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str 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). + :param bool 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. + :param str _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. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int 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. + :param str 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 + :param str 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 + :param bool 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. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1beta1VolumeAttributesClassList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + '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' + ] + ) + + 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_volume_attributes_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'resource_version_match' in local_var_params and local_var_params['resource_version_match'] is not None: # noqa: E501 + query_params.append(('resourceVersionMatch', local_var_params['resource_version_match'])) # noqa: E501 + if 'send_initial_events' in local_var_params and local_var_params['send_initial_events'] is not None: # noqa: E501 + query_params.append(('sendInitialEvents', local_var_params['send_initial_events'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + 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/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1beta1/volumeattributesclasses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1VolumeAttributesClassList', # noqa: E501 + 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) + + def patch_volume_attributes_class(self, name, body, **kwargs): # noqa: E501 + """patch_volume_attributes_class # noqa: E501 + + partially update the specified VolumeAttributesClass # 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_volume_attributes_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param object body: (required) + :param str 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). + :param str 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 + :param str 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). + :param str 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. + :param bool 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. + :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. + :return: V1beta1VolumeAttributesClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_volume_attributes_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_volume_attributes_class # noqa: E501 + + partially update the specified VolumeAttributesClass # 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_volume_attributes_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param object body: (required) + :param str 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). + :param str 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 + :param str 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). + :param str 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. + :param bool 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. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1beta1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_volume_attributes_class" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_volume_attributes_class`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_volume_attributes_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1VolumeAttributesClass', # noqa: E501 + 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) + + def read_volume_attributes_class(self, name, **kwargs): # noqa: E501 + """read_volume_attributes_class # noqa: E501 + + read the specified VolumeAttributesClass # 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_volume_attributes_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param str 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). + :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. + :return: V1beta1VolumeAttributesClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_volume_attributes_class_with_http_info(name, **kwargs) # noqa: E501 + + def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: E501 + """read_volume_attributes_class # noqa: E501 + + read the specified VolumeAttributesClass # 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_volume_attributes_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param str 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). + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1beta1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_volume_attributes_class" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_volume_attributes_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1VolumeAttributesClass', # noqa: E501 + 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) + + def replace_volume_attributes_class(self, name, body, **kwargs): # noqa: E501 + """replace_volume_attributes_class # noqa: E501 + + replace the specified VolumeAttributesClass # 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_volume_attributes_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param V1beta1VolumeAttributesClass body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :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. + :return: V1beta1VolumeAttributesClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_volume_attributes_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_volume_attributes_class # noqa: E501 + + replace the specified VolumeAttributesClass # 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_volume_attributes_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttributesClass (required) + :param V1beta1VolumeAttributesClass body: (required) + :param str 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). + :param str 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 + :param str 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. + :param str 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. + :param _return_http_data_only: response data without head status code + and headers + :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. + :return: tuple(V1beta1VolumeAttributesClass, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + 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_volume_attributes_class" % 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 ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_volume_attributes_class`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_volume_attributes_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'field_validation' in local_var_params and local_var_params['field_validation'] is not None: # noqa: E501 + query_params.append(('fieldValidation', local_var_params['field_validation'])) # noqa: E501 + + header_params = {} + + 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']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1VolumeAttributesClass', # noqa: E501 + 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) diff --git a/kubernetes/client/api/storagemigration_api.py b/kubernetes/client/api/storagemigration_api.py index b1d4653e3..dd534fa82 100644 --- a/kubernetes/client/api/storagemigration_api.py +++ b/kubernetes/client/api/storagemigration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storagemigration_v1alpha1_api.py b/kubernetes/client/api/storagemigration_v1alpha1_api.py index 3e3fd8596..9cf62dd6c 100644 --- a/kubernetes/client/api/storagemigration_v1alpha1_api.py +++ b/kubernetes/client/api/storagemigration_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/version_api.py b/kubernetes/client/api/version_api.py index 3866ca7b8..4bfad7ef2 100644 --- a/kubernetes/client/api/version_api.py +++ b/kubernetes/client/api/version_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/well_known_api.py b/kubernetes/client/api/well_known_api.py index 0bff79e80..a0785ab89 100644 --- a/kubernetes/client/api/well_known_api.py +++ b/kubernetes/client/api/well_known_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/__init__.py b/kubernetes/client/models/__init__.py index 6632e67db..f3f1092c1 100644 --- a/kubernetes/client/models/__init__.py +++ b/kubernetes/client/models/__init__.py @@ -6,7 +6,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -73,7 +73,6 @@ from kubernetes.client.models.v1_certificate_signing_request_spec import V1Certi from kubernetes.client.models.v1_certificate_signing_request_status import V1CertificateSigningRequestStatus from kubernetes.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource from kubernetes.client.models.v1_cinder_volume_source import V1CinderVolumeSource -from kubernetes.client.models.v1_claim_source import V1ClaimSource from kubernetes.client.models.v1_client_ip_config import V1ClientIPConfig from kubernetes.client.models.v1_cluster_role import V1ClusterRole from kubernetes.client.models.v1_cluster_role_binding import V1ClusterRoleBinding @@ -100,6 +99,7 @@ from kubernetes.client.models.v1_container_state_running import V1ContainerState from kubernetes.client.models.v1_container_state_terminated import V1ContainerStateTerminated from kubernetes.client.models.v1_container_state_waiting import V1ContainerStateWaiting from kubernetes.client.models.v1_container_status import V1ContainerStatus +from kubernetes.client.models.v1_container_user import V1ContainerUser from kubernetes.client.models.v1_controller_revision import V1ControllerRevision from kubernetes.client.models.v1_controller_revision_list import V1ControllerRevisionList from kubernetes.client.models.v1_cron_job import V1CronJob @@ -158,6 +158,8 @@ from kubernetes.client.models.v1_exempt_priority_level_configuration import V1Ex from kubernetes.client.models.v1_expression_warning import V1ExpressionWarning from kubernetes.client.models.v1_external_documentation import V1ExternalDocumentation from kubernetes.client.models.v1_fc_volume_source import V1FCVolumeSource +from kubernetes.client.models.v1_field_selector_attributes import V1FieldSelectorAttributes +from kubernetes.client.models.v1_field_selector_requirement import V1FieldSelectorRequirement from kubernetes.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource @@ -189,6 +191,7 @@ from kubernetes.client.models.v1_host_path_volume_source import V1HostPathVolume from kubernetes.client.models.v1_ip_block import V1IPBlock from kubernetes.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource from kubernetes.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource +from kubernetes.client.models.v1_image_volume_source import V1ImageVolumeSource from kubernetes.client.models.v1_ingress import V1Ingress from kubernetes.client.models.v1_ingress_backend import V1IngressBackend from kubernetes.client.models.v1_ingress_class import V1IngressClass @@ -213,6 +216,7 @@ from kubernetes.client.models.v1_job_status import V1JobStatus from kubernetes.client.models.v1_job_template_spec import V1JobTemplateSpec from kubernetes.client.models.v1_key_to_path import V1KeyToPath from kubernetes.client.models.v1_label_selector import V1LabelSelector +from kubernetes.client.models.v1_label_selector_attributes import V1LabelSelectorAttributes from kubernetes.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement from kubernetes.client.models.v1_lease import V1Lease from kubernetes.client.models.v1_lease_list import V1LeaseList @@ -225,6 +229,7 @@ from kubernetes.client.models.v1_limit_range_list import V1LimitRangeList from kubernetes.client.models.v1_limit_range_spec import V1LimitRangeSpec from kubernetes.client.models.v1_limit_response import V1LimitResponse from kubernetes.client.models.v1_limited_priority_level_configuration import V1LimitedPriorityLevelConfiguration +from kubernetes.client.models.v1_linux_container_user import V1LinuxContainerUser from kubernetes.client.models.v1_list_meta import V1ListMeta from kubernetes.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress from kubernetes.client.models.v1_load_balancer_status import V1LoadBalancerStatus @@ -259,6 +264,7 @@ from kubernetes.client.models.v1_node_condition import V1NodeCondition from kubernetes.client.models.v1_node_config_source import V1NodeConfigSource from kubernetes.client.models.v1_node_config_status import V1NodeConfigStatus from kubernetes.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints +from kubernetes.client.models.v1_node_features import V1NodeFeatures from kubernetes.client.models.v1_node_list import V1NodeList from kubernetes.client.models.v1_node_runtime_handler import V1NodeRuntimeHandler from kubernetes.client.models.v1_node_runtime_handler_features import V1NodeRuntimeHandlerFeatures @@ -351,6 +357,7 @@ from kubernetes.client.models.v1_replication_controller_status import V1Replicat from kubernetes.client.models.v1_resource_attributes import V1ResourceAttributes from kubernetes.client.models.v1_resource_claim import V1ResourceClaim from kubernetes.client.models.v1_resource_field_selector import V1ResourceFieldSelector +from kubernetes.client.models.v1_resource_health import V1ResourceHealth from kubernetes.client.models.v1_resource_policy_rule import V1ResourcePolicyRule from kubernetes.client.models.v1_resource_quota import V1ResourceQuota from kubernetes.client.models.v1_resource_quota_list import V1ResourceQuotaList @@ -358,6 +365,7 @@ from kubernetes.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec from kubernetes.client.models.v1_resource_quota_status import V1ResourceQuotaStatus from kubernetes.client.models.v1_resource_requirements import V1ResourceRequirements from kubernetes.client.models.v1_resource_rule import V1ResourceRule +from kubernetes.client.models.v1_resource_status import V1ResourceStatus from kubernetes.client.models.v1_role import V1Role from kubernetes.client.models.v1_role_binding import V1RoleBinding from kubernetes.client.models.v1_role_binding_list import V1RoleBindingList @@ -484,23 +492,18 @@ from kubernetes.client.models.v1alpha1_cluster_trust_bundle_list import V1alpha1 from kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec import V1alpha1ClusterTrustBundleSpec from kubernetes.client.models.v1alpha1_expression_warning import V1alpha1ExpressionWarning from kubernetes.client.models.v1alpha1_group_version_resource import V1alpha1GroupVersionResource -from kubernetes.client.models.v1alpha1_ip_address import V1alpha1IPAddress -from kubernetes.client.models.v1alpha1_ip_address_list import V1alpha1IPAddressList -from kubernetes.client.models.v1alpha1_ip_address_spec import V1alpha1IPAddressSpec +from kubernetes.client.models.v1alpha1_lease_candidate import V1alpha1LeaseCandidate +from kubernetes.client.models.v1alpha1_lease_candidate_list import V1alpha1LeaseCandidateList +from kubernetes.client.models.v1alpha1_lease_candidate_spec import V1alpha1LeaseCandidateSpec from kubernetes.client.models.v1alpha1_match_condition import V1alpha1MatchCondition from kubernetes.client.models.v1alpha1_match_resources import V1alpha1MatchResources from kubernetes.client.models.v1alpha1_migration_condition import V1alpha1MigrationCondition from kubernetes.client.models.v1alpha1_named_rule_with_operations import V1alpha1NamedRuleWithOperations from kubernetes.client.models.v1alpha1_param_kind import V1alpha1ParamKind from kubernetes.client.models.v1alpha1_param_ref import V1alpha1ParamRef -from kubernetes.client.models.v1alpha1_parent_reference import V1alpha1ParentReference from kubernetes.client.models.v1alpha1_self_subject_review import V1alpha1SelfSubjectReview from kubernetes.client.models.v1alpha1_self_subject_review_status import V1alpha1SelfSubjectReviewStatus from kubernetes.client.models.v1alpha1_server_storage_version import V1alpha1ServerStorageVersion -from kubernetes.client.models.v1alpha1_service_cidr import V1alpha1ServiceCIDR -from kubernetes.client.models.v1alpha1_service_cidr_list import V1alpha1ServiceCIDRList -from kubernetes.client.models.v1alpha1_service_cidr_spec import V1alpha1ServiceCIDRSpec -from kubernetes.client.models.v1alpha1_service_cidr_status import V1alpha1ServiceCIDRStatus from kubernetes.client.models.v1alpha1_storage_version import V1alpha1StorageVersion from kubernetes.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition from kubernetes.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList @@ -521,54 +524,58 @@ from kubernetes.client.models.v1alpha1_validation import V1alpha1Validation from kubernetes.client.models.v1alpha1_variable import V1alpha1Variable from kubernetes.client.models.v1alpha1_volume_attributes_class import V1alpha1VolumeAttributesClass from kubernetes.client.models.v1alpha1_volume_attributes_class_list import V1alpha1VolumeAttributesClassList -from kubernetes.client.models.v1alpha2_allocation_result import V1alpha2AllocationResult -from kubernetes.client.models.v1alpha2_driver_allocation_result import V1alpha2DriverAllocationResult -from kubernetes.client.models.v1alpha2_driver_requests import V1alpha2DriverRequests -from kubernetes.client.models.v1alpha2_named_resources_allocation_result import V1alpha2NamedResourcesAllocationResult -from kubernetes.client.models.v1alpha2_named_resources_attribute import V1alpha2NamedResourcesAttribute -from kubernetes.client.models.v1alpha2_named_resources_filter import V1alpha2NamedResourcesFilter -from kubernetes.client.models.v1alpha2_named_resources_instance import V1alpha2NamedResourcesInstance -from kubernetes.client.models.v1alpha2_named_resources_int_slice import V1alpha2NamedResourcesIntSlice -from kubernetes.client.models.v1alpha2_named_resources_request import V1alpha2NamedResourcesRequest -from kubernetes.client.models.v1alpha2_named_resources_resources import V1alpha2NamedResourcesResources -from kubernetes.client.models.v1alpha2_named_resources_string_slice import V1alpha2NamedResourcesStringSlice -from kubernetes.client.models.v1alpha2_pod_scheduling_context import V1alpha2PodSchedulingContext -from kubernetes.client.models.v1alpha2_pod_scheduling_context_list import V1alpha2PodSchedulingContextList -from kubernetes.client.models.v1alpha2_pod_scheduling_context_spec import V1alpha2PodSchedulingContextSpec -from kubernetes.client.models.v1alpha2_pod_scheduling_context_status import V1alpha2PodSchedulingContextStatus -from kubernetes.client.models.v1alpha2_resource_claim import V1alpha2ResourceClaim -from kubernetes.client.models.v1alpha2_resource_claim_consumer_reference import V1alpha2ResourceClaimConsumerReference -from kubernetes.client.models.v1alpha2_resource_claim_list import V1alpha2ResourceClaimList -from kubernetes.client.models.v1alpha2_resource_claim_parameters import V1alpha2ResourceClaimParameters -from kubernetes.client.models.v1alpha2_resource_claim_parameters_list import V1alpha2ResourceClaimParametersList -from kubernetes.client.models.v1alpha2_resource_claim_parameters_reference import V1alpha2ResourceClaimParametersReference -from kubernetes.client.models.v1alpha2_resource_claim_scheduling_status import V1alpha2ResourceClaimSchedulingStatus -from kubernetes.client.models.v1alpha2_resource_claim_spec import V1alpha2ResourceClaimSpec -from kubernetes.client.models.v1alpha2_resource_claim_status import V1alpha2ResourceClaimStatus -from kubernetes.client.models.v1alpha2_resource_claim_template import V1alpha2ResourceClaimTemplate -from kubernetes.client.models.v1alpha2_resource_claim_template_list import V1alpha2ResourceClaimTemplateList -from kubernetes.client.models.v1alpha2_resource_claim_template_spec import V1alpha2ResourceClaimTemplateSpec -from kubernetes.client.models.v1alpha2_resource_class import V1alpha2ResourceClass -from kubernetes.client.models.v1alpha2_resource_class_list import V1alpha2ResourceClassList -from kubernetes.client.models.v1alpha2_resource_class_parameters import V1alpha2ResourceClassParameters -from kubernetes.client.models.v1alpha2_resource_class_parameters_list import V1alpha2ResourceClassParametersList -from kubernetes.client.models.v1alpha2_resource_class_parameters_reference import V1alpha2ResourceClassParametersReference -from kubernetes.client.models.v1alpha2_resource_filter import V1alpha2ResourceFilter -from kubernetes.client.models.v1alpha2_resource_handle import V1alpha2ResourceHandle -from kubernetes.client.models.v1alpha2_resource_request import V1alpha2ResourceRequest -from kubernetes.client.models.v1alpha2_resource_slice import V1alpha2ResourceSlice -from kubernetes.client.models.v1alpha2_resource_slice_list import V1alpha2ResourceSliceList -from kubernetes.client.models.v1alpha2_structured_resource_handle import V1alpha2StructuredResourceHandle -from kubernetes.client.models.v1alpha2_vendor_parameters import V1alpha2VendorParameters +from kubernetes.client.models.v1alpha3_allocation_result import V1alpha3AllocationResult +from kubernetes.client.models.v1alpha3_basic_device import V1alpha3BasicDevice +from kubernetes.client.models.v1alpha3_cel_device_selector import V1alpha3CELDeviceSelector +from kubernetes.client.models.v1alpha3_device import V1alpha3Device +from kubernetes.client.models.v1alpha3_device_allocation_configuration import V1alpha3DeviceAllocationConfiguration +from kubernetes.client.models.v1alpha3_device_allocation_result import V1alpha3DeviceAllocationResult +from kubernetes.client.models.v1alpha3_device_attribute import V1alpha3DeviceAttribute +from kubernetes.client.models.v1alpha3_device_claim import V1alpha3DeviceClaim +from kubernetes.client.models.v1alpha3_device_claim_configuration import V1alpha3DeviceClaimConfiguration +from kubernetes.client.models.v1alpha3_device_class import V1alpha3DeviceClass +from kubernetes.client.models.v1alpha3_device_class_configuration import V1alpha3DeviceClassConfiguration +from kubernetes.client.models.v1alpha3_device_class_list import V1alpha3DeviceClassList +from kubernetes.client.models.v1alpha3_device_class_spec import V1alpha3DeviceClassSpec +from kubernetes.client.models.v1alpha3_device_constraint import V1alpha3DeviceConstraint +from kubernetes.client.models.v1alpha3_device_request import V1alpha3DeviceRequest +from kubernetes.client.models.v1alpha3_device_request_allocation_result import V1alpha3DeviceRequestAllocationResult +from kubernetes.client.models.v1alpha3_device_selector import V1alpha3DeviceSelector +from kubernetes.client.models.v1alpha3_opaque_device_configuration import V1alpha3OpaqueDeviceConfiguration +from kubernetes.client.models.v1alpha3_pod_scheduling_context import V1alpha3PodSchedulingContext +from kubernetes.client.models.v1alpha3_pod_scheduling_context_list import V1alpha3PodSchedulingContextList +from kubernetes.client.models.v1alpha3_pod_scheduling_context_spec import V1alpha3PodSchedulingContextSpec +from kubernetes.client.models.v1alpha3_pod_scheduling_context_status import V1alpha3PodSchedulingContextStatus +from kubernetes.client.models.v1alpha3_resource_claim import V1alpha3ResourceClaim +from kubernetes.client.models.v1alpha3_resource_claim_consumer_reference import V1alpha3ResourceClaimConsumerReference +from kubernetes.client.models.v1alpha3_resource_claim_list import V1alpha3ResourceClaimList +from kubernetes.client.models.v1alpha3_resource_claim_scheduling_status import V1alpha3ResourceClaimSchedulingStatus +from kubernetes.client.models.v1alpha3_resource_claim_spec import V1alpha3ResourceClaimSpec +from kubernetes.client.models.v1alpha3_resource_claim_status import V1alpha3ResourceClaimStatus +from kubernetes.client.models.v1alpha3_resource_claim_template import V1alpha3ResourceClaimTemplate +from kubernetes.client.models.v1alpha3_resource_claim_template_list import V1alpha3ResourceClaimTemplateList +from kubernetes.client.models.v1alpha3_resource_claim_template_spec import V1alpha3ResourceClaimTemplateSpec +from kubernetes.client.models.v1alpha3_resource_pool import V1alpha3ResourcePool +from kubernetes.client.models.v1alpha3_resource_slice import V1alpha3ResourceSlice +from kubernetes.client.models.v1alpha3_resource_slice_list import V1alpha3ResourceSliceList +from kubernetes.client.models.v1alpha3_resource_slice_spec import V1alpha3ResourceSliceSpec from kubernetes.client.models.v1beta1_audit_annotation import V1beta1AuditAnnotation from kubernetes.client.models.v1beta1_expression_warning import V1beta1ExpressionWarning +from kubernetes.client.models.v1beta1_ip_address import V1beta1IPAddress +from kubernetes.client.models.v1beta1_ip_address_list import V1beta1IPAddressList +from kubernetes.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec from kubernetes.client.models.v1beta1_match_condition import V1beta1MatchCondition from kubernetes.client.models.v1beta1_match_resources import V1beta1MatchResources from kubernetes.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations from kubernetes.client.models.v1beta1_param_kind import V1beta1ParamKind from kubernetes.client.models.v1beta1_param_ref import V1beta1ParamRef +from kubernetes.client.models.v1beta1_parent_reference import V1beta1ParentReference from kubernetes.client.models.v1beta1_self_subject_review import V1beta1SelfSubjectReview from kubernetes.client.models.v1beta1_self_subject_review_status import V1beta1SelfSubjectReviewStatus +from kubernetes.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR +from kubernetes.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList +from kubernetes.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec +from kubernetes.client.models.v1beta1_service_cidr_status import V1beta1ServiceCIDRStatus from kubernetes.client.models.v1beta1_type_checking import V1beta1TypeChecking from kubernetes.client.models.v1beta1_validating_admission_policy import V1beta1ValidatingAdmissionPolicy from kubernetes.client.models.v1beta1_validating_admission_policy_binding import V1beta1ValidatingAdmissionPolicyBinding @@ -579,6 +586,8 @@ from kubernetes.client.models.v1beta1_validating_admission_policy_spec import V1 from kubernetes.client.models.v1beta1_validating_admission_policy_status import V1beta1ValidatingAdmissionPolicyStatus from kubernetes.client.models.v1beta1_validation import V1beta1Validation from kubernetes.client.models.v1beta1_variable import V1beta1Variable +from kubernetes.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass +from kubernetes.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList from kubernetes.client.models.v1beta3_exempt_priority_level_configuration import V1beta3ExemptPriorityLevelConfiguration from kubernetes.client.models.v1beta3_flow_distinguisher_method import V1beta3FlowDistinguisherMethod from kubernetes.client.models.v1beta3_flow_schema import V1beta3FlowSchema diff --git a/kubernetes/client/models/admissionregistration_v1_service_reference.py b/kubernetes/client/models/admissionregistration_v1_service_reference.py index f20871308..beab010f8 100644 --- a/kubernetes/client/models/admissionregistration_v1_service_reference.py +++ b/kubernetes/client/models/admissionregistration_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py b/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py index 3584b0834..792caa281 100644 --- a/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py +++ b/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiextensions_v1_service_reference.py b/kubernetes/client/models/apiextensions_v1_service_reference.py index c47ba3355..9cb983c2a 100644 --- a/kubernetes/client/models/apiextensions_v1_service_reference.py +++ b/kubernetes/client/models/apiextensions_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiextensions_v1_webhook_client_config.py b/kubernetes/client/models/apiextensions_v1_webhook_client_config.py index a893dc33f..7ba4867e5 100644 --- a/kubernetes/client/models/apiextensions_v1_webhook_client_config.py +++ b/kubernetes/client/models/apiextensions_v1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiregistration_v1_service_reference.py b/kubernetes/client/models/apiregistration_v1_service_reference.py index 0567ba9c4..4a4fb123b 100644 --- a/kubernetes/client/models/apiregistration_v1_service_reference.py +++ b/kubernetes/client/models/apiregistration_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/authentication_v1_token_request.py b/kubernetes/client/models/authentication_v1_token_request.py index bcb64c932..1e01a1374 100644 --- a/kubernetes/client/models/authentication_v1_token_request.py +++ b/kubernetes/client/models/authentication_v1_token_request.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/core_v1_endpoint_port.py b/kubernetes/client/models/core_v1_endpoint_port.py index 976c851f3..1966c6b8f 100644 --- a/kubernetes/client/models/core_v1_endpoint_port.py +++ b/kubernetes/client/models/core_v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/core_v1_event.py b/kubernetes/client/models/core_v1_event.py index ff48ef4ec..b4f29fcd5 100644 --- a/kubernetes/client/models/core_v1_event.py +++ b/kubernetes/client/models/core_v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/core_v1_event_list.py b/kubernetes/client/models/core_v1_event_list.py index 1b61549af..8d0f56f7f 100644 --- a/kubernetes/client/models/core_v1_event_list.py +++ b/kubernetes/client/models/core_v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/core_v1_event_series.py b/kubernetes/client/models/core_v1_event_series.py index f8475e891..18bfd4304 100644 --- a/kubernetes/client/models/core_v1_event_series.py +++ b/kubernetes/client/models/core_v1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/discovery_v1_endpoint_port.py b/kubernetes/client/models/discovery_v1_endpoint_port.py index 5b00b2011..280a6972c 100644 --- a/kubernetes/client/models/discovery_v1_endpoint_port.py +++ b/kubernetes/client/models/discovery_v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/events_v1_event.py b/kubernetes/client/models/events_v1_event.py index 8c03e9ff2..ce490b67a 100644 --- a/kubernetes/client/models/events_v1_event.py +++ b/kubernetes/client/models/events_v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/events_v1_event_list.py b/kubernetes/client/models/events_v1_event_list.py index 1c4c3fbaa..49406b181 100644 --- a/kubernetes/client/models/events_v1_event_list.py +++ b/kubernetes/client/models/events_v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/events_v1_event_series.py b/kubernetes/client/models/events_v1_event_series.py index 2edab7a9f..7e35a8255 100644 --- a/kubernetes/client/models/events_v1_event_series.py +++ b/kubernetes/client/models/events_v1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/flowcontrol_v1_subject.py b/kubernetes/client/models/flowcontrol_v1_subject.py index bc45fcbf7..b72c15f8e 100644 --- a/kubernetes/client/models/flowcontrol_v1_subject.py +++ b/kubernetes/client/models/flowcontrol_v1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/rbac_v1_subject.py b/kubernetes/client/models/rbac_v1_subject.py index 870a0c08d..e2a669abf 100644 --- a/kubernetes/client/models/rbac_v1_subject.py +++ b/kubernetes/client/models/rbac_v1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/storage_v1_token_request.py b/kubernetes/client/models/storage_v1_token_request.py index 366b26f78..d4d4f3620 100644 --- a/kubernetes/client/models/storage_v1_token_request.py +++ b/kubernetes/client/models/storage_v1_token_request.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_affinity.py b/kubernetes/client/models/v1_affinity.py index 11565e44e..4c2de2228 100644 --- a/kubernetes/client/models/v1_affinity.py +++ b/kubernetes/client/models/v1_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_aggregation_rule.py b/kubernetes/client/models/v1_aggregation_rule.py index cb071b03c..dd4b5091d 100644 --- a/kubernetes/client/models/v1_aggregation_rule.py +++ b/kubernetes/client/models/v1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_group.py b/kubernetes/client/models/v1_api_group.py index a0368bd83..3c83d7f80 100644 --- a/kubernetes/client/models/v1_api_group.py +++ b/kubernetes/client/models/v1_api_group.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_group_list.py b/kubernetes/client/models/v1_api_group_list.py index 9cdbff77f..a4c947cd2 100644 --- a/kubernetes/client/models/v1_api_group_list.py +++ b/kubernetes/client/models/v1_api_group_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_resource.py b/kubernetes/client/models/v1_api_resource.py index 15e92b3e0..a5ef7c3aa 100644 --- a/kubernetes/client/models/v1_api_resource.py +++ b/kubernetes/client/models/v1_api_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_resource_list.py b/kubernetes/client/models/v1_api_resource_list.py index 80d1bba0b..5bbcc7eb8 100644 --- a/kubernetes/client/models/v1_api_resource_list.py +++ b/kubernetes/client/models/v1_api_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service.py b/kubernetes/client/models/v1_api_service.py index e53187e3d..06fff4dfa 100644 --- a/kubernetes/client/models/v1_api_service.py +++ b/kubernetes/client/models/v1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_condition.py b/kubernetes/client/models/v1_api_service_condition.py index aad9b59dc..6d9c036a8 100644 --- a/kubernetes/client/models/v1_api_service_condition.py +++ b/kubernetes/client/models/v1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_list.py b/kubernetes/client/models/v1_api_service_list.py index cd63214c0..adf1cdb84 100644 --- a/kubernetes/client/models/v1_api_service_list.py +++ b/kubernetes/client/models/v1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_spec.py b/kubernetes/client/models/v1_api_service_spec.py index 1d29cf462..500b0b113 100644 --- a/kubernetes/client/models/v1_api_service_spec.py +++ b/kubernetes/client/models/v1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_status.py b/kubernetes/client/models/v1_api_service_status.py index 0305937d0..1e38f5eda 100644 --- a/kubernetes/client/models/v1_api_service_status.py +++ b/kubernetes/client/models/v1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_versions.py b/kubernetes/client/models/v1_api_versions.py index 15cce92ae..e9a0fdeca 100644 --- a/kubernetes/client/models/v1_api_versions.py +++ b/kubernetes/client/models/v1_api_versions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_app_armor_profile.py b/kubernetes/client/models/v1_app_armor_profile.py index 8d2321449..3c7d171b8 100644 --- a/kubernetes/client/models/v1_app_armor_profile.py +++ b/kubernetes/client/models/v1_app_armor_profile.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_attached_volume.py b/kubernetes/client/models/v1_attached_volume.py index 4f19e2d0a..0e86b82b7 100644 --- a/kubernetes/client/models/v1_attached_volume.py +++ b/kubernetes/client/models/v1_attached_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_audit_annotation.py b/kubernetes/client/models/v1_audit_annotation.py index bf56986ba..7b5397a9f 100644 --- a/kubernetes/client/models/v1_audit_annotation.py +++ b/kubernetes/client/models/v1_audit_annotation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py index b5065feaa..08b0105cc 100644 --- a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_azure_disk_volume_source.py b/kubernetes/client/models/v1_azure_disk_volume_source.py index 0c6faa09a..a7ad4f4b6 100644 --- a/kubernetes/client/models/v1_azure_disk_volume_source.py +++ b/kubernetes/client/models/v1_azure_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py index 648995c1f..452a8f8d0 100644 --- a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_azure_file_volume_source.py b/kubernetes/client/models/v1_azure_file_volume_source.py index e99d6476a..76fc325ba 100644 --- a/kubernetes/client/models/v1_azure_file_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_binding.py b/kubernetes/client/models/v1_binding.py index 2db9a8c71..83d484311 100644 --- a/kubernetes/client/models/v1_binding.py +++ b/kubernetes/client/models/v1_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_bound_object_reference.py b/kubernetes/client/models/v1_bound_object_reference.py index bc8c62586..49b5b36dc 100644 --- a/kubernetes/client/models/v1_bound_object_reference.py +++ b/kubernetes/client/models/v1_bound_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_capabilities.py b/kubernetes/client/models/v1_capabilities.py index 3e6525d45..d4218ebd5 100644 --- a/kubernetes/client/models/v1_capabilities.py +++ b/kubernetes/client/models/v1_capabilities.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py index 1b1c8263c..e876be191 100644 --- a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ceph_fs_volume_source.py b/kubernetes/client/models/v1_ceph_fs_volume_source.py index 9861cb27b..90d26ed7f 100644 --- a/kubernetes/client/models/v1_ceph_fs_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request.py b/kubernetes/client/models/v1_certificate_signing_request.py index ac8f0a2a6..d2bcaee6c 100644 --- a/kubernetes/client/models/v1_certificate_signing_request.py +++ b/kubernetes/client/models/v1_certificate_signing_request.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request_condition.py b/kubernetes/client/models/v1_certificate_signing_request_condition.py index 1b3cf992c..4b3a8006b 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_condition.py +++ b/kubernetes/client/models/v1_certificate_signing_request_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request_list.py b/kubernetes/client/models/v1_certificate_signing_request_list.py index bbe453848..7005d428d 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_list.py +++ b/kubernetes/client/models/v1_certificate_signing_request_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request_spec.py b/kubernetes/client/models/v1_certificate_signing_request_spec.py index bbaa3ca77..642a09bbd 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_spec.py +++ b/kubernetes/client/models/v1_certificate_signing_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_certificate_signing_request_status.py b/kubernetes/client/models/v1_certificate_signing_request_status.py index f1b680155..ab900cb45 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_status.py +++ b/kubernetes/client/models/v1_certificate_signing_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cinder_persistent_volume_source.py b/kubernetes/client/models/v1_cinder_persistent_volume_source.py index 65eeb2fe1..307b363f6 100644 --- a/kubernetes/client/models/v1_cinder_persistent_volume_source.py +++ b/kubernetes/client/models/v1_cinder_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cinder_volume_source.py b/kubernetes/client/models/v1_cinder_volume_source.py index 38cb3a59b..04e45f0e2 100644 --- a/kubernetes/client/models/v1_cinder_volume_source.py +++ b/kubernetes/client/models/v1_cinder_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_claim_source.py b/kubernetes/client/models/v1_claim_source.py deleted file mode 100644 index 7c7c41776..000000000 --- a/kubernetes/client/models/v1_claim_source.py +++ /dev/null @@ -1,150 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1ClaimSource(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'resource_claim_name': 'str', - 'resource_claim_template_name': 'str' - } - - attribute_map = { - 'resource_claim_name': 'resourceClaimName', - 'resource_claim_template_name': 'resourceClaimTemplateName' - } - - def __init__(self, resource_claim_name=None, resource_claim_template_name=None, local_vars_configuration=None): # noqa: E501 - """V1ClaimSource - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._resource_claim_name = None - self._resource_claim_template_name = None - self.discriminator = None - - if resource_claim_name is not None: - self.resource_claim_name = resource_claim_name - if resource_claim_template_name is not None: - self.resource_claim_template_name = resource_claim_template_name - - @property - def resource_claim_name(self): - """Gets the resource_claim_name of this V1ClaimSource. # noqa: E501 - - ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. # noqa: E501 - - :return: The resource_claim_name of this V1ClaimSource. # noqa: E501 - :rtype: str - """ - return self._resource_claim_name - - @resource_claim_name.setter - def resource_claim_name(self, resource_claim_name): - """Sets the resource_claim_name of this V1ClaimSource. - - ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. # noqa: E501 - - :param resource_claim_name: The resource_claim_name of this V1ClaimSource. # noqa: E501 - :type: str - """ - - self._resource_claim_name = resource_claim_name - - @property - def resource_claim_template_name(self): - """Gets the resource_claim_template_name of this V1ClaimSource. # noqa: E501 - - ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. # noqa: E501 - - :return: The resource_claim_template_name of this V1ClaimSource. # noqa: E501 - :rtype: str - """ - return self._resource_claim_template_name - - @resource_claim_template_name.setter - def resource_claim_template_name(self, resource_claim_template_name): - """Sets the resource_claim_template_name of this V1ClaimSource. - - ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. # noqa: E501 - - :param resource_claim_template_name: The resource_claim_template_name of this V1ClaimSource. # noqa: E501 - :type: str - """ - - self._resource_claim_template_name = resource_claim_template_name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1ClaimSource): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1ClaimSource): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_client_ip_config.py b/kubernetes/client/models/v1_client_ip_config.py index 5588c858d..0e61af43e 100644 --- a/kubernetes/client/models/v1_client_ip_config.py +++ b/kubernetes/client/models/v1_client_ip_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role.py b/kubernetes/client/models/v1_cluster_role.py index 55d03ac3c..36576a205 100644 --- a/kubernetes/client/models/v1_cluster_role.py +++ b/kubernetes/client/models/v1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role_binding.py b/kubernetes/client/models/v1_cluster_role_binding.py index 11d916509..bce673fdf 100644 --- a/kubernetes/client/models/v1_cluster_role_binding.py +++ b/kubernetes/client/models/v1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role_binding_list.py b/kubernetes/client/models/v1_cluster_role_binding_list.py index 0e1c13f8e..0d43c1ed4 100644 --- a/kubernetes/client/models/v1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role_list.py b/kubernetes/client/models/v1_cluster_role_list.py index 10107d34d..b28c6c571 100644 --- a/kubernetes/client/models/v1_cluster_role_list.py +++ b/kubernetes/client/models/v1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_trust_bundle_projection.py b/kubernetes/client/models/v1_cluster_trust_bundle_projection.py index 3bd9e978c..55236c2d7 100644 --- a/kubernetes/client/models/v1_cluster_trust_bundle_projection.py +++ b/kubernetes/client/models/v1_cluster_trust_bundle_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_component_condition.py b/kubernetes/client/models/v1_component_condition.py index 701777cb2..4688811cf 100644 --- a/kubernetes/client/models/v1_component_condition.py +++ b/kubernetes/client/models/v1_component_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_component_status.py b/kubernetes/client/models/v1_component_status.py index 511db22e5..7d2c973e6 100644 --- a/kubernetes/client/models/v1_component_status.py +++ b/kubernetes/client/models/v1_component_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_component_status_list.py b/kubernetes/client/models/v1_component_status_list.py index f1106a20c..2f6b9e8a5 100644 --- a/kubernetes/client/models/v1_component_status_list.py +++ b/kubernetes/client/models/v1_component_status_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_condition.py b/kubernetes/client/models/v1_condition.py index 0bae1adba..43b059ec6 100644 --- a/kubernetes/client/models/v1_condition.py +++ b/kubernetes/client/models/v1_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map.py b/kubernetes/client/models/v1_config_map.py index 27c0aa1db..8579335c2 100644 --- a/kubernetes/client/models/v1_config_map.py +++ b/kubernetes/client/models/v1_config_map.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_env_source.py b/kubernetes/client/models/v1_config_map_env_source.py index c5167aa89..1fd7f9235 100644 --- a/kubernetes/client/models/v1_config_map_env_source.py +++ b/kubernetes/client/models/v1_config_map_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_key_selector.py b/kubernetes/client/models/v1_config_map_key_selector.py index d3d8ae552..8d457c964 100644 --- a/kubernetes/client/models/v1_config_map_key_selector.py +++ b/kubernetes/client/models/v1_config_map_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_list.py b/kubernetes/client/models/v1_config_map_list.py index 1e9383f03..5d908adf4 100644 --- a/kubernetes/client/models/v1_config_map_list.py +++ b/kubernetes/client/models/v1_config_map_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_node_config_source.py b/kubernetes/client/models/v1_config_map_node_config_source.py index ee58987fe..5a130a02c 100644 --- a/kubernetes/client/models/v1_config_map_node_config_source.py +++ b/kubernetes/client/models/v1_config_map_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_projection.py b/kubernetes/client/models/v1_config_map_projection.py index e77e88d4c..fbfadfd47 100644 --- a/kubernetes/client/models/v1_config_map_projection.py +++ b/kubernetes/client/models/v1_config_map_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_volume_source.py b/kubernetes/client/models/v1_config_map_volume_source.py index 6ea5ef966..7c1530a02 100644 --- a/kubernetes/client/models/v1_config_map_volume_source.py +++ b/kubernetes/client/models/v1_config_map_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container.py b/kubernetes/client/models/v1_container.py index 1e5930742..dcca774d9 100644 --- a/kubernetes/client/models/v1_container.py +++ b/kubernetes/client/models/v1_container.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_image.py b/kubernetes/client/models/v1_container_image.py index 4651d8250..77d0c370e 100644 --- a/kubernetes/client/models/v1_container_image.py +++ b/kubernetes/client/models/v1_container_image.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_port.py b/kubernetes/client/models/v1_container_port.py index 7a72cb282..46cc8d947 100644 --- a/kubernetes/client/models/v1_container_port.py +++ b/kubernetes/client/models/v1_container_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_resize_policy.py b/kubernetes/client/models/v1_container_resize_policy.py index bda0c7596..2acc70b05 100644 --- a/kubernetes/client/models/v1_container_resize_policy.py +++ b/kubernetes/client/models/v1_container_resize_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state.py b/kubernetes/client/models/v1_container_state.py index cc6c45b53..212e68f9b 100644 --- a/kubernetes/client/models/v1_container_state.py +++ b/kubernetes/client/models/v1_container_state.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state_running.py b/kubernetes/client/models/v1_container_state_running.py index d1b00f14e..733941cbb 100644 --- a/kubernetes/client/models/v1_container_state_running.py +++ b/kubernetes/client/models/v1_container_state_running.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state_terminated.py b/kubernetes/client/models/v1_container_state_terminated.py index 7f7cd0838..94b88f7f3 100644 --- a/kubernetes/client/models/v1_container_state_terminated.py +++ b/kubernetes/client/models/v1_container_state_terminated.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state_waiting.py b/kubernetes/client/models/v1_container_state_waiting.py index 84a3a643f..f56731e27 100644 --- a/kubernetes/client/models/v1_container_state_waiting.py +++ b/kubernetes/client/models/v1_container_state_waiting.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_status.py b/kubernetes/client/models/v1_container_status.py index 3e6654b38..72dc11be2 100644 --- a/kubernetes/client/models/v1_container_status.py +++ b/kubernetes/client/models/v1_container_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -34,6 +34,7 @@ class V1ContainerStatus(object): """ openapi_types = { 'allocated_resources': 'dict(str, str)', + 'allocated_resources_status': 'list[V1ResourceStatus]', 'container_id': 'str', 'image': 'str', 'image_id': 'str', @@ -44,11 +45,13 @@ class V1ContainerStatus(object): 'restart_count': 'int', 'started': 'bool', 'state': 'V1ContainerState', + 'user': 'V1ContainerUser', 'volume_mounts': 'list[V1VolumeMountStatus]' } attribute_map = { 'allocated_resources': 'allocatedResources', + 'allocated_resources_status': 'allocatedResourcesStatus', 'container_id': 'containerID', 'image': 'image', 'image_id': 'imageID', @@ -59,16 +62,18 @@ class V1ContainerStatus(object): 'restart_count': 'restartCount', 'started': 'started', 'state': 'state', + 'user': 'user', 'volume_mounts': 'volumeMounts' } - def __init__(self, allocated_resources=None, container_id=None, image=None, image_id=None, last_state=None, name=None, ready=None, resources=None, restart_count=None, started=None, state=None, volume_mounts=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, allocated_resources=None, allocated_resources_status=None, container_id=None, image=None, image_id=None, last_state=None, name=None, ready=None, resources=None, restart_count=None, started=None, state=None, user=None, volume_mounts=None, local_vars_configuration=None): # noqa: E501 """V1ContainerStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._allocated_resources = None + self._allocated_resources_status = None self._container_id = None self._image = None self._image_id = None @@ -79,11 +84,14 @@ class V1ContainerStatus(object): self._restart_count = None self._started = None self._state = None + self._user = None self._volume_mounts = None self.discriminator = None if allocated_resources is not None: self.allocated_resources = allocated_resources + if allocated_resources_status is not None: + self.allocated_resources_status = allocated_resources_status if container_id is not None: self.container_id = container_id self.image = image @@ -99,6 +107,8 @@ class V1ContainerStatus(object): self.started = started if state is not None: self.state = state + if user is not None: + self.user = user if volume_mounts is not None: self.volume_mounts = volume_mounts @@ -125,6 +135,29 @@ class V1ContainerStatus(object): self._allocated_resources = allocated_resources + @property + def allocated_resources_status(self): + """Gets the allocated_resources_status of this V1ContainerStatus. # noqa: E501 + + AllocatedResourcesStatus represents the status of various resources allocated for this Pod. # noqa: E501 + + :return: The allocated_resources_status of this V1ContainerStatus. # noqa: E501 + :rtype: list[V1ResourceStatus] + """ + return self._allocated_resources_status + + @allocated_resources_status.setter + def allocated_resources_status(self, allocated_resources_status): + """Sets the allocated_resources_status of this V1ContainerStatus. + + AllocatedResourcesStatus represents the status of various resources allocated for this Pod. # noqa: E501 + + :param allocated_resources_status: The allocated_resources_status of this V1ContainerStatus. # noqa: E501 + :type: list[V1ResourceStatus] + """ + + self._allocated_resources_status = allocated_resources_status + @property def container_id(self): """Gets the container_id of this V1ContainerStatus. # noqa: E501 @@ -359,6 +392,27 @@ class V1ContainerStatus(object): self._state = state + @property + def user(self): + """Gets the user of this V1ContainerStatus. # noqa: E501 + + + :return: The user of this V1ContainerStatus. # noqa: E501 + :rtype: V1ContainerUser + """ + return self._user + + @user.setter + def user(self, user): + """Sets the user of this V1ContainerStatus. + + + :param user: The user of this V1ContainerStatus. # noqa: E501 + :type: V1ContainerUser + """ + + self._user = user + @property def volume_mounts(self): """Gets the volume_mounts of this V1ContainerStatus. # noqa: E501 diff --git a/kubernetes/client/models/v1alpha2_named_resources_string_slice.py b/kubernetes/client/models/v1_container_user.py similarity index 64% rename from kubernetes/client/models/v1alpha2_named_resources_string_slice.py rename to kubernetes/client/models/v1_container_user.py index a2bb34fe3..6caba5ee2 100644 --- a/kubernetes/client/models/v1alpha2_named_resources_string_slice.py +++ b/kubernetes/client/models/v1_container_user.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2NamedResourcesStringSlice(object): +class V1ContainerUser(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,48 +33,45 @@ class V1alpha2NamedResourcesStringSlice(object): and the value is json key in definition. """ openapi_types = { - 'strings': 'list[str]' + 'linux': 'V1LinuxContainerUser' } attribute_map = { - 'strings': 'strings' + 'linux': 'linux' } - def __init__(self, strings=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2NamedResourcesStringSlice - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, linux=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerUser - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration - self._strings = None + self._linux = None self.discriminator = None - self.strings = strings + if linux is not None: + self.linux = linux @property - def strings(self): - """Gets the strings of this V1alpha2NamedResourcesStringSlice. # noqa: E501 + def linux(self): + """Gets the linux of this V1ContainerUser. # noqa: E501 - Strings is the slice of strings. # noqa: E501 - :return: The strings of this V1alpha2NamedResourcesStringSlice. # noqa: E501 - :rtype: list[str] + :return: The linux of this V1ContainerUser. # noqa: E501 + :rtype: V1LinuxContainerUser """ - return self._strings + return self._linux - @strings.setter - def strings(self, strings): - """Sets the strings of this V1alpha2NamedResourcesStringSlice. + @linux.setter + def linux(self, linux): + """Sets the linux of this V1ContainerUser. - Strings is the slice of strings. # noqa: E501 - :param strings: The strings of this V1alpha2NamedResourcesStringSlice. # noqa: E501 - :type: list[str] + :param linux: The linux of this V1ContainerUser. # noqa: E501 + :type: V1LinuxContainerUser """ - if self.local_vars_configuration.client_side_validation and strings is None: # noqa: E501 - raise ValueError("Invalid value for `strings`, must not be `None`") # noqa: E501 - self._strings = strings + self._linux = linux def to_dict(self): """Returns the model properties as a dict""" @@ -110,14 +107,14 @@ class V1alpha2NamedResourcesStringSlice(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2NamedResourcesStringSlice): + if not isinstance(other, V1ContainerUser): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2NamedResourcesStringSlice): + if not isinstance(other, V1ContainerUser): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_controller_revision.py b/kubernetes/client/models/v1_controller_revision.py index f3e4376d2..91896791a 100644 --- a/kubernetes/client/models/v1_controller_revision.py +++ b/kubernetes/client/models/v1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_controller_revision_list.py b/kubernetes/client/models/v1_controller_revision_list.py index d7b79cafa..59e628cfa 100644 --- a/kubernetes/client/models/v1_controller_revision_list.py +++ b/kubernetes/client/models/v1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cron_job.py b/kubernetes/client/models/v1_cron_job.py index 36ae16139..95feb9cca 100644 --- a/kubernetes/client/models/v1_cron_job.py +++ b/kubernetes/client/models/v1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cron_job_list.py b/kubernetes/client/models/v1_cron_job_list.py index f378b159d..1802f2916 100644 --- a/kubernetes/client/models/v1_cron_job_list.py +++ b/kubernetes/client/models/v1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cron_job_spec.py b/kubernetes/client/models/v1_cron_job_spec.py index 8060eeef0..2ccf77ddb 100644 --- a/kubernetes/client/models/v1_cron_job_spec.py +++ b/kubernetes/client/models/v1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cron_job_status.py b/kubernetes/client/models/v1_cron_job_status.py index 15679b2f5..24749ab53 100644 --- a/kubernetes/client/models/v1_cron_job_status.py +++ b/kubernetes/client/models/v1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cross_version_object_reference.py b/kubernetes/client/models/v1_cross_version_object_reference.py index b0c8790b0..7a0bdbc10 100644 --- a/kubernetes/client/models/v1_cross_version_object_reference.py +++ b/kubernetes/client/models/v1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_driver.py b/kubernetes/client/models/v1_csi_driver.py index 332db219d..132573b82 100644 --- a/kubernetes/client/models/v1_csi_driver.py +++ b/kubernetes/client/models/v1_csi_driver.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_driver_list.py b/kubernetes/client/models/v1_csi_driver_list.py index ac02518c8..db20be613 100644 --- a/kubernetes/client/models/v1_csi_driver_list.py +++ b/kubernetes/client/models/v1_csi_driver_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_driver_spec.py b/kubernetes/client/models/v1_csi_driver_spec.py index a82171f24..0a6cfe900 100644 --- a/kubernetes/client/models/v1_csi_driver_spec.py +++ b/kubernetes/client/models/v1_csi_driver_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_node.py b/kubernetes/client/models/v1_csi_node.py index 402c8a82a..8c6ac4571 100644 --- a/kubernetes/client/models/v1_csi_node.py +++ b/kubernetes/client/models/v1_csi_node.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_node_driver.py b/kubernetes/client/models/v1_csi_node_driver.py index 8feee6bad..6b8f2d5e7 100644 --- a/kubernetes/client/models/v1_csi_node_driver.py +++ b/kubernetes/client/models/v1_csi_node_driver.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_node_list.py b/kubernetes/client/models/v1_csi_node_list.py index 3e3bb6f6d..2720bfd24 100644 --- a/kubernetes/client/models/v1_csi_node_list.py +++ b/kubernetes/client/models/v1_csi_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_node_spec.py b/kubernetes/client/models/v1_csi_node_spec.py index 84cb84ffa..bd29f0a52 100644 --- a/kubernetes/client/models/v1_csi_node_spec.py +++ b/kubernetes/client/models/v1_csi_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_persistent_volume_source.py b/kubernetes/client/models/v1_csi_persistent_volume_source.py index 061641073..48109c30f 100644 --- a/kubernetes/client/models/v1_csi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_csi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_storage_capacity.py b/kubernetes/client/models/v1_csi_storage_capacity.py index b84558ac8..4a970f93c 100644 --- a/kubernetes/client/models/v1_csi_storage_capacity.py +++ b/kubernetes/client/models/v1_csi_storage_capacity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_storage_capacity_list.py b/kubernetes/client/models/v1_csi_storage_capacity_list.py index ae9ecdfb2..164cf7c16 100644 --- a/kubernetes/client/models/v1_csi_storage_capacity_list.py +++ b/kubernetes/client/models/v1_csi_storage_capacity_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_volume_source.py b/kubernetes/client/models/v1_csi_volume_source.py index be3bc3499..ac8f93a1a 100644 --- a/kubernetes/client/models/v1_csi_volume_source.py +++ b/kubernetes/client/models/v1_csi_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_column_definition.py b/kubernetes/client/models/v1_custom_resource_column_definition.py index 7bad30dab..226a7a85b 100644 --- a/kubernetes/client/models/v1_custom_resource_column_definition.py +++ b/kubernetes/client/models/v1_custom_resource_column_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_conversion.py b/kubernetes/client/models/v1_custom_resource_conversion.py index e5f28be31..fb641bcc3 100644 --- a/kubernetes/client/models/v1_custom_resource_conversion.py +++ b/kubernetes/client/models/v1_custom_resource_conversion.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition.py b/kubernetes/client/models/v1_custom_resource_definition.py index 33461ded3..3432cc658 100644 --- a/kubernetes/client/models/v1_custom_resource_definition.py +++ b/kubernetes/client/models/v1_custom_resource_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_condition.py b/kubernetes/client/models/v1_custom_resource_definition_condition.py index d926f4ec6..ecef0065d 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_condition.py +++ b/kubernetes/client/models/v1_custom_resource_definition_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_list.py b/kubernetes/client/models/v1_custom_resource_definition_list.py index f45ec3b4e..e26bb07c7 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_list.py +++ b/kubernetes/client/models/v1_custom_resource_definition_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_names.py b/kubernetes/client/models/v1_custom_resource_definition_names.py index d8f30604b..583269299 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_names.py +++ b/kubernetes/client/models/v1_custom_resource_definition_names.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_spec.py b/kubernetes/client/models/v1_custom_resource_definition_spec.py index cf4a2e056..48b9a54cf 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_spec.py +++ b/kubernetes/client/models/v1_custom_resource_definition_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_status.py b/kubernetes/client/models/v1_custom_resource_definition_status.py index fbc929a8f..07b0995ca 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_status.py +++ b/kubernetes/client/models/v1_custom_resource_definition_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_version.py b/kubernetes/client/models/v1_custom_resource_definition_version.py index 9855eb411..0290f6af2 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_version.py +++ b/kubernetes/client/models/v1_custom_resource_definition_version.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_subresource_scale.py b/kubernetes/client/models/v1_custom_resource_subresource_scale.py index f4052bce6..fe5e082b5 100644 --- a/kubernetes/client/models/v1_custom_resource_subresource_scale.py +++ b/kubernetes/client/models/v1_custom_resource_subresource_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_subresources.py b/kubernetes/client/models/v1_custom_resource_subresources.py index 12f7bb19f..3e46dee72 100644 --- a/kubernetes/client/models/v1_custom_resource_subresources.py +++ b/kubernetes/client/models/v1_custom_resource_subresources.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_validation.py b/kubernetes/client/models/v1_custom_resource_validation.py index 784b97ef3..1b8d18244 100644 --- a/kubernetes/client/models/v1_custom_resource_validation.py +++ b/kubernetes/client/models/v1_custom_resource_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_endpoint.py b/kubernetes/client/models/v1_daemon_endpoint.py index c9f7c30e3..a63fc08de 100644 --- a/kubernetes/client/models/v1_daemon_endpoint.py +++ b/kubernetes/client/models/v1_daemon_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set.py b/kubernetes/client/models/v1_daemon_set.py index 13720e382..b96db9cb5 100644 --- a/kubernetes/client/models/v1_daemon_set.py +++ b/kubernetes/client/models/v1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_condition.py b/kubernetes/client/models/v1_daemon_set_condition.py index 8a10cfec2..b030d8e7e 100644 --- a/kubernetes/client/models/v1_daemon_set_condition.py +++ b/kubernetes/client/models/v1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_list.py b/kubernetes/client/models/v1_daemon_set_list.py index 492bad848..2d9f12732 100644 --- a/kubernetes/client/models/v1_daemon_set_list.py +++ b/kubernetes/client/models/v1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_spec.py b/kubernetes/client/models/v1_daemon_set_spec.py index 4f921b12c..512b3214b 100644 --- a/kubernetes/client/models/v1_daemon_set_spec.py +++ b/kubernetes/client/models/v1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_status.py b/kubernetes/client/models/v1_daemon_set_status.py index a206077a8..59ee1b4e8 100644 --- a/kubernetes/client/models/v1_daemon_set_status.py +++ b/kubernetes/client/models/v1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_update_strategy.py b/kubernetes/client/models/v1_daemon_set_update_strategy.py index 65a68c252..6d1355f62 100644 --- a/kubernetes/client/models/v1_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_delete_options.py b/kubernetes/client/models/v1_delete_options.py index 23f72b219..729bbce7e 100644 --- a/kubernetes/client/models/v1_delete_options.py +++ b/kubernetes/client/models/v1_delete_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment.py b/kubernetes/client/models/v1_deployment.py index 4ad73897c..ceeeac2c2 100644 --- a/kubernetes/client/models/v1_deployment.py +++ b/kubernetes/client/models/v1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_condition.py b/kubernetes/client/models/v1_deployment_condition.py index af732022b..75054154f 100644 --- a/kubernetes/client/models/v1_deployment_condition.py +++ b/kubernetes/client/models/v1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_list.py b/kubernetes/client/models/v1_deployment_list.py index 84df854d2..bf6cf6b6f 100644 --- a/kubernetes/client/models/v1_deployment_list.py +++ b/kubernetes/client/models/v1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_spec.py b/kubernetes/client/models/v1_deployment_spec.py index b509d1be9..570c4cb68 100644 --- a/kubernetes/client/models/v1_deployment_spec.py +++ b/kubernetes/client/models/v1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_status.py b/kubernetes/client/models/v1_deployment_status.py index 46cb4ea4a..ce039daf6 100644 --- a/kubernetes/client/models/v1_deployment_status.py +++ b/kubernetes/client/models/v1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_strategy.py b/kubernetes/client/models/v1_deployment_strategy.py index d9b8b3d4e..2de189361 100644 --- a/kubernetes/client/models/v1_deployment_strategy.py +++ b/kubernetes/client/models/v1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_downward_api_projection.py b/kubernetes/client/models/v1_downward_api_projection.py index ca5535c48..021e82128 100644 --- a/kubernetes/client/models/v1_downward_api_projection.py +++ b/kubernetes/client/models/v1_downward_api_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_downward_api_volume_file.py b/kubernetes/client/models/v1_downward_api_volume_file.py index 5820141eb..bf0ebe7ee 100644 --- a/kubernetes/client/models/v1_downward_api_volume_file.py +++ b/kubernetes/client/models/v1_downward_api_volume_file.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_downward_api_volume_source.py b/kubernetes/client/models/v1_downward_api_volume_source.py index ae6ca09dd..3588ed91f 100644 --- a/kubernetes/client/models/v1_downward_api_volume_source.py +++ b/kubernetes/client/models/v1_downward_api_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_empty_dir_volume_source.py b/kubernetes/client/models/v1_empty_dir_volume_source.py index 6f44cfbf2..2b04c37a9 100644 --- a/kubernetes/client/models/v1_empty_dir_volume_source.py +++ b/kubernetes/client/models/v1_empty_dir_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint.py b/kubernetes/client/models/v1_endpoint.py index ae763b18a..081e3de0f 100644 --- a/kubernetes/client/models/v1_endpoint.py +++ b/kubernetes/client/models/v1_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint_address.py b/kubernetes/client/models/v1_endpoint_address.py index cbe22b604..2a4a79179 100644 --- a/kubernetes/client/models/v1_endpoint_address.py +++ b/kubernetes/client/models/v1_endpoint_address.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint_conditions.py b/kubernetes/client/models/v1_endpoint_conditions.py index 050a13c2c..ed5fdf77b 100644 --- a/kubernetes/client/models/v1_endpoint_conditions.py +++ b/kubernetes/client/models/v1_endpoint_conditions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint_hints.py b/kubernetes/client/models/v1_endpoint_hints.py index c133588fe..1f898f07d 100644 --- a/kubernetes/client/models/v1_endpoint_hints.py +++ b/kubernetes/client/models/v1_endpoint_hints.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint_slice.py b/kubernetes/client/models/v1_endpoint_slice.py index 2788b119c..5b64376b8 100644 --- a/kubernetes/client/models/v1_endpoint_slice.py +++ b/kubernetes/client/models/v1_endpoint_slice.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint_slice_list.py b/kubernetes/client/models/v1_endpoint_slice_list.py index 70512ef21..a6f9a1094 100644 --- a/kubernetes/client/models/v1_endpoint_slice_list.py +++ b/kubernetes/client/models/v1_endpoint_slice_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint_subset.py b/kubernetes/client/models/v1_endpoint_subset.py index 8d0ecd3e4..96bfd0314 100644 --- a/kubernetes/client/models/v1_endpoint_subset.py +++ b/kubernetes/client/models/v1_endpoint_subset.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoints.py b/kubernetes/client/models/v1_endpoints.py index 8d60bae6c..84c9dff19 100644 --- a/kubernetes/client/models/v1_endpoints.py +++ b/kubernetes/client/models/v1_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoints_list.py b/kubernetes/client/models/v1_endpoints_list.py index 1904a6133..67f55d365 100644 --- a/kubernetes/client/models/v1_endpoints_list.py +++ b/kubernetes/client/models/v1_endpoints_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_env_from_source.py b/kubernetes/client/models/v1_env_from_source.py index 2c8f737eb..0a7680996 100644 --- a/kubernetes/client/models/v1_env_from_source.py +++ b/kubernetes/client/models/v1_env_from_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_env_var.py b/kubernetes/client/models/v1_env_var.py index 485ded3fe..11d37fbf6 100644 --- a/kubernetes/client/models/v1_env_var.py +++ b/kubernetes/client/models/v1_env_var.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_env_var_source.py b/kubernetes/client/models/v1_env_var_source.py index e094ca127..7736fd188 100644 --- a/kubernetes/client/models/v1_env_var_source.py +++ b/kubernetes/client/models/v1_env_var_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ephemeral_container.py b/kubernetes/client/models/v1_ephemeral_container.py index 1023b5eb4..f3cb35f7e 100644 --- a/kubernetes/client/models/v1_ephemeral_container.py +++ b/kubernetes/client/models/v1_ephemeral_container.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ephemeral_volume_source.py b/kubernetes/client/models/v1_ephemeral_volume_source.py index 833ff28d6..e6deebf07 100644 --- a/kubernetes/client/models/v1_ephemeral_volume_source.py +++ b/kubernetes/client/models/v1_ephemeral_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_event_source.py b/kubernetes/client/models/v1_event_source.py index b854aacc9..6b116e01e 100644 --- a/kubernetes/client/models/v1_event_source.py +++ b/kubernetes/client/models/v1_event_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_eviction.py b/kubernetes/client/models/v1_eviction.py index 592624caf..b2b732c79 100644 --- a/kubernetes/client/models/v1_eviction.py +++ b/kubernetes/client/models/v1_eviction.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_exec_action.py b/kubernetes/client/models/v1_exec_action.py index 5fe99d675..1fd46225a 100644 --- a/kubernetes/client/models/v1_exec_action.py +++ b/kubernetes/client/models/v1_exec_action.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_exempt_priority_level_configuration.py b/kubernetes/client/models/v1_exempt_priority_level_configuration.py index f4b2fcd47..ef786f302 100644 --- a/kubernetes/client/models/v1_exempt_priority_level_configuration.py +++ b/kubernetes/client/models/v1_exempt_priority_level_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_expression_warning.py b/kubernetes/client/models/v1_expression_warning.py index 56d4eac5f..cabcdb2d4 100644 --- a/kubernetes/client/models/v1_expression_warning.py +++ b/kubernetes/client/models/v1_expression_warning.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_external_documentation.py b/kubernetes/client/models/v1_external_documentation.py index 91fcd3736..c7867cf20 100644 --- a/kubernetes/client/models/v1_external_documentation.py +++ b/kubernetes/client/models/v1_external_documentation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_fc_volume_source.py b/kubernetes/client/models/v1_fc_volume_source.py index f704779f6..1ee21a244 100644 --- a/kubernetes/client/models/v1_fc_volume_source.py +++ b/kubernetes/client/models/v1_fc_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_field_selector_attributes.py b/kubernetes/client/models/v1_field_selector_attributes.py new file mode 100644 index 000000000..053c37fc9 --- /dev/null +++ b/kubernetes/client/models/v1_field_selector_attributes.py @@ -0,0 +1,150 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1FieldSelectorAttributes(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'raw_selector': 'str', + 'requirements': 'list[V1FieldSelectorRequirement]' + } + + attribute_map = { + 'raw_selector': 'rawSelector', + 'requirements': 'requirements' + } + + def __init__(self, raw_selector=None, requirements=None, local_vars_configuration=None): # noqa: E501 + """V1FieldSelectorAttributes - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._raw_selector = None + self._requirements = None + self.discriminator = None + + if raw_selector is not None: + self.raw_selector = raw_selector + if requirements is not None: + self.requirements = requirements + + @property + def raw_selector(self): + """Gets the raw_selector of this V1FieldSelectorAttributes. # noqa: E501 + + rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present. # noqa: E501 + + :return: The raw_selector of this V1FieldSelectorAttributes. # noqa: E501 + :rtype: str + """ + return self._raw_selector + + @raw_selector.setter + def raw_selector(self, raw_selector): + """Sets the raw_selector of this V1FieldSelectorAttributes. + + rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present. # noqa: E501 + + :param raw_selector: The raw_selector of this V1FieldSelectorAttributes. # noqa: E501 + :type: str + """ + + self._raw_selector = raw_selector + + @property + def requirements(self): + """Gets the requirements of this V1FieldSelectorAttributes. # noqa: E501 + + requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood. # noqa: E501 + + :return: The requirements of this V1FieldSelectorAttributes. # noqa: E501 + :rtype: list[V1FieldSelectorRequirement] + """ + return self._requirements + + @requirements.setter + def requirements(self, requirements): + """Sets the requirements of this V1FieldSelectorAttributes. + + requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood. # noqa: E501 + + :param requirements: The requirements of this V1FieldSelectorAttributes. # noqa: E501 + :type: list[V1FieldSelectorRequirement] + """ + + self._requirements = requirements + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1FieldSelectorAttributes): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1FieldSelectorAttributes): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_field_selector_requirement.py b/kubernetes/client/models/v1_field_selector_requirement.py new file mode 100644 index 000000000..f2ddd9824 --- /dev/null +++ b/kubernetes/client/models/v1_field_selector_requirement.py @@ -0,0 +1,180 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1FieldSelectorRequirement(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'key': 'str', + 'operator': 'str', + 'values': 'list[str]' + } + + attribute_map = { + 'key': 'key', + 'operator': 'operator', + 'values': 'values' + } + + def __init__(self, key=None, operator=None, values=None, local_vars_configuration=None): # noqa: E501 + """V1FieldSelectorRequirement - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._key = None + self._operator = None + self._values = None + self.discriminator = None + + self.key = key + self.operator = operator + if values is not None: + self.values = values + + @property + def key(self): + """Gets the key of this V1FieldSelectorRequirement. # noqa: E501 + + key is the field selector key that the requirement applies to. # noqa: E501 + + :return: The key of this V1FieldSelectorRequirement. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this V1FieldSelectorRequirement. + + key is the field selector key that the requirement applies to. # noqa: E501 + + :param key: The key of this V1FieldSelectorRequirement. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501 + raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501 + + self._key = key + + @property + def operator(self): + """Gets the operator of this V1FieldSelectorRequirement. # noqa: E501 + + operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future. # noqa: E501 + + :return: The operator of this V1FieldSelectorRequirement. # noqa: E501 + :rtype: str + """ + return self._operator + + @operator.setter + def operator(self, operator): + """Sets the operator of this V1FieldSelectorRequirement. + + operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future. # noqa: E501 + + :param operator: The operator of this V1FieldSelectorRequirement. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and operator is None: # noqa: E501 + raise ValueError("Invalid value for `operator`, must not be `None`") # noqa: E501 + + self._operator = operator + + @property + def values(self): + """Gets the values of this V1FieldSelectorRequirement. # noqa: E501 + + values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. # noqa: E501 + + :return: The values of this V1FieldSelectorRequirement. # noqa: E501 + :rtype: list[str] + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this V1FieldSelectorRequirement. + + values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. # noqa: E501 + + :param values: The values of this V1FieldSelectorRequirement. # noqa: E501 + :type: list[str] + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1FieldSelectorRequirement): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1FieldSelectorRequirement): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_flex_persistent_volume_source.py b/kubernetes/client/models/v1_flex_persistent_volume_source.py index c73e712d4..e3fca963d 100644 --- a/kubernetes/client/models/v1_flex_persistent_volume_source.py +++ b/kubernetes/client/models/v1_flex_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flex_volume_source.py b/kubernetes/client/models/v1_flex_volume_source.py index 4956b63c6..78be848d6 100644 --- a/kubernetes/client/models/v1_flex_volume_source.py +++ b/kubernetes/client/models/v1_flex_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flocker_volume_source.py b/kubernetes/client/models/v1_flocker_volume_source.py index b475d8d24..c73beae58 100644 --- a/kubernetes/client/models/v1_flocker_volume_source.py +++ b/kubernetes/client/models/v1_flocker_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flow_distinguisher_method.py b/kubernetes/client/models/v1_flow_distinguisher_method.py index 58861965e..019a78ca1 100644 --- a/kubernetes/client/models/v1_flow_distinguisher_method.py +++ b/kubernetes/client/models/v1_flow_distinguisher_method.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flow_schema.py b/kubernetes/client/models/v1_flow_schema.py index f10ec5672..8f52661ad 100644 --- a/kubernetes/client/models/v1_flow_schema.py +++ b/kubernetes/client/models/v1_flow_schema.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flow_schema_condition.py b/kubernetes/client/models/v1_flow_schema_condition.py index 7e02fe549..2b4dedbb7 100644 --- a/kubernetes/client/models/v1_flow_schema_condition.py +++ b/kubernetes/client/models/v1_flow_schema_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flow_schema_list.py b/kubernetes/client/models/v1_flow_schema_list.py index 5de0b1053..1d88ca01f 100644 --- a/kubernetes/client/models/v1_flow_schema_list.py +++ b/kubernetes/client/models/v1_flow_schema_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flow_schema_spec.py b/kubernetes/client/models/v1_flow_schema_spec.py index b4c1fefea..0e2f445fc 100644 --- a/kubernetes/client/models/v1_flow_schema_spec.py +++ b/kubernetes/client/models/v1_flow_schema_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flow_schema_status.py b/kubernetes/client/models/v1_flow_schema_status.py index 91bb9bc5c..23ec6fd23 100644 --- a/kubernetes/client/models/v1_flow_schema_status.py +++ b/kubernetes/client/models/v1_flow_schema_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_for_zone.py b/kubernetes/client/models/v1_for_zone.py index 50e0381a5..07508adf6 100644 --- a/kubernetes/client/models/v1_for_zone.py +++ b/kubernetes/client/models/v1_for_zone.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py index 6e1a7f9b7..5d731f11b 100644 --- a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_git_repo_volume_source.py b/kubernetes/client/models/v1_git_repo_volume_source.py index 1c1fb3e7c..28cd8d04c 100644 --- a/kubernetes/client/models/v1_git_repo_volume_source.py +++ b/kubernetes/client/models/v1_git_repo_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py b/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py index f41c430df..2c393a294 100644 --- a/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py +++ b/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_glusterfs_volume_source.py b/kubernetes/client/models/v1_glusterfs_volume_source.py index a3068b0f3..4df997fea 100644 --- a/kubernetes/client/models/v1_glusterfs_volume_source.py +++ b/kubernetes/client/models/v1_glusterfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_group_subject.py b/kubernetes/client/models/v1_group_subject.py index fa0575261..85ccb5fb0 100644 --- a/kubernetes/client/models/v1_group_subject.py +++ b/kubernetes/client/models/v1_group_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_group_version_for_discovery.py b/kubernetes/client/models/v1_group_version_for_discovery.py index f8bac03b1..e07e2123b 100644 --- a/kubernetes/client/models/v1_group_version_for_discovery.py +++ b/kubernetes/client/models/v1_group_version_for_discovery.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_grpc_action.py b/kubernetes/client/models/v1_grpc_action.py index 9cc81680a..6f0a7f538 100644 --- a/kubernetes/client/models/v1_grpc_action.py +++ b/kubernetes/client/models/v1_grpc_action.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py index a754f638b..01c210ae2 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py index 279852c78..e660eda09 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py index 917603049..871e113b3 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py index afc3793e5..4e0f54fb1 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_host_alias.py b/kubernetes/client/models/v1_host_alias.py index 4c4161a57..77888348f 100644 --- a/kubernetes/client/models/v1_host_alias.py +++ b/kubernetes/client/models/v1_host_alias.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_host_ip.py b/kubernetes/client/models/v1_host_ip.py index 068d4be27..ccb7896fa 100644 --- a/kubernetes/client/models/v1_host_ip.py +++ b/kubernetes/client/models/v1_host_ip.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -49,8 +49,7 @@ class V1HostIP(object): self._ip = None self.discriminator = None - if ip is not None: - self.ip = ip + self.ip = ip @property def ip(self): @@ -72,6 +71,8 @@ class V1HostIP(object): :param ip: The ip of this V1HostIP. # noqa: E501 :type: str """ + if self.local_vars_configuration.client_side_validation and ip is None: # noqa: E501 + raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501 self._ip = ip diff --git a/kubernetes/client/models/v1_host_path_volume_source.py b/kubernetes/client/models/v1_host_path_volume_source.py index 79837e4b5..6d7c92ffd 100644 --- a/kubernetes/client/models/v1_host_path_volume_source.py +++ b/kubernetes/client/models/v1_host_path_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_http_get_action.py b/kubernetes/client/models/v1_http_get_action.py index b7405919a..072992a64 100644 --- a/kubernetes/client/models/v1_http_get_action.py +++ b/kubernetes/client/models/v1_http_get_action.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_http_header.py b/kubernetes/client/models/v1_http_header.py index d4915ddfe..5fef0bea4 100644 --- a/kubernetes/client/models/v1_http_header.py +++ b/kubernetes/client/models/v1_http_header.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_http_ingress_path.py b/kubernetes/client/models/v1_http_ingress_path.py index 6a028a745..071678a31 100644 --- a/kubernetes/client/models/v1_http_ingress_path.py +++ b/kubernetes/client/models/v1_http_ingress_path.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_http_ingress_rule_value.py b/kubernetes/client/models/v1_http_ingress_rule_value.py index fa2f3ea38..460eac9fd 100644 --- a/kubernetes/client/models/v1_http_ingress_rule_value.py +++ b/kubernetes/client/models/v1_http_ingress_rule_value.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_image_volume_source.py b/kubernetes/client/models/v1_image_volume_source.py new file mode 100644 index 000000000..b2397ce61 --- /dev/null +++ b/kubernetes/client/models/v1_image_volume_source.py @@ -0,0 +1,150 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ImageVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'pull_policy': 'str', + 'reference': 'str' + } + + attribute_map = { + 'pull_policy': 'pullPolicy', + 'reference': 'reference' + } + + def __init__(self, pull_policy=None, reference=None, local_vars_configuration=None): # noqa: E501 + """V1ImageVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._pull_policy = None + self._reference = None + self.discriminator = None + + if pull_policy is not None: + self.pull_policy = pull_policy + if reference is not None: + self.reference = reference + + @property + def pull_policy(self): + """Gets the pull_policy of this V1ImageVolumeSource. # noqa: E501 + + Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. # noqa: E501 + + :return: The pull_policy of this V1ImageVolumeSource. # noqa: E501 + :rtype: str + """ + return self._pull_policy + + @pull_policy.setter + def pull_policy(self, pull_policy): + """Sets the pull_policy of this V1ImageVolumeSource. + + Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. # noqa: E501 + + :param pull_policy: The pull_policy of this V1ImageVolumeSource. # noqa: E501 + :type: str + """ + + self._pull_policy = pull_policy + + @property + def reference(self): + """Gets the reference of this V1ImageVolumeSource. # noqa: E501 + + Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. # noqa: E501 + + :return: The reference of this V1ImageVolumeSource. # noqa: E501 + :rtype: str + """ + return self._reference + + @reference.setter + def reference(self, reference): + """Sets the reference of this V1ImageVolumeSource. + + Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. # noqa: E501 + + :param reference: The reference of this V1ImageVolumeSource. # noqa: E501 + :type: str + """ + + self._reference = reference + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1ImageVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ImageVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_ingress.py b/kubernetes/client/models/v1_ingress.py index 90577f764..f2852dccf 100644 --- a/kubernetes/client/models/v1_ingress.py +++ b/kubernetes/client/models/v1_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_backend.py b/kubernetes/client/models/v1_ingress_backend.py index afd29de8b..f7ab3122f 100644 --- a/kubernetes/client/models/v1_ingress_backend.py +++ b/kubernetes/client/models/v1_ingress_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_class.py b/kubernetes/client/models/v1_ingress_class.py index 4a576f2a3..00d540d95 100644 --- a/kubernetes/client/models/v1_ingress_class.py +++ b/kubernetes/client/models/v1_ingress_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_class_list.py b/kubernetes/client/models/v1_ingress_class_list.py index a16ea7394..0148782cb 100644 --- a/kubernetes/client/models/v1_ingress_class_list.py +++ b/kubernetes/client/models/v1_ingress_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_class_parameters_reference.py b/kubernetes/client/models/v1_ingress_class_parameters_reference.py index ba2fb3c89..c24a39ac0 100644 --- a/kubernetes/client/models/v1_ingress_class_parameters_reference.py +++ b/kubernetes/client/models/v1_ingress_class_parameters_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_class_spec.py b/kubernetes/client/models/v1_ingress_class_spec.py index 2b81c0c6b..3221fc95a 100644 --- a/kubernetes/client/models/v1_ingress_class_spec.py +++ b/kubernetes/client/models/v1_ingress_class_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_list.py b/kubernetes/client/models/v1_ingress_list.py index eb46418bf..1e12ce249 100644 --- a/kubernetes/client/models/v1_ingress_list.py +++ b/kubernetes/client/models/v1_ingress_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_load_balancer_ingress.py b/kubernetes/client/models/v1_ingress_load_balancer_ingress.py index 272e49ab1..8cd14fcb1 100644 --- a/kubernetes/client/models/v1_ingress_load_balancer_ingress.py +++ b/kubernetes/client/models/v1_ingress_load_balancer_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_load_balancer_status.py b/kubernetes/client/models/v1_ingress_load_balancer_status.py index 03b6a46f7..5fdd74f52 100644 --- a/kubernetes/client/models/v1_ingress_load_balancer_status.py +++ b/kubernetes/client/models/v1_ingress_load_balancer_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_port_status.py b/kubernetes/client/models/v1_ingress_port_status.py index 40a1e05cf..cf55be01c 100644 --- a/kubernetes/client/models/v1_ingress_port_status.py +++ b/kubernetes/client/models/v1_ingress_port_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_rule.py b/kubernetes/client/models/v1_ingress_rule.py index 4a98b6b90..f24b62752 100644 --- a/kubernetes/client/models/v1_ingress_rule.py +++ b/kubernetes/client/models/v1_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_service_backend.py b/kubernetes/client/models/v1_ingress_service_backend.py index baca7f1cb..ecd6bcc66 100644 --- a/kubernetes/client/models/v1_ingress_service_backend.py +++ b/kubernetes/client/models/v1_ingress_service_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_spec.py b/kubernetes/client/models/v1_ingress_spec.py index eb35a3c86..1766ed659 100644 --- a/kubernetes/client/models/v1_ingress_spec.py +++ b/kubernetes/client/models/v1_ingress_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_status.py b/kubernetes/client/models/v1_ingress_status.py index 9c1c81de4..35d7acfe6 100644 --- a/kubernetes/client/models/v1_ingress_status.py +++ b/kubernetes/client/models/v1_ingress_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ingress_tls.py b/kubernetes/client/models/v1_ingress_tls.py index 1f42437b7..b5390bfcb 100644 --- a/kubernetes/client/models/v1_ingress_tls.py +++ b/kubernetes/client/models/v1_ingress_tls.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ip_block.py b/kubernetes/client/models/v1_ip_block.py index 0a5416039..baba15244 100644 --- a/kubernetes/client/models/v1_ip_block.py +++ b/kubernetes/client/models/v1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py index 2dc156f51..c4756b8dc 100644 --- a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_iscsi_volume_source.py b/kubernetes/client/models/v1_iscsi_volume_source.py index 6b45fa116..6fb1220bc 100644 --- a/kubernetes/client/models/v1_iscsi_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_job.py b/kubernetes/client/models/v1_job.py index ce1574c95..81ec4e44a 100644 --- a/kubernetes/client/models/v1_job.py +++ b/kubernetes/client/models/v1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_job_condition.py b/kubernetes/client/models/v1_job_condition.py index 4ec4fdadb..e994d1a52 100644 --- a/kubernetes/client/models/v1_job_condition.py +++ b/kubernetes/client/models/v1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_job_list.py b/kubernetes/client/models/v1_job_list.py index 823a9f2f1..a4dc3d31b 100644 --- a/kubernetes/client/models/v1_job_list.py +++ b/kubernetes/client/models/v1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_job_spec.py b/kubernetes/client/models/v1_job_spec.py index 913e7cd3e..ecb2a0389 100644 --- a/kubernetes/client/models/v1_job_spec.py +++ b/kubernetes/client/models/v1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -245,7 +245,7 @@ class V1JobSpec(object): def managed_by(self): """Gets the managed_by of this V1JobSpec. # noqa: E501 - ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters. This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default). # noqa: E501 + ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable. This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default). # noqa: E501 :return: The managed_by of this V1JobSpec. # noqa: E501 :rtype: str @@ -256,7 +256,7 @@ class V1JobSpec(object): def managed_by(self, managed_by): """Sets the managed_by of this V1JobSpec. - ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters. This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default). # noqa: E501 + ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable. This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default). # noqa: E501 :param managed_by: The managed_by of this V1JobSpec. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_job_status.py b/kubernetes/client/models/v1_job_status.py index 75a29c67b..e1e2ba97c 100644 --- a/kubernetes/client/models/v1_job_status.py +++ b/kubernetes/client/models/v1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -244,7 +244,7 @@ class V1JobStatus(object): def ready(self): """Gets the ready of this V1JobStatus. # noqa: E501 - The number of pods which have a Ready condition. # noqa: E501 + The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp). # noqa: E501 :return: The ready of this V1JobStatus. # noqa: E501 :rtype: int @@ -255,7 +255,7 @@ class V1JobStatus(object): def ready(self, ready): """Sets the ready of this V1JobStatus. - The number of pods which have a Ready condition. # noqa: E501 + The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp). # noqa: E501 :param ready: The ready of this V1JobStatus. # noqa: E501 :type: int diff --git a/kubernetes/client/models/v1_job_template_spec.py b/kubernetes/client/models/v1_job_template_spec.py index 393fe10ad..df8e7503a 100644 --- a/kubernetes/client/models/v1_job_template_spec.py +++ b/kubernetes/client/models/v1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_json_schema_props.py b/kubernetes/client/models/v1_json_schema_props.py index cfe81ffd7..b25a0a0ee 100644 --- a/kubernetes/client/models/v1_json_schema_props.py +++ b/kubernetes/client/models/v1_json_schema_props.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -1198,7 +1198,7 @@ class V1JSONSchemaProps(object): def x_kubernetes_validations(self): """Gets the x_kubernetes_validations of this V1JSONSchemaProps. # noqa: E501 - x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled. # noqa: E501 + x-kubernetes-validations describes a list of validation rules written in the CEL expression language. # noqa: E501 :return: The x_kubernetes_validations of this V1JSONSchemaProps. # noqa: E501 :rtype: list[V1ValidationRule] @@ -1209,7 +1209,7 @@ class V1JSONSchemaProps(object): def x_kubernetes_validations(self, x_kubernetes_validations): """Sets the x_kubernetes_validations of this V1JSONSchemaProps. - x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled. # noqa: E501 + x-kubernetes-validations describes a list of validation rules written in the CEL expression language. # noqa: E501 :param x_kubernetes_validations: The x_kubernetes_validations of this V1JSONSchemaProps. # noqa: E501 :type: list[V1ValidationRule] diff --git a/kubernetes/client/models/v1_key_to_path.py b/kubernetes/client/models/v1_key_to_path.py index ed516aa6d..f4c1caa93 100644 --- a/kubernetes/client/models/v1_key_to_path.py +++ b/kubernetes/client/models/v1_key_to_path.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_label_selector.py b/kubernetes/client/models/v1_label_selector.py index b45742253..7281baa91 100644 --- a/kubernetes/client/models/v1_label_selector.py +++ b/kubernetes/client/models/v1_label_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_label_selector_attributes.py b/kubernetes/client/models/v1_label_selector_attributes.py new file mode 100644 index 000000000..63e3ad658 --- /dev/null +++ b/kubernetes/client/models/v1_label_selector_attributes.py @@ -0,0 +1,150 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1LabelSelectorAttributes(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'raw_selector': 'str', + 'requirements': 'list[V1LabelSelectorRequirement]' + } + + attribute_map = { + 'raw_selector': 'rawSelector', + 'requirements': 'requirements' + } + + def __init__(self, raw_selector=None, requirements=None, local_vars_configuration=None): # noqa: E501 + """V1LabelSelectorAttributes - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._raw_selector = None + self._requirements = None + self.discriminator = None + + if raw_selector is not None: + self.raw_selector = raw_selector + if requirements is not None: + self.requirements = requirements + + @property + def raw_selector(self): + """Gets the raw_selector of this V1LabelSelectorAttributes. # noqa: E501 + + rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present. # noqa: E501 + + :return: The raw_selector of this V1LabelSelectorAttributes. # noqa: E501 + :rtype: str + """ + return self._raw_selector + + @raw_selector.setter + def raw_selector(self, raw_selector): + """Sets the raw_selector of this V1LabelSelectorAttributes. + + rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present. # noqa: E501 + + :param raw_selector: The raw_selector of this V1LabelSelectorAttributes. # noqa: E501 + :type: str + """ + + self._raw_selector = raw_selector + + @property + def requirements(self): + """Gets the requirements of this V1LabelSelectorAttributes. # noqa: E501 + + requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood. # noqa: E501 + + :return: The requirements of this V1LabelSelectorAttributes. # noqa: E501 + :rtype: list[V1LabelSelectorRequirement] + """ + return self._requirements + + @requirements.setter + def requirements(self, requirements): + """Sets the requirements of this V1LabelSelectorAttributes. + + requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood. # noqa: E501 + + :param requirements: The requirements of this V1LabelSelectorAttributes. # noqa: E501 + :type: list[V1LabelSelectorRequirement] + """ + + self._requirements = requirements + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1LabelSelectorAttributes): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1LabelSelectorAttributes): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_label_selector_requirement.py b/kubernetes/client/models/v1_label_selector_requirement.py index aa2699368..6bc8ef0dd 100644 --- a/kubernetes/client/models/v1_label_selector_requirement.py +++ b/kubernetes/client/models/v1_label_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_lease.py b/kubernetes/client/models/v1_lease.py index cf29f0ce3..4dd77bdae 100644 --- a/kubernetes/client/models/v1_lease.py +++ b/kubernetes/client/models/v1_lease.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_lease_list.py b/kubernetes/client/models/v1_lease_list.py index 3827cad10..d6c558107 100644 --- a/kubernetes/client/models/v1_lease_list.py +++ b/kubernetes/client/models/v1_lease_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_lease_spec.py b/kubernetes/client/models/v1_lease_spec.py index ec5671380..d22219687 100644 --- a/kubernetes/client/models/v1_lease_spec.py +++ b/kubernetes/client/models/v1_lease_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -37,7 +37,9 @@ class V1LeaseSpec(object): 'holder_identity': 'str', 'lease_duration_seconds': 'int', 'lease_transitions': 'int', - 'renew_time': 'datetime' + 'preferred_holder': 'str', + 'renew_time': 'datetime', + 'strategy': 'str' } attribute_map = { @@ -45,10 +47,12 @@ class V1LeaseSpec(object): 'holder_identity': 'holderIdentity', 'lease_duration_seconds': 'leaseDurationSeconds', 'lease_transitions': 'leaseTransitions', - 'renew_time': 'renewTime' + 'preferred_holder': 'preferredHolder', + 'renew_time': 'renewTime', + 'strategy': 'strategy' } - def __init__(self, acquire_time=None, holder_identity=None, lease_duration_seconds=None, lease_transitions=None, renew_time=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, acquire_time=None, holder_identity=None, lease_duration_seconds=None, lease_transitions=None, preferred_holder=None, renew_time=None, strategy=None, local_vars_configuration=None): # noqa: E501 """V1LeaseSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -58,7 +62,9 @@ class V1LeaseSpec(object): self._holder_identity = None self._lease_duration_seconds = None self._lease_transitions = None + self._preferred_holder = None self._renew_time = None + self._strategy = None self.discriminator = None if acquire_time is not None: @@ -69,8 +75,12 @@ class V1LeaseSpec(object): self.lease_duration_seconds = lease_duration_seconds if lease_transitions is not None: self.lease_transitions = lease_transitions + if preferred_holder is not None: + self.preferred_holder = preferred_holder if renew_time is not None: self.renew_time = renew_time + if strategy is not None: + self.strategy = strategy @property def acquire_time(self): @@ -99,7 +109,7 @@ class V1LeaseSpec(object): def holder_identity(self): """Gets the holder_identity of this V1LeaseSpec. # noqa: E501 - holderIdentity contains the identity of the holder of a current lease. # noqa: E501 + holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field. # noqa: E501 :return: The holder_identity of this V1LeaseSpec. # noqa: E501 :rtype: str @@ -110,7 +120,7 @@ class V1LeaseSpec(object): def holder_identity(self, holder_identity): """Sets the holder_identity of this V1LeaseSpec. - holderIdentity contains the identity of the holder of a current lease. # noqa: E501 + holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field. # noqa: E501 :param holder_identity: The holder_identity of this V1LeaseSpec. # noqa: E501 :type: str @@ -122,7 +132,7 @@ class V1LeaseSpec(object): def lease_duration_seconds(self): """Gets the lease_duration_seconds of this V1LeaseSpec. # noqa: E501 - leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime. # noqa: E501 + leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime. # noqa: E501 :return: The lease_duration_seconds of this V1LeaseSpec. # noqa: E501 :rtype: int @@ -133,7 +143,7 @@ class V1LeaseSpec(object): def lease_duration_seconds(self, lease_duration_seconds): """Sets the lease_duration_seconds of this V1LeaseSpec. - leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime. # noqa: E501 + leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime. # noqa: E501 :param lease_duration_seconds: The lease_duration_seconds of this V1LeaseSpec. # noqa: E501 :type: int @@ -164,6 +174,29 @@ class V1LeaseSpec(object): self._lease_transitions = lease_transitions + @property + def preferred_holder(self): + """Gets the preferred_holder of this V1LeaseSpec. # noqa: E501 + + PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set. # noqa: E501 + + :return: The preferred_holder of this V1LeaseSpec. # noqa: E501 + :rtype: str + """ + return self._preferred_holder + + @preferred_holder.setter + def preferred_holder(self, preferred_holder): + """Sets the preferred_holder of this V1LeaseSpec. + + PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set. # noqa: E501 + + :param preferred_holder: The preferred_holder of this V1LeaseSpec. # noqa: E501 + :type: str + """ + + self._preferred_holder = preferred_holder + @property def renew_time(self): """Gets the renew_time of this V1LeaseSpec. # noqa: E501 @@ -187,6 +220,29 @@ class V1LeaseSpec(object): self._renew_time = renew_time + @property + def strategy(self): + """Gets the strategy of this V1LeaseSpec. # noqa: E501 + + Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. # noqa: E501 + + :return: The strategy of this V1LeaseSpec. # noqa: E501 + :rtype: str + """ + return self._strategy + + @strategy.setter + def strategy(self, strategy): + """Sets the strategy of this V1LeaseSpec. + + Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. # noqa: E501 + + :param strategy: The strategy of this V1LeaseSpec. # noqa: E501 + :type: str + """ + + self._strategy = strategy + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/kubernetes/client/models/v1_lifecycle.py b/kubernetes/client/models/v1_lifecycle.py index 2b1c30e27..c320d7d2c 100644 --- a/kubernetes/client/models/v1_lifecycle.py +++ b/kubernetes/client/models/v1_lifecycle.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_lifecycle_handler.py b/kubernetes/client/models/v1_lifecycle_handler.py index 6e6c32939..b43000aae 100644 --- a/kubernetes/client/models/v1_lifecycle_handler.py +++ b/kubernetes/client/models/v1_lifecycle_handler.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limit_range.py b/kubernetes/client/models/v1_limit_range.py index c1db0c109..a9e66b3d1 100644 --- a/kubernetes/client/models/v1_limit_range.py +++ b/kubernetes/client/models/v1_limit_range.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limit_range_item.py b/kubernetes/client/models/v1_limit_range_item.py index d4151eebe..60e2a648d 100644 --- a/kubernetes/client/models/v1_limit_range_item.py +++ b/kubernetes/client/models/v1_limit_range_item.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limit_range_list.py b/kubernetes/client/models/v1_limit_range_list.py index c7a4e5b13..b62b90b14 100644 --- a/kubernetes/client/models/v1_limit_range_list.py +++ b/kubernetes/client/models/v1_limit_range_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limit_range_spec.py b/kubernetes/client/models/v1_limit_range_spec.py index f48bc445b..11bc8a6b5 100644 --- a/kubernetes/client/models/v1_limit_range_spec.py +++ b/kubernetes/client/models/v1_limit_range_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limit_response.py b/kubernetes/client/models/v1_limit_response.py index baa9763a2..5b847cf18 100644 --- a/kubernetes/client/models/v1_limit_response.py +++ b/kubernetes/client/models/v1_limit_response.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limited_priority_level_configuration.py b/kubernetes/client/models/v1_limited_priority_level_configuration.py index 8e0f99a4a..917d249b2 100644 --- a/kubernetes/client/models/v1_limited_priority_level_configuration.py +++ b/kubernetes/client/models/v1_limited_priority_level_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_linux_container_user.py b/kubernetes/client/models/v1_linux_container_user.py new file mode 100644 index 000000000..830e38391 --- /dev/null +++ b/kubernetes/client/models/v1_linux_container_user.py @@ -0,0 +1,180 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1LinuxContainerUser(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'gid': 'int', + 'supplemental_groups': 'list[int]', + 'uid': 'int' + } + + attribute_map = { + 'gid': 'gid', + 'supplemental_groups': 'supplementalGroups', + 'uid': 'uid' + } + + def __init__(self, gid=None, supplemental_groups=None, uid=None, local_vars_configuration=None): # noqa: E501 + """V1LinuxContainerUser - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._gid = None + self._supplemental_groups = None + self._uid = None + self.discriminator = None + + self.gid = gid + if supplemental_groups is not None: + self.supplemental_groups = supplemental_groups + self.uid = uid + + @property + def gid(self): + """Gets the gid of this V1LinuxContainerUser. # noqa: E501 + + GID is the primary gid initially attached to the first process in the container # noqa: E501 + + :return: The gid of this V1LinuxContainerUser. # noqa: E501 + :rtype: int + """ + return self._gid + + @gid.setter + def gid(self, gid): + """Sets the gid of this V1LinuxContainerUser. + + GID is the primary gid initially attached to the first process in the container # noqa: E501 + + :param gid: The gid of this V1LinuxContainerUser. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and gid is None: # noqa: E501 + raise ValueError("Invalid value for `gid`, must not be `None`") # noqa: E501 + + self._gid = gid + + @property + def supplemental_groups(self): + """Gets the supplemental_groups of this V1LinuxContainerUser. # noqa: E501 + + SupplementalGroups are the supplemental groups initially attached to the first process in the container # noqa: E501 + + :return: The supplemental_groups of this V1LinuxContainerUser. # noqa: E501 + :rtype: list[int] + """ + return self._supplemental_groups + + @supplemental_groups.setter + def supplemental_groups(self, supplemental_groups): + """Sets the supplemental_groups of this V1LinuxContainerUser. + + SupplementalGroups are the supplemental groups initially attached to the first process in the container # noqa: E501 + + :param supplemental_groups: The supplemental_groups of this V1LinuxContainerUser. # noqa: E501 + :type: list[int] + """ + + self._supplemental_groups = supplemental_groups + + @property + def uid(self): + """Gets the uid of this V1LinuxContainerUser. # noqa: E501 + + UID is the primary uid initially attached to the first process in the container # noqa: E501 + + :return: The uid of this V1LinuxContainerUser. # noqa: E501 + :rtype: int + """ + return self._uid + + @uid.setter + def uid(self, uid): + """Sets the uid of this V1LinuxContainerUser. + + UID is the primary uid initially attached to the first process in the container # noqa: E501 + + :param uid: The uid of this V1LinuxContainerUser. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and uid is None: # noqa: E501 + raise ValueError("Invalid value for `uid`, must not be `None`") # noqa: E501 + + self._uid = uid + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1LinuxContainerUser): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1LinuxContainerUser): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_list_meta.py b/kubernetes/client/models/v1_list_meta.py index 379e612c7..020880e1e 100644 --- a/kubernetes/client/models/v1_list_meta.py +++ b/kubernetes/client/models/v1_list_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_load_balancer_ingress.py b/kubernetes/client/models/v1_load_balancer_ingress.py index 320541dff..dee2c2494 100644 --- a/kubernetes/client/models/v1_load_balancer_ingress.py +++ b/kubernetes/client/models/v1_load_balancer_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_load_balancer_status.py b/kubernetes/client/models/v1_load_balancer_status.py index f23f92130..f8f98efa4 100644 --- a/kubernetes/client/models/v1_load_balancer_status.py +++ b/kubernetes/client/models/v1_load_balancer_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_local_object_reference.py b/kubernetes/client/models/v1_local_object_reference.py index 8a5821d9c..c6e9f754d 100644 --- a/kubernetes/client/models/v1_local_object_reference.py +++ b/kubernetes/client/models/v1_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_local_subject_access_review.py b/kubernetes/client/models/v1_local_subject_access_review.py index 42d03e0df..16dd2ac6c 100644 --- a/kubernetes/client/models/v1_local_subject_access_review.py +++ b/kubernetes/client/models/v1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_local_volume_source.py b/kubernetes/client/models/v1_local_volume_source.py index 3058d4eb3..07f13b41d 100644 --- a/kubernetes/client/models/v1_local_volume_source.py +++ b/kubernetes/client/models/v1_local_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_managed_fields_entry.py b/kubernetes/client/models/v1_managed_fields_entry.py index 5d9a3773d..9dff4623f 100644 --- a/kubernetes/client/models/v1_managed_fields_entry.py +++ b/kubernetes/client/models/v1_managed_fields_entry.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_match_condition.py b/kubernetes/client/models/v1_match_condition.py index c5de8fd02..5845c10c1 100644 --- a/kubernetes/client/models/v1_match_condition.py +++ b/kubernetes/client/models/v1_match_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_match_resources.py b/kubernetes/client/models/v1_match_resources.py index ebebd2f8b..5a9efb9ef 100644 --- a/kubernetes/client/models/v1_match_resources.py +++ b/kubernetes/client/models/v1_match_resources.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_modify_volume_status.py b/kubernetes/client/models/v1_modify_volume_status.py index 485e85aff..9278cfba6 100644 --- a/kubernetes/client/models/v1_modify_volume_status.py +++ b/kubernetes/client/models/v1_modify_volume_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_mutating_webhook.py b/kubernetes/client/models/v1_mutating_webhook.py index 9df5da064..6b553b128 100644 --- a/kubernetes/client/models/v1_mutating_webhook.py +++ b/kubernetes/client/models/v1_mutating_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_mutating_webhook_configuration.py b/kubernetes/client/models/v1_mutating_webhook_configuration.py index 37c070051..b93dd2a85 100644 --- a/kubernetes/client/models/v1_mutating_webhook_configuration.py +++ b/kubernetes/client/models/v1_mutating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_mutating_webhook_configuration_list.py b/kubernetes/client/models/v1_mutating_webhook_configuration_list.py index 390601063..f86e3f1b2 100644 --- a/kubernetes/client/models/v1_mutating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1_mutating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_named_rule_with_operations.py b/kubernetes/client/models/v1_named_rule_with_operations.py index cc88b476d..ae2fe7740 100644 --- a/kubernetes/client/models/v1_named_rule_with_operations.py +++ b/kubernetes/client/models/v1_named_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace.py b/kubernetes/client/models/v1_namespace.py index 77e6a8b9d..aea7fbc7e 100644 --- a/kubernetes/client/models/v1_namespace.py +++ b/kubernetes/client/models/v1_namespace.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace_condition.py b/kubernetes/client/models/v1_namespace_condition.py index 3d662d476..f4de3daff 100644 --- a/kubernetes/client/models/v1_namespace_condition.py +++ b/kubernetes/client/models/v1_namespace_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace_list.py b/kubernetes/client/models/v1_namespace_list.py index de7a3bc94..c4f4b453a 100644 --- a/kubernetes/client/models/v1_namespace_list.py +++ b/kubernetes/client/models/v1_namespace_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace_spec.py b/kubernetes/client/models/v1_namespace_spec.py index 6578cfa1d..1df3d1e74 100644 --- a/kubernetes/client/models/v1_namespace_spec.py +++ b/kubernetes/client/models/v1_namespace_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace_status.py b/kubernetes/client/models/v1_namespace_status.py index 87be6ebf4..a4d745ccb 100644 --- a/kubernetes/client/models/v1_namespace_status.py +++ b/kubernetes/client/models/v1_namespace_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy.py b/kubernetes/client/models/v1_network_policy.py index afd7b7a9f..521017a7f 100644 --- a/kubernetes/client/models/v1_network_policy.py +++ b/kubernetes/client/models/v1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_egress_rule.py b/kubernetes/client/models/v1_network_policy_egress_rule.py index dfad94457..49102046c 100644 --- a/kubernetes/client/models/v1_network_policy_egress_rule.py +++ b/kubernetes/client/models/v1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_ingress_rule.py b/kubernetes/client/models/v1_network_policy_ingress_rule.py index 01cb646f5..bb86e75d5 100644 --- a/kubernetes/client/models/v1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_list.py b/kubernetes/client/models/v1_network_policy_list.py index 823640ab2..7f3cb6433 100644 --- a/kubernetes/client/models/v1_network_policy_list.py +++ b/kubernetes/client/models/v1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_peer.py b/kubernetes/client/models/v1_network_policy_peer.py index 6a5eb135e..07d791804 100644 --- a/kubernetes/client/models/v1_network_policy_peer.py +++ b/kubernetes/client/models/v1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_port.py b/kubernetes/client/models/v1_network_policy_port.py index 6057ab44f..75eaa7ee7 100644 --- a/kubernetes/client/models/v1_network_policy_port.py +++ b/kubernetes/client/models/v1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_spec.py b/kubernetes/client/models/v1_network_policy_spec.py index 7a1433a2a..c8485215b 100644 --- a/kubernetes/client/models/v1_network_policy_spec.py +++ b/kubernetes/client/models/v1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_nfs_volume_source.py b/kubernetes/client/models/v1_nfs_volume_source.py index 109eef2b2..433226271 100644 --- a/kubernetes/client/models/v1_nfs_volume_source.py +++ b/kubernetes/client/models/v1_nfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node.py b/kubernetes/client/models/v1_node.py index 89dc6fe04..488e5d7d0 100644 --- a/kubernetes/client/models/v1_node.py +++ b/kubernetes/client/models/v1_node.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_address.py b/kubernetes/client/models/v1_node_address.py index a7faf7ff2..082ab9c6a 100644 --- a/kubernetes/client/models/v1_node_address.py +++ b/kubernetes/client/models/v1_node_address.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_affinity.py b/kubernetes/client/models/v1_node_affinity.py index 8f79fa06f..0019352e0 100644 --- a/kubernetes/client/models/v1_node_affinity.py +++ b/kubernetes/client/models/v1_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_condition.py b/kubernetes/client/models/v1_node_condition.py index 093dd2a34..44948c4dd 100644 --- a/kubernetes/client/models/v1_node_condition.py +++ b/kubernetes/client/models/v1_node_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_config_source.py b/kubernetes/client/models/v1_node_config_source.py index 5030c8ca1..2ca9c3790 100644 --- a/kubernetes/client/models/v1_node_config_source.py +++ b/kubernetes/client/models/v1_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_config_status.py b/kubernetes/client/models/v1_node_config_status.py index fb41f2427..d357fb65b 100644 --- a/kubernetes/client/models/v1_node_config_status.py +++ b/kubernetes/client/models/v1_node_config_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_daemon_endpoints.py b/kubernetes/client/models/v1_node_daemon_endpoints.py index 447fbca5b..18362ee22 100644 --- a/kubernetes/client/models/v1_node_daemon_endpoints.py +++ b/kubernetes/client/models/v1_node_daemon_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_features.py b/kubernetes/client/models/v1_node_features.py new file mode 100644 index 000000000..3ad596bfe --- /dev/null +++ b/kubernetes/client/models/v1_node_features.py @@ -0,0 +1,122 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1NodeFeatures(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'supplemental_groups_policy': 'bool' + } + + attribute_map = { + 'supplemental_groups_policy': 'supplementalGroupsPolicy' + } + + def __init__(self, supplemental_groups_policy=None, local_vars_configuration=None): # noqa: E501 + """V1NodeFeatures - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._supplemental_groups_policy = None + self.discriminator = None + + if supplemental_groups_policy is not None: + self.supplemental_groups_policy = supplemental_groups_policy + + @property + def supplemental_groups_policy(self): + """Gets the supplemental_groups_policy of this V1NodeFeatures. # noqa: E501 + + SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser. # noqa: E501 + + :return: The supplemental_groups_policy of this V1NodeFeatures. # noqa: E501 + :rtype: bool + """ + return self._supplemental_groups_policy + + @supplemental_groups_policy.setter + def supplemental_groups_policy(self, supplemental_groups_policy): + """Sets the supplemental_groups_policy of this V1NodeFeatures. + + SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser. # noqa: E501 + + :param supplemental_groups_policy: The supplemental_groups_policy of this V1NodeFeatures. # noqa: E501 + :type: bool + """ + + self._supplemental_groups_policy = supplemental_groups_policy + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1NodeFeatures): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1NodeFeatures): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_node_list.py b/kubernetes/client/models/v1_node_list.py index b72b462ac..2e470b36b 100644 --- a/kubernetes/client/models/v1_node_list.py +++ b/kubernetes/client/models/v1_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_runtime_handler.py b/kubernetes/client/models/v1_node_runtime_handler.py index 28e329f11..0974c4e9c 100644 --- a/kubernetes/client/models/v1_node_runtime_handler.py +++ b/kubernetes/client/models/v1_node_runtime_handler.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_runtime_handler_features.py b/kubernetes/client/models/v1_node_runtime_handler_features.py index aa53ab751..706bfae47 100644 --- a/kubernetes/client/models/v1_node_runtime_handler_features.py +++ b/kubernetes/client/models/v1_node_runtime_handler_features.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -33,24 +33,29 @@ class V1NodeRuntimeHandlerFeatures(object): and the value is json key in definition. """ openapi_types = { - 'recursive_read_only_mounts': 'bool' + 'recursive_read_only_mounts': 'bool', + 'user_namespaces': 'bool' } attribute_map = { - 'recursive_read_only_mounts': 'recursiveReadOnlyMounts' + 'recursive_read_only_mounts': 'recursiveReadOnlyMounts', + 'user_namespaces': 'userNamespaces' } - def __init__(self, recursive_read_only_mounts=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, recursive_read_only_mounts=None, user_namespaces=None, local_vars_configuration=None): # noqa: E501 """V1NodeRuntimeHandlerFeatures - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._recursive_read_only_mounts = None + self._user_namespaces = None self.discriminator = None if recursive_read_only_mounts is not None: self.recursive_read_only_mounts = recursive_read_only_mounts + if user_namespaces is not None: + self.user_namespaces = user_namespaces @property def recursive_read_only_mounts(self): @@ -75,6 +80,29 @@ class V1NodeRuntimeHandlerFeatures(object): self._recursive_read_only_mounts = recursive_read_only_mounts + @property + def user_namespaces(self): + """Gets the user_namespaces of this V1NodeRuntimeHandlerFeatures. # noqa: E501 + + UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes. # noqa: E501 + + :return: The user_namespaces of this V1NodeRuntimeHandlerFeatures. # noqa: E501 + :rtype: bool + """ + return self._user_namespaces + + @user_namespaces.setter + def user_namespaces(self, user_namespaces): + """Sets the user_namespaces of this V1NodeRuntimeHandlerFeatures. + + UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes. # noqa: E501 + + :param user_namespaces: The user_namespaces of this V1NodeRuntimeHandlerFeatures. # noqa: E501 + :type: bool + """ + + self._user_namespaces = user_namespaces + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/kubernetes/client/models/v1_node_selector.py b/kubernetes/client/models/v1_node_selector.py index 6096929ee..c823b5728 100644 --- a/kubernetes/client/models/v1_node_selector.py +++ b/kubernetes/client/models/v1_node_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_selector_requirement.py b/kubernetes/client/models/v1_node_selector_requirement.py index f32ab503e..e17b1b2b2 100644 --- a/kubernetes/client/models/v1_node_selector_requirement.py +++ b/kubernetes/client/models/v1_node_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_selector_term.py b/kubernetes/client/models/v1_node_selector_term.py index 12b533de3..51e85bb66 100644 --- a/kubernetes/client/models/v1_node_selector_term.py +++ b/kubernetes/client/models/v1_node_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_spec.py b/kubernetes/client/models/v1_node_spec.py index 8e6530ab7..3b9144cd0 100644 --- a/kubernetes/client/models/v1_node_spec.py +++ b/kubernetes/client/models/v1_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_status.py b/kubernetes/client/models/v1_node_status.py index 9d53363f9..f8b279b16 100644 --- a/kubernetes/client/models/v1_node_status.py +++ b/kubernetes/client/models/v1_node_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -39,6 +39,7 @@ class V1NodeStatus(object): 'conditions': 'list[V1NodeCondition]', 'config': 'V1NodeConfigStatus', 'daemon_endpoints': 'V1NodeDaemonEndpoints', + 'features': 'V1NodeFeatures', 'images': 'list[V1ContainerImage]', 'node_info': 'V1NodeSystemInfo', 'phase': 'str', @@ -54,6 +55,7 @@ class V1NodeStatus(object): 'conditions': 'conditions', 'config': 'config', 'daemon_endpoints': 'daemonEndpoints', + 'features': 'features', 'images': 'images', 'node_info': 'nodeInfo', 'phase': 'phase', @@ -62,7 +64,7 @@ class V1NodeStatus(object): 'volumes_in_use': 'volumesInUse' } - def __init__(self, addresses=None, allocatable=None, capacity=None, conditions=None, config=None, daemon_endpoints=None, images=None, node_info=None, phase=None, runtime_handlers=None, volumes_attached=None, volumes_in_use=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, addresses=None, allocatable=None, capacity=None, conditions=None, config=None, daemon_endpoints=None, features=None, images=None, node_info=None, phase=None, runtime_handlers=None, volumes_attached=None, volumes_in_use=None, local_vars_configuration=None): # noqa: E501 """V1NodeStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -74,6 +76,7 @@ class V1NodeStatus(object): self._conditions = None self._config = None self._daemon_endpoints = None + self._features = None self._images = None self._node_info = None self._phase = None @@ -94,6 +97,8 @@ class V1NodeStatus(object): self.config = config if daemon_endpoints is not None: self.daemon_endpoints = daemon_endpoints + if features is not None: + self.features = features if images is not None: self.images = images if node_info is not None: @@ -157,7 +162,7 @@ class V1NodeStatus(object): def capacity(self): """Gets the capacity of this V1NodeStatus. # noqa: E501 - Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity # noqa: E501 + Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity # noqa: E501 :return: The capacity of this V1NodeStatus. # noqa: E501 :rtype: dict(str, str) @@ -168,7 +173,7 @@ class V1NodeStatus(object): def capacity(self, capacity): """Sets the capacity of this V1NodeStatus. - Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity # noqa: E501 + Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity # noqa: E501 :param capacity: The capacity of this V1NodeStatus. # noqa: E501 :type: dict(str, str) @@ -241,6 +246,27 @@ class V1NodeStatus(object): self._daemon_endpoints = daemon_endpoints + @property + def features(self): + """Gets the features of this V1NodeStatus. # noqa: E501 + + + :return: The features of this V1NodeStatus. # noqa: E501 + :rtype: V1NodeFeatures + """ + return self._features + + @features.setter + def features(self, features): + """Sets the features of this V1NodeStatus. + + + :param features: The features of this V1NodeStatus. # noqa: E501 + :type: V1NodeFeatures + """ + + self._features = features + @property def images(self): """Gets the images of this V1NodeStatus. # noqa: E501 diff --git a/kubernetes/client/models/v1_node_system_info.py b/kubernetes/client/models/v1_node_system_info.py index ff3450032..ee2ba710e 100644 --- a/kubernetes/client/models/v1_node_system_info.py +++ b/kubernetes/client/models/v1_node_system_info.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -191,7 +191,7 @@ class V1NodeSystemInfo(object): def kube_proxy_version(self): """Gets the kube_proxy_version of this V1NodeSystemInfo. # noqa: E501 - KubeProxy Version reported by the node. # noqa: E501 + Deprecated: KubeProxy Version reported by the node. # noqa: E501 :return: The kube_proxy_version of this V1NodeSystemInfo. # noqa: E501 :rtype: str @@ -202,7 +202,7 @@ class V1NodeSystemInfo(object): def kube_proxy_version(self, kube_proxy_version): """Sets the kube_proxy_version of this V1NodeSystemInfo. - KubeProxy Version reported by the node. # noqa: E501 + Deprecated: KubeProxy Version reported by the node. # noqa: E501 :param kube_proxy_version: The kube_proxy_version of this V1NodeSystemInfo. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_non_resource_attributes.py b/kubernetes/client/models/v1_non_resource_attributes.py index 27bad2ab0..82d1c9a86 100644 --- a/kubernetes/client/models/v1_non_resource_attributes.py +++ b/kubernetes/client/models/v1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_non_resource_policy_rule.py b/kubernetes/client/models/v1_non_resource_policy_rule.py index 17a12fb35..5aba8f092 100644 --- a/kubernetes/client/models/v1_non_resource_policy_rule.py +++ b/kubernetes/client/models/v1_non_resource_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_non_resource_rule.py b/kubernetes/client/models/v1_non_resource_rule.py index afefe7c3b..cae580f25 100644 --- a/kubernetes/client/models/v1_non_resource_rule.py +++ b/kubernetes/client/models/v1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_object_field_selector.py b/kubernetes/client/models/v1_object_field_selector.py index b10a82f0d..add181cdc 100644 --- a/kubernetes/client/models/v1_object_field_selector.py +++ b/kubernetes/client/models/v1_object_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_object_meta.py b/kubernetes/client/models/v1_object_meta.py index 110b73128..65b943a65 100644 --- a/kubernetes/client/models/v1_object_meta.py +++ b/kubernetes/client/models/v1_object_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_object_reference.py b/kubernetes/client/models/v1_object_reference.py index 4a72b164d..b398146ea 100644 --- a/kubernetes/client/models/v1_object_reference.py +++ b/kubernetes/client/models/v1_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_overhead.py b/kubernetes/client/models/v1_overhead.py index 1e37f95be..c1063c5f7 100644 --- a/kubernetes/client/models/v1_overhead.py +++ b/kubernetes/client/models/v1_overhead.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_owner_reference.py b/kubernetes/client/models/v1_owner_reference.py index c04187358..322095122 100644 --- a/kubernetes/client/models/v1_owner_reference.py +++ b/kubernetes/client/models/v1_owner_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_param_kind.py b/kubernetes/client/models/v1_param_kind.py index 59db35ad7..a10f34978 100644 --- a/kubernetes/client/models/v1_param_kind.py +++ b/kubernetes/client/models/v1_param_kind.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_param_ref.py b/kubernetes/client/models/v1_param_ref.py index 7b0ba456e..34554df14 100644 --- a/kubernetes/client/models/v1_param_ref.py +++ b/kubernetes/client/models/v1_param_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume.py b/kubernetes/client/models/v1_persistent_volume.py index 3381d6093..c91506fc5 100644 --- a/kubernetes/client/models/v1_persistent_volume.py +++ b/kubernetes/client/models/v1_persistent_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim.py b/kubernetes/client/models/v1_persistent_volume_claim.py index f8d533ce3..29bf4fa58 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim.py +++ b/kubernetes/client/models/v1_persistent_volume_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_condition.py b/kubernetes/client/models/v1_persistent_volume_claim_condition.py index 089935713..8e8c5bdf8 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_condition.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_list.py b/kubernetes/client/models/v1_persistent_volume_claim_list.py index 8c9962e1d..0c32413db 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_list.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_spec.py b/kubernetes/client/models/v1_persistent_volume_claim_spec.py index 5862e9661..c087a815c 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -226,7 +226,7 @@ class V1PersistentVolumeClaimSpec(object): def volume_attributes_class_name(self): """Gets the volume_attributes_class_name of this V1PersistentVolumeClaimSpec. # noqa: E501 - volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. # noqa: E501 + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). # noqa: E501 :return: The volume_attributes_class_name of this V1PersistentVolumeClaimSpec. # noqa: E501 :rtype: str @@ -237,7 +237,7 @@ class V1PersistentVolumeClaimSpec(object): def volume_attributes_class_name(self, volume_attributes_class_name): """Sets the volume_attributes_class_name of this V1PersistentVolumeClaimSpec. - volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. # noqa: E501 + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). # noqa: E501 :param volume_attributes_class_name: The volume_attributes_class_name of this V1PersistentVolumeClaimSpec. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_persistent_volume_claim_status.py b/kubernetes/client/models/v1_persistent_volume_claim_status.py index cd69ad84f..f9fb85ce2 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_status.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -206,7 +206,7 @@ class V1PersistentVolumeClaimStatus(object): def current_volume_attributes_class_name(self): """Gets the current_volume_attributes_class_name of this V1PersistentVolumeClaimStatus. # noqa: E501 - currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature. # noqa: E501 + currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default). # noqa: E501 :return: The current_volume_attributes_class_name of this V1PersistentVolumeClaimStatus. # noqa: E501 :rtype: str @@ -217,7 +217,7 @@ class V1PersistentVolumeClaimStatus(object): def current_volume_attributes_class_name(self, current_volume_attributes_class_name): """Sets the current_volume_attributes_class_name of this V1PersistentVolumeClaimStatus. - currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature. # noqa: E501 + currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default). # noqa: E501 :param current_volume_attributes_class_name: The current_volume_attributes_class_name of this V1PersistentVolumeClaimStatus. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_persistent_volume_claim_template.py b/kubernetes/client/models/v1_persistent_volume_claim_template.py index 067ade0e5..474704298 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_template.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_template.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py index a75546d1a..bf6b622a3 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_list.py b/kubernetes/client/models/v1_persistent_volume_list.py index fd9b85844..1188f3c94 100644 --- a/kubernetes/client/models/v1_persistent_volume_list.py +++ b/kubernetes/client/models/v1_persistent_volume_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_spec.py b/kubernetes/client/models/v1_persistent_volume_spec.py index f4f1f61eb..614c7cb23 100644 --- a/kubernetes/client/models/v1_persistent_volume_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -804,7 +804,7 @@ class V1PersistentVolumeSpec(object): def volume_attributes_class_name(self): """Gets the volume_attributes_class_name of this V1PersistentVolumeSpec. # noqa: E501 - Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature. # noqa: E501 + Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default). # noqa: E501 :return: The volume_attributes_class_name of this V1PersistentVolumeSpec. # noqa: E501 :rtype: str @@ -815,7 +815,7 @@ class V1PersistentVolumeSpec(object): def volume_attributes_class_name(self, volume_attributes_class_name): """Sets the volume_attributes_class_name of this V1PersistentVolumeSpec. - Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature. # noqa: E501 + Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default). # noqa: E501 :param volume_attributes_class_name: The volume_attributes_class_name of this V1PersistentVolumeSpec. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_persistent_volume_status.py b/kubernetes/client/models/v1_persistent_volume_status.py index 6fa01b259..01bea81be 100644 --- a/kubernetes/client/models/v1_persistent_volume_status.py +++ b/kubernetes/client/models/v1_persistent_volume_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -71,7 +71,7 @@ class V1PersistentVolumeStatus(object): def last_phase_transition_time(self): """Gets the last_phase_transition_time of this V1PersistentVolumeStatus. # noqa: E501 - lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default). # noqa: E501 + lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. # noqa: E501 :return: The last_phase_transition_time of this V1PersistentVolumeStatus. # noqa: E501 :rtype: datetime @@ -82,7 +82,7 @@ class V1PersistentVolumeStatus(object): def last_phase_transition_time(self, last_phase_transition_time): """Sets the last_phase_transition_time of this V1PersistentVolumeStatus. - lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default). # noqa: E501 + lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. # noqa: E501 :param last_phase_transition_time: The last_phase_transition_time of this V1PersistentVolumeStatus. # noqa: E501 :type: datetime diff --git a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py index 0bc5f9642..3ff885088 100644 --- a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod.py b/kubernetes/client/models/v1_pod.py index 2c423550e..74dbd24ca 100644 --- a/kubernetes/client/models/v1_pod.py +++ b/kubernetes/client/models/v1_pod.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_affinity.py b/kubernetes/client/models/v1_pod_affinity.py index 3db9e24d6..9bc593ee1 100644 --- a/kubernetes/client/models/v1_pod_affinity.py +++ b/kubernetes/client/models/v1_pod_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_affinity_term.py b/kubernetes/client/models/v1_pod_affinity_term.py index 452af5580..e7e59cdf3 100644 --- a/kubernetes/client/models/v1_pod_affinity_term.py +++ b/kubernetes/client/models/v1_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -101,7 +101,7 @@ class V1PodAffinityTerm(object): def match_label_keys(self): """Gets the match_label_keys of this V1PodAffinityTerm. # noqa: E501 - MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. # noqa: E501 + MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). # noqa: E501 :return: The match_label_keys of this V1PodAffinityTerm. # noqa: E501 :rtype: list[str] @@ -112,7 +112,7 @@ class V1PodAffinityTerm(object): def match_label_keys(self, match_label_keys): """Sets the match_label_keys of this V1PodAffinityTerm. - MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. # noqa: E501 + MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). # noqa: E501 :param match_label_keys: The match_label_keys of this V1PodAffinityTerm. # noqa: E501 :type: list[str] @@ -124,7 +124,7 @@ class V1PodAffinityTerm(object): def mismatch_label_keys(self): """Gets the mismatch_label_keys of this V1PodAffinityTerm. # noqa: E501 - MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. # noqa: E501 + MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). # noqa: E501 :return: The mismatch_label_keys of this V1PodAffinityTerm. # noqa: E501 :rtype: list[str] @@ -135,7 +135,7 @@ class V1PodAffinityTerm(object): def mismatch_label_keys(self, mismatch_label_keys): """Sets the mismatch_label_keys of this V1PodAffinityTerm. - MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. # noqa: E501 + MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). # noqa: E501 :param mismatch_label_keys: The mismatch_label_keys of this V1PodAffinityTerm. # noqa: E501 :type: list[str] diff --git a/kubernetes/client/models/v1_pod_anti_affinity.py b/kubernetes/client/models/v1_pod_anti_affinity.py index 34c28e9b4..8179ec47e 100644 --- a/kubernetes/client/models/v1_pod_anti_affinity.py +++ b/kubernetes/client/models/v1_pod_anti_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_condition.py b/kubernetes/client/models/v1_pod_condition.py index bc9e66e36..230b475d4 100644 --- a/kubernetes/client/models/v1_pod_condition.py +++ b/kubernetes/client/models/v1_pod_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_disruption_budget.py b/kubernetes/client/models/v1_pod_disruption_budget.py index cada267b1..e6e651f73 100644 --- a/kubernetes/client/models/v1_pod_disruption_budget.py +++ b/kubernetes/client/models/v1_pod_disruption_budget.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_disruption_budget_list.py b/kubernetes/client/models/v1_pod_disruption_budget_list.py index a897def8f..d1f9282c1 100644 --- a/kubernetes/client/models/v1_pod_disruption_budget_list.py +++ b/kubernetes/client/models/v1_pod_disruption_budget_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_disruption_budget_spec.py b/kubernetes/client/models/v1_pod_disruption_budget_spec.py index 6d2170081..ae3f5d213 100644 --- a/kubernetes/client/models/v1_pod_disruption_budget_spec.py +++ b/kubernetes/client/models/v1_pod_disruption_budget_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_disruption_budget_status.py b/kubernetes/client/models/v1_pod_disruption_budget_status.py index 8f1106491..ab11a5501 100644 --- a/kubernetes/client/models/v1_pod_disruption_budget_status.py +++ b/kubernetes/client/models/v1_pod_disruption_budget_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_dns_config.py b/kubernetes/client/models/v1_pod_dns_config.py index be983b762..e0e0c4f8f 100644 --- a/kubernetes/client/models/v1_pod_dns_config.py +++ b/kubernetes/client/models/v1_pod_dns_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_dns_config_option.py b/kubernetes/client/models/v1_pod_dns_config_option.py index 62ecade21..54f7cbb2d 100644 --- a/kubernetes/client/models/v1_pod_dns_config_option.py +++ b/kubernetes/client/models/v1_pod_dns_config_option.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_failure_policy.py b/kubernetes/client/models/v1_pod_failure_policy.py index 1cbcee5e4..d63e6870d 100644 --- a/kubernetes/client/models/v1_pod_failure_policy.py +++ b/kubernetes/client/models/v1_pod_failure_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py b/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py index b2c3d8f72..ed4baa847 100644 --- a/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py +++ b/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py b/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py index 9a6d7f48f..307fb93bc 100644 --- a/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py +++ b/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_failure_policy_rule.py b/kubernetes/client/models/v1_pod_failure_policy_rule.py index e86031214..d617897ae 100644 --- a/kubernetes/client/models/v1_pod_failure_policy_rule.py +++ b/kubernetes/client/models/v1_pod_failure_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_ip.py b/kubernetes/client/models/v1_pod_ip.py index b2dc676ff..7061ac9ec 100644 --- a/kubernetes/client/models/v1_pod_ip.py +++ b/kubernetes/client/models/v1_pod_ip.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -49,8 +49,7 @@ class V1PodIP(object): self._ip = None self.discriminator = None - if ip is not None: - self.ip = ip + self.ip = ip @property def ip(self): @@ -72,6 +71,8 @@ class V1PodIP(object): :param ip: The ip of this V1PodIP. # noqa: E501 :type: str """ + if self.local_vars_configuration.client_side_validation and ip is None: # noqa: E501 + raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501 self._ip = ip diff --git a/kubernetes/client/models/v1_pod_list.py b/kubernetes/client/models/v1_pod_list.py index 7f0a29442..3e9b43268 100644 --- a/kubernetes/client/models/v1_pod_list.py +++ b/kubernetes/client/models/v1_pod_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_os.py b/kubernetes/client/models/v1_pod_os.py index c1c5b04a0..000fdf9df 100644 --- a/kubernetes/client/models/v1_pod_os.py +++ b/kubernetes/client/models/v1_pod_os.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_readiness_gate.py b/kubernetes/client/models/v1_pod_readiness_gate.py index d86c6eeac..5d75bc042 100644 --- a/kubernetes/client/models/v1_pod_readiness_gate.py +++ b/kubernetes/client/models/v1_pod_readiness_gate.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_resource_claim.py b/kubernetes/client/models/v1_pod_resource_claim.py index 7432e2514..7c61e7997 100644 --- a/kubernetes/client/models/v1_pod_resource_claim.py +++ b/kubernetes/client/models/v1_pod_resource_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -34,27 +34,32 @@ class V1PodResourceClaim(object): """ openapi_types = { 'name': 'str', - 'source': 'V1ClaimSource' + 'resource_claim_name': 'str', + 'resource_claim_template_name': 'str' } attribute_map = { 'name': 'name', - 'source': 'source' + 'resource_claim_name': 'resourceClaimName', + 'resource_claim_template_name': 'resourceClaimTemplateName' } - def __init__(self, name=None, source=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, name=None, resource_claim_name=None, resource_claim_template_name=None, local_vars_configuration=None): # noqa: E501 """V1PodResourceClaim - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._name = None - self._source = None + self._resource_claim_name = None + self._resource_claim_template_name = None self.discriminator = None self.name = name - if source is not None: - self.source = source + if resource_claim_name is not None: + self.resource_claim_name = resource_claim_name + if resource_claim_template_name is not None: + self.resource_claim_template_name = resource_claim_template_name @property def name(self): @@ -82,25 +87,50 @@ class V1PodResourceClaim(object): self._name = name @property - def source(self): - """Gets the source of this V1PodResourceClaim. # noqa: E501 + def resource_claim_name(self): + """Gets the resource_claim_name of this V1PodResourceClaim. # noqa: E501 + ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. # noqa: E501 - :return: The source of this V1PodResourceClaim. # noqa: E501 - :rtype: V1ClaimSource + :return: The resource_claim_name of this V1PodResourceClaim. # noqa: E501 + :rtype: str """ - return self._source + return self._resource_claim_name - @source.setter - def source(self, source): - """Sets the source of this V1PodResourceClaim. + @resource_claim_name.setter + def resource_claim_name(self, resource_claim_name): + """Sets the resource_claim_name of this V1PodResourceClaim. + ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. # noqa: E501 - :param source: The source of this V1PodResourceClaim. # noqa: E501 - :type: V1ClaimSource + :param resource_claim_name: The resource_claim_name of this V1PodResourceClaim. # noqa: E501 + :type: str """ - self._source = source + self._resource_claim_name = resource_claim_name + + @property + def resource_claim_template_name(self): + """Gets the resource_claim_template_name of this V1PodResourceClaim. # noqa: E501 + + ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. # noqa: E501 + + :return: The resource_claim_template_name of this V1PodResourceClaim. # noqa: E501 + :rtype: str + """ + return self._resource_claim_template_name + + @resource_claim_template_name.setter + def resource_claim_template_name(self, resource_claim_template_name): + """Sets the resource_claim_template_name of this V1PodResourceClaim. + + ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. # noqa: E501 + + :param resource_claim_template_name: The resource_claim_template_name of this V1PodResourceClaim. # noqa: E501 + :type: str + """ + + self._resource_claim_template_name = resource_claim_template_name def to_dict(self): """Returns the model properties as a dict""" diff --git a/kubernetes/client/models/v1_pod_resource_claim_status.py b/kubernetes/client/models/v1_pod_resource_claim_status.py index b99edbbb7..843f1ac39 100644 --- a/kubernetes/client/models/v1_pod_resource_claim_status.py +++ b/kubernetes/client/models/v1_pod_resource_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -85,7 +85,7 @@ class V1PodResourceClaimStatus(object): def resource_claim_name(self): """Gets the resource_claim_name of this V1PodResourceClaimStatus. # noqa: E501 - ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. # noqa: E501 + ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. # noqa: E501 :return: The resource_claim_name of this V1PodResourceClaimStatus. # noqa: E501 :rtype: str @@ -96,7 +96,7 @@ class V1PodResourceClaimStatus(object): def resource_claim_name(self, resource_claim_name): """Sets the resource_claim_name of this V1PodResourceClaimStatus. - ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. # noqa: E501 + ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. # noqa: E501 :param resource_claim_name: The resource_claim_name of this V1PodResourceClaimStatus. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_pod_scheduling_gate.py b/kubernetes/client/models/v1_pod_scheduling_gate.py index 32388c70a..5351a2fec 100644 --- a/kubernetes/client/models/v1_pod_scheduling_gate.py +++ b/kubernetes/client/models/v1_pod_scheduling_gate.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_security_context.py b/kubernetes/client/models/v1_pod_security_context.py index 77c2206c1..146118066 100644 --- a/kubernetes/client/models/v1_pod_security_context.py +++ b/kubernetes/client/models/v1_pod_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -42,6 +42,7 @@ class V1PodSecurityContext(object): 'se_linux_options': 'V1SELinuxOptions', 'seccomp_profile': 'V1SeccompProfile', 'supplemental_groups': 'list[int]', + 'supplemental_groups_policy': 'str', 'sysctls': 'list[V1Sysctl]', 'windows_options': 'V1WindowsSecurityContextOptions' } @@ -56,11 +57,12 @@ class V1PodSecurityContext(object): 'se_linux_options': 'seLinuxOptions', 'seccomp_profile': 'seccompProfile', 'supplemental_groups': 'supplementalGroups', + 'supplemental_groups_policy': 'supplementalGroupsPolicy', 'sysctls': 'sysctls', 'windows_options': 'windowsOptions' } - def __init__(self, app_armor_profile=None, fs_group=None, fs_group_change_policy=None, run_as_group=None, run_as_non_root=None, run_as_user=None, se_linux_options=None, seccomp_profile=None, supplemental_groups=None, sysctls=None, windows_options=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, app_armor_profile=None, fs_group=None, fs_group_change_policy=None, run_as_group=None, run_as_non_root=None, run_as_user=None, se_linux_options=None, seccomp_profile=None, supplemental_groups=None, supplemental_groups_policy=None, sysctls=None, windows_options=None, local_vars_configuration=None): # noqa: E501 """V1PodSecurityContext - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -75,6 +77,7 @@ class V1PodSecurityContext(object): self._se_linux_options = None self._seccomp_profile = None self._supplemental_groups = None + self._supplemental_groups_policy = None self._sysctls = None self._windows_options = None self.discriminator = None @@ -97,6 +100,8 @@ class V1PodSecurityContext(object): self.seccomp_profile = seccomp_profile if supplemental_groups is not None: self.supplemental_groups = supplemental_groups + if supplemental_groups_policy is not None: + self.supplemental_groups_policy = supplemental_groups_policy if sysctls is not None: self.sysctls = sysctls if windows_options is not None: @@ -284,7 +289,7 @@ class V1PodSecurityContext(object): def supplemental_groups(self): """Gets the supplemental_groups of this V1PodSecurityContext. # noqa: E501 - A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 + A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 :return: The supplemental_groups of this V1PodSecurityContext. # noqa: E501 :rtype: list[int] @@ -295,7 +300,7 @@ class V1PodSecurityContext(object): def supplemental_groups(self, supplemental_groups): """Sets the supplemental_groups of this V1PodSecurityContext. - A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 + A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 :param supplemental_groups: The supplemental_groups of this V1PodSecurityContext. # noqa: E501 :type: list[int] @@ -303,6 +308,29 @@ class V1PodSecurityContext(object): self._supplemental_groups = supplemental_groups + @property + def supplemental_groups_policy(self): + """Gets the supplemental_groups_policy of this V1PodSecurityContext. # noqa: E501 + + Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 + + :return: The supplemental_groups_policy of this V1PodSecurityContext. # noqa: E501 + :rtype: str + """ + return self._supplemental_groups_policy + + @supplemental_groups_policy.setter + def supplemental_groups_policy(self, supplemental_groups_policy): + """Sets the supplemental_groups_policy of this V1PodSecurityContext. + + Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 + + :param supplemental_groups_policy: The supplemental_groups_policy of this V1PodSecurityContext. # noqa: E501 + :type: str + """ + + self._supplemental_groups_policy = supplemental_groups_policy + @property def sysctls(self): """Gets the sysctls of this V1PodSecurityContext. # noqa: E501 diff --git a/kubernetes/client/models/v1_pod_spec.py b/kubernetes/client/models/v1_pod_spec.py index 4f77255e8..181f21366 100644 --- a/kubernetes/client/models/v1_pod_spec.py +++ b/kubernetes/client/models/v1_pod_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -611,7 +611,7 @@ class V1PodSpec(object): def node_name(self): """Gets the node_name of this V1PodSpec. # noqa: E501 - NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. # noqa: E501 + NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename # noqa: E501 :return: The node_name of this V1PodSpec. # noqa: E501 :rtype: str @@ -622,7 +622,7 @@ class V1PodSpec(object): def node_name(self, node_name): """Sets the node_name of this V1PodSpec. - NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. # noqa: E501 + NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename # noqa: E501 :param node_name: The node_name of this V1PodSpec. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_pod_status.py b/kubernetes/client/models/v1_pod_status.py index 805fc5393..ff211a37f 100644 --- a/kubernetes/client/models/v1_pod_status.py +++ b/kubernetes/client/models/v1_pod_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_template.py b/kubernetes/client/models/v1_pod_template.py index 6d9fa72b5..7c09c5fba 100644 --- a/kubernetes/client/models/v1_pod_template.py +++ b/kubernetes/client/models/v1_pod_template.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_template_list.py b/kubernetes/client/models/v1_pod_template_list.py index b338403d1..33e2929af 100644 --- a/kubernetes/client/models/v1_pod_template_list.py +++ b/kubernetes/client/models/v1_pod_template_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_template_spec.py b/kubernetes/client/models/v1_pod_template_spec.py index ec69a5152..ceb0824bc 100644 --- a/kubernetes/client/models/v1_pod_template_spec.py +++ b/kubernetes/client/models/v1_pod_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_policy_rule.py b/kubernetes/client/models/v1_policy_rule.py index 029b42d13..b65389a6e 100644 --- a/kubernetes/client/models/v1_policy_rule.py +++ b/kubernetes/client/models/v1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_policy_rules_with_subjects.py b/kubernetes/client/models/v1_policy_rules_with_subjects.py index b7a68cd7b..9b6986815 100644 --- a/kubernetes/client/models/v1_policy_rules_with_subjects.py +++ b/kubernetes/client/models/v1_policy_rules_with_subjects.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_port_status.py b/kubernetes/client/models/v1_port_status.py index 5a3a45d62..6ffc913b5 100644 --- a/kubernetes/client/models/v1_port_status.py +++ b/kubernetes/client/models/v1_port_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_portworx_volume_source.py b/kubernetes/client/models/v1_portworx_volume_source.py index 4db88f417..34f3e53e1 100644 --- a/kubernetes/client/models/v1_portworx_volume_source.py +++ b/kubernetes/client/models/v1_portworx_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_preconditions.py b/kubernetes/client/models/v1_preconditions.py index a50e93661..500870978 100644 --- a/kubernetes/client/models/v1_preconditions.py +++ b/kubernetes/client/models/v1_preconditions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_preferred_scheduling_term.py b/kubernetes/client/models/v1_preferred_scheduling_term.py index be5b0556f..bc7087526 100644 --- a/kubernetes/client/models/v1_preferred_scheduling_term.py +++ b/kubernetes/client/models/v1_preferred_scheduling_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_class.py b/kubernetes/client/models/v1_priority_class.py index eef9cd573..967e500f6 100644 --- a/kubernetes/client/models/v1_priority_class.py +++ b/kubernetes/client/models/v1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_class_list.py b/kubernetes/client/models/v1_priority_class_list.py index f9d05a104..c7ee694af 100644 --- a/kubernetes/client/models/v1_priority_class_list.py +++ b/kubernetes/client/models/v1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_level_configuration.py b/kubernetes/client/models/v1_priority_level_configuration.py index 4e421856b..dcb9eb5e6 100644 --- a/kubernetes/client/models/v1_priority_level_configuration.py +++ b/kubernetes/client/models/v1_priority_level_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_level_configuration_condition.py b/kubernetes/client/models/v1_priority_level_configuration_condition.py index ec7bc91b1..bb4a45690 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_condition.py +++ b/kubernetes/client/models/v1_priority_level_configuration_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_level_configuration_list.py b/kubernetes/client/models/v1_priority_level_configuration_list.py index dea02392d..a936c26bf 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_list.py +++ b/kubernetes/client/models/v1_priority_level_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_level_configuration_reference.py b/kubernetes/client/models/v1_priority_level_configuration_reference.py index dd7a8ffe7..742bf6d0e 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_reference.py +++ b/kubernetes/client/models/v1_priority_level_configuration_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_level_configuration_spec.py b/kubernetes/client/models/v1_priority_level_configuration_spec.py index ef43858d7..5a329e1a7 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_spec.py +++ b/kubernetes/client/models/v1_priority_level_configuration_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_level_configuration_status.py b/kubernetes/client/models/v1_priority_level_configuration_status.py index bab5cf806..0100212b5 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_status.py +++ b/kubernetes/client/models/v1_priority_level_configuration_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_probe.py b/kubernetes/client/models/v1_probe.py index f06de7494..d77e0a0da 100644 --- a/kubernetes/client/models/v1_probe.py +++ b/kubernetes/client/models/v1_probe.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_projected_volume_source.py b/kubernetes/client/models/v1_projected_volume_source.py index cb144b422..0e73169ee 100644 --- a/kubernetes/client/models/v1_projected_volume_source.py +++ b/kubernetes/client/models/v1_projected_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -84,7 +84,7 @@ class V1ProjectedVolumeSource(object): def sources(self): """Gets the sources of this V1ProjectedVolumeSource. # noqa: E501 - sources is the list of volume projections # noqa: E501 + sources is the list of volume projections. Each entry in this list handles one source. # noqa: E501 :return: The sources of this V1ProjectedVolumeSource. # noqa: E501 :rtype: list[V1VolumeProjection] @@ -95,7 +95,7 @@ class V1ProjectedVolumeSource(object): def sources(self, sources): """Sets the sources of this V1ProjectedVolumeSource. - sources is the list of volume projections # noqa: E501 + sources is the list of volume projections. Each entry in this list handles one source. # noqa: E501 :param sources: The sources of this V1ProjectedVolumeSource. # noqa: E501 :type: list[V1VolumeProjection] diff --git a/kubernetes/client/models/v1_queuing_configuration.py b/kubernetes/client/models/v1_queuing_configuration.py index 1c18f05aa..001c2e066 100644 --- a/kubernetes/client/models/v1_queuing_configuration.py +++ b/kubernetes/client/models/v1_queuing_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_quobyte_volume_source.py b/kubernetes/client/models/v1_quobyte_volume_source.py index 9b568f6d7..42c1235e7 100644 --- a/kubernetes/client/models/v1_quobyte_volume_source.py +++ b/kubernetes/client/models/v1_quobyte_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rbd_persistent_volume_source.py b/kubernetes/client/models/v1_rbd_persistent_volume_source.py index 1c61d1e3c..62583ea11 100644 --- a/kubernetes/client/models/v1_rbd_persistent_volume_source.py +++ b/kubernetes/client/models/v1_rbd_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rbd_volume_source.py b/kubernetes/client/models/v1_rbd_volume_source.py index d0cbefed5..82753b691 100644 --- a/kubernetes/client/models/v1_rbd_volume_source.py +++ b/kubernetes/client/models/v1_rbd_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set.py b/kubernetes/client/models/v1_replica_set.py index 8955f011e..a955e5227 100644 --- a/kubernetes/client/models/v1_replica_set.py +++ b/kubernetes/client/models/v1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set_condition.py b/kubernetes/client/models/v1_replica_set_condition.py index 3206fb2ed..3ec7ea0ae 100644 --- a/kubernetes/client/models/v1_replica_set_condition.py +++ b/kubernetes/client/models/v1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set_list.py b/kubernetes/client/models/v1_replica_set_list.py index 274af7f0f..9b38733fd 100644 --- a/kubernetes/client/models/v1_replica_set_list.py +++ b/kubernetes/client/models/v1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set_spec.py b/kubernetes/client/models/v1_replica_set_spec.py index cd5a1c20d..85ffc75bf 100644 --- a/kubernetes/client/models/v1_replica_set_spec.py +++ b/kubernetes/client/models/v1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set_status.py b/kubernetes/client/models/v1_replica_set_status.py index d8a9000c1..c4b165801 100644 --- a/kubernetes/client/models/v1_replica_set_status.py +++ b/kubernetes/client/models/v1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller.py b/kubernetes/client/models/v1_replication_controller.py index 1c06f9e8e..dc7bde5a0 100644 --- a/kubernetes/client/models/v1_replication_controller.py +++ b/kubernetes/client/models/v1_replication_controller.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller_condition.py b/kubernetes/client/models/v1_replication_controller_condition.py index 77c9509fe..d8935e0ca 100644 --- a/kubernetes/client/models/v1_replication_controller_condition.py +++ b/kubernetes/client/models/v1_replication_controller_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller_list.py b/kubernetes/client/models/v1_replication_controller_list.py index 9918ef0dc..9318a4c61 100644 --- a/kubernetes/client/models/v1_replication_controller_list.py +++ b/kubernetes/client/models/v1_replication_controller_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller_spec.py b/kubernetes/client/models/v1_replication_controller_spec.py index b2f15a41e..f4856f89b 100644 --- a/kubernetes/client/models/v1_replication_controller_spec.py +++ b/kubernetes/client/models/v1_replication_controller_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller_status.py b/kubernetes/client/models/v1_replication_controller_status.py index 3135a4a2b..e6619e782 100644 --- a/kubernetes/client/models/v1_replication_controller_status.py +++ b/kubernetes/client/models/v1_replication_controller_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_attributes.py b/kubernetes/client/models/v1_resource_attributes.py index ff3991d13..1e29b142f 100644 --- a/kubernetes/client/models/v1_resource_attributes.py +++ b/kubernetes/client/models/v1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -33,7 +33,9 @@ class V1ResourceAttributes(object): and the value is json key in definition. """ openapi_types = { + 'field_selector': 'V1FieldSelectorAttributes', 'group': 'str', + 'label_selector': 'V1LabelSelectorAttributes', 'name': 'str', 'namespace': 'str', 'resource': 'str', @@ -43,7 +45,9 @@ class V1ResourceAttributes(object): } attribute_map = { + 'field_selector': 'fieldSelector', 'group': 'group', + 'label_selector': 'labelSelector', 'name': 'name', 'namespace': 'namespace', 'resource': 'resource', @@ -52,13 +56,15 @@ class V1ResourceAttributes(object): 'version': 'version' } - def __init__(self, group=None, name=None, namespace=None, resource=None, subresource=None, verb=None, version=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, field_selector=None, group=None, label_selector=None, name=None, namespace=None, resource=None, subresource=None, verb=None, version=None, local_vars_configuration=None): # noqa: E501 """V1ResourceAttributes - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._field_selector = None self._group = None + self._label_selector = None self._name = None self._namespace = None self._resource = None @@ -67,8 +73,12 @@ class V1ResourceAttributes(object): self._version = None self.discriminator = None + if field_selector is not None: + self.field_selector = field_selector if group is not None: self.group = group + if label_selector is not None: + self.label_selector = label_selector if name is not None: self.name = name if namespace is not None: @@ -82,6 +92,27 @@ class V1ResourceAttributes(object): if version is not None: self.version = version + @property + def field_selector(self): + """Gets the field_selector of this V1ResourceAttributes. # noqa: E501 + + + :return: The field_selector of this V1ResourceAttributes. # noqa: E501 + :rtype: V1FieldSelectorAttributes + """ + return self._field_selector + + @field_selector.setter + def field_selector(self, field_selector): + """Sets the field_selector of this V1ResourceAttributes. + + + :param field_selector: The field_selector of this V1ResourceAttributes. # noqa: E501 + :type: V1FieldSelectorAttributes + """ + + self._field_selector = field_selector + @property def group(self): """Gets the group of this V1ResourceAttributes. # noqa: E501 @@ -105,6 +136,27 @@ class V1ResourceAttributes(object): self._group = group + @property + def label_selector(self): + """Gets the label_selector of this V1ResourceAttributes. # noqa: E501 + + + :return: The label_selector of this V1ResourceAttributes. # noqa: E501 + :rtype: V1LabelSelectorAttributes + """ + return self._label_selector + + @label_selector.setter + def label_selector(self, label_selector): + """Sets the label_selector of this V1ResourceAttributes. + + + :param label_selector: The label_selector of this V1ResourceAttributes. # noqa: E501 + :type: V1LabelSelectorAttributes + """ + + self._label_selector = label_selector + @property def name(self): """Gets the name of this V1ResourceAttributes. # noqa: E501 diff --git a/kubernetes/client/models/v1_resource_claim.py b/kubernetes/client/models/v1_resource_claim.py index 13a8340cf..a365678d4 100644 --- a/kubernetes/client/models/v1_resource_claim.py +++ b/kubernetes/client/models/v1_resource_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -33,23 +33,28 @@ class V1ResourceClaim(object): and the value is json key in definition. """ openapi_types = { - 'name': 'str' + 'name': 'str', + 'request': 'str' } attribute_map = { - 'name': 'name' + 'name': 'name', + 'request': 'request' } - def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, name=None, request=None, local_vars_configuration=None): # noqa: E501 """V1ResourceClaim - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._name = None + self._request = None self.discriminator = None self.name = name + if request is not None: + self.request = request @property def name(self): @@ -76,6 +81,29 @@ class V1ResourceClaim(object): self._name = name + @property + def request(self): + """Gets the request of this V1ResourceClaim. # noqa: E501 + + Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. # noqa: E501 + + :return: The request of this V1ResourceClaim. # noqa: E501 + :rtype: str + """ + return self._request + + @request.setter + def request(self, request): + """Sets the request of this V1ResourceClaim. + + Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. # noqa: E501 + + :param request: The request of this V1ResourceClaim. # noqa: E501 + :type: str + """ + + self._request = request + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/kubernetes/client/models/v1_resource_field_selector.py b/kubernetes/client/models/v1_resource_field_selector.py index 5eda2bbfa..6e84d593f 100644 --- a/kubernetes/client/models/v1_resource_field_selector.py +++ b/kubernetes/client/models/v1_resource_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_health.py b/kubernetes/client/models/v1_resource_health.py new file mode 100644 index 000000000..e3d894604 --- /dev/null +++ b/kubernetes/client/models/v1_resource_health.py @@ -0,0 +1,151 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ResourceHealth(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'health': 'str', + 'resource_id': 'str' + } + + attribute_map = { + 'health': 'health', + 'resource_id': 'resourceID' + } + + def __init__(self, health=None, resource_id=None, local_vars_configuration=None): # noqa: E501 + """V1ResourceHealth - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._health = None + self._resource_id = None + self.discriminator = None + + if health is not None: + self.health = health + self.resource_id = resource_id + + @property + def health(self): + """Gets the health of this V1ResourceHealth. # noqa: E501 + + Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn't been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status. # noqa: E501 + + :return: The health of this V1ResourceHealth. # noqa: E501 + :rtype: str + """ + return self._health + + @health.setter + def health(self, health): + """Sets the health of this V1ResourceHealth. + + Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn't been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status. # noqa: E501 + + :param health: The health of this V1ResourceHealth. # noqa: E501 + :type: str + """ + + self._health = health + + @property + def resource_id(self): + """Gets the resource_id of this V1ResourceHealth. # noqa: E501 + + ResourceID is the unique identifier of the resource. See the ResourceID type for more information. # noqa: E501 + + :return: The resource_id of this V1ResourceHealth. # noqa: E501 + :rtype: str + """ + return self._resource_id + + @resource_id.setter + def resource_id(self, resource_id): + """Sets the resource_id of this V1ResourceHealth. + + ResourceID is the unique identifier of the resource. See the ResourceID type for more information. # noqa: E501 + + :param resource_id: The resource_id of this V1ResourceHealth. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and resource_id is None: # noqa: E501 + raise ValueError("Invalid value for `resource_id`, must not be `None`") # noqa: E501 + + self._resource_id = resource_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1ResourceHealth): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ResourceHealth): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_resource_policy_rule.py b/kubernetes/client/models/v1_resource_policy_rule.py index 70d65ba75..2de1d5573 100644 --- a/kubernetes/client/models/v1_resource_policy_rule.py +++ b/kubernetes/client/models/v1_resource_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_quota.py b/kubernetes/client/models/v1_resource_quota.py index 42888a724..0a3540254 100644 --- a/kubernetes/client/models/v1_resource_quota.py +++ b/kubernetes/client/models/v1_resource_quota.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_quota_list.py b/kubernetes/client/models/v1_resource_quota_list.py index 93307434c..672b15657 100644 --- a/kubernetes/client/models/v1_resource_quota_list.py +++ b/kubernetes/client/models/v1_resource_quota_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_quota_spec.py b/kubernetes/client/models/v1_resource_quota_spec.py index 299472f92..a3b67f669 100644 --- a/kubernetes/client/models/v1_resource_quota_spec.py +++ b/kubernetes/client/models/v1_resource_quota_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_quota_status.py b/kubernetes/client/models/v1_resource_quota_status.py index 1aba71813..5ab4d3aac 100644 --- a/kubernetes/client/models/v1_resource_quota_status.py +++ b/kubernetes/client/models/v1_resource_quota_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_requirements.py b/kubernetes/client/models/v1_resource_requirements.py index be8c4d69f..1de9939ab 100644 --- a/kubernetes/client/models/v1_resource_requirements.py +++ b/kubernetes/client/models/v1_resource_requirements.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_rule.py b/kubernetes/client/models/v1_resource_rule.py index ee7e77987..0c256bacd 100644 --- a/kubernetes/client/models/v1_resource_rule.py +++ b/kubernetes/client/models/v1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha2_named_resources_instance.py b/kubernetes/client/models/v1_resource_status.py similarity index 57% rename from kubernetes/client/models/v1alpha2_named_resources_instance.py rename to kubernetes/client/models/v1_resource_status.py index 0bdde4d16..7a01ab54d 100644 --- a/kubernetes/client/models/v1alpha2_named_resources_instance.py +++ b/kubernetes/client/models/v1_resource_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2NamedResourcesInstance(object): +class V1ResourceStatus(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,70 +33,47 @@ class V1alpha2NamedResourcesInstance(object): and the value is json key in definition. """ openapi_types = { - 'attributes': 'list[V1alpha2NamedResourcesAttribute]', - 'name': 'str' + 'name': 'str', + 'resources': 'list[V1ResourceHealth]' } attribute_map = { - 'attributes': 'attributes', - 'name': 'name' + 'name': 'name', + 'resources': 'resources' } - def __init__(self, attributes=None, name=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2NamedResourcesInstance - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, name=None, resources=None, local_vars_configuration=None): # noqa: E501 + """V1ResourceStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration - self._attributes = None self._name = None + self._resources = None self.discriminator = None - if attributes is not None: - self.attributes = attributes self.name = name - - @property - def attributes(self): - """Gets the attributes of this V1alpha2NamedResourcesInstance. # noqa: E501 - - Attributes defines the attributes of this resource instance. The name of each attribute must be unique. # noqa: E501 - - :return: The attributes of this V1alpha2NamedResourcesInstance. # noqa: E501 - :rtype: list[V1alpha2NamedResourcesAttribute] - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this V1alpha2NamedResourcesInstance. - - Attributes defines the attributes of this resource instance. The name of each attribute must be unique. # noqa: E501 - - :param attributes: The attributes of this V1alpha2NamedResourcesInstance. # noqa: E501 - :type: list[V1alpha2NamedResourcesAttribute] - """ - - self._attributes = attributes + if resources is not None: + self.resources = resources @property def name(self): - """Gets the name of this V1alpha2NamedResourcesInstance. # noqa: E501 + """Gets the name of this V1ResourceStatus. # noqa: E501 - Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain. # noqa: E501 + Name of the resource. Must be unique within the pod and match one of the resources from the pod spec. # noqa: E501 - :return: The name of this V1alpha2NamedResourcesInstance. # noqa: E501 + :return: The name of this V1ResourceStatus. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this V1alpha2NamedResourcesInstance. + """Sets the name of this V1ResourceStatus. - Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain. # noqa: E501 + Name of the resource. Must be unique within the pod and match one of the resources from the pod spec. # noqa: E501 - :param name: The name of this V1alpha2NamedResourcesInstance. # noqa: E501 + :param name: The name of this V1ResourceStatus. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 @@ -104,6 +81,29 @@ class V1alpha2NamedResourcesInstance(object): self._name = name + @property + def resources(self): + """Gets the resources of this V1ResourceStatus. # noqa: E501 + + List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition. # noqa: E501 + + :return: The resources of this V1ResourceStatus. # noqa: E501 + :rtype: list[V1ResourceHealth] + """ + return self._resources + + @resources.setter + def resources(self, resources): + """Sets the resources of this V1ResourceStatus. + + List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition. # noqa: E501 + + :param resources: The resources of this V1ResourceStatus. # noqa: E501 + :type: list[V1ResourceHealth] + """ + + self._resources = resources + def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -138,14 +138,14 @@ class V1alpha2NamedResourcesInstance(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2NamedResourcesInstance): + if not isinstance(other, V1ResourceStatus): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2NamedResourcesInstance): + if not isinstance(other, V1ResourceStatus): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_role.py b/kubernetes/client/models/v1_role.py index 14e43f8c0..cb634b2d9 100644 --- a/kubernetes/client/models/v1_role.py +++ b/kubernetes/client/models/v1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_role_binding.py b/kubernetes/client/models/v1_role_binding.py index c8293e4ea..4d85e255c 100644 --- a/kubernetes/client/models/v1_role_binding.py +++ b/kubernetes/client/models/v1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_role_binding_list.py b/kubernetes/client/models/v1_role_binding_list.py index 9692c670f..b01d06172 100644 --- a/kubernetes/client/models/v1_role_binding_list.py +++ b/kubernetes/client/models/v1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_role_list.py b/kubernetes/client/models/v1_role_list.py index 472abc1e9..9e38ef366 100644 --- a/kubernetes/client/models/v1_role_list.py +++ b/kubernetes/client/models/v1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_role_ref.py b/kubernetes/client/models/v1_role_ref.py index 27cf729b2..721b560a6 100644 --- a/kubernetes/client/models/v1_role_ref.py +++ b/kubernetes/client/models/v1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rolling_update_daemon_set.py b/kubernetes/client/models/v1_rolling_update_daemon_set.py index 4485a829b..081c9a8d1 100644 --- a/kubernetes/client/models/v1_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rolling_update_deployment.py b/kubernetes/client/models/v1_rolling_update_deployment.py index 7001ddea1..c8d660b5e 100644 --- a/kubernetes/client/models/v1_rolling_update_deployment.py +++ b/kubernetes/client/models/v1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py index 9ae301f53..2bfee982b 100644 --- a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rule_with_operations.py b/kubernetes/client/models/v1_rule_with_operations.py index 8be8240ad..dc42a9d91 100644 --- a/kubernetes/client/models/v1_rule_with_operations.py +++ b/kubernetes/client/models/v1_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_runtime_class.py b/kubernetes/client/models/v1_runtime_class.py index c68ee25c3..cf1257e98 100644 --- a/kubernetes/client/models/v1_runtime_class.py +++ b/kubernetes/client/models/v1_runtime_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_runtime_class_list.py b/kubernetes/client/models/v1_runtime_class_list.py index 2da1b46fb..d124509ba 100644 --- a/kubernetes/client/models/v1_runtime_class_list.py +++ b/kubernetes/client/models/v1_runtime_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale.py b/kubernetes/client/models/v1_scale.py index 002c7ab11..99b1351de 100644 --- a/kubernetes/client/models/v1_scale.py +++ b/kubernetes/client/models/v1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py index 9f1da8595..baba8df44 100644 --- a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale_io_volume_source.py b/kubernetes/client/models/v1_scale_io_volume_source.py index cfb1795a1..8adf08240 100644 --- a/kubernetes/client/models/v1_scale_io_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale_spec.py b/kubernetes/client/models/v1_scale_spec.py index 44371c5fc..b9cb00c78 100644 --- a/kubernetes/client/models/v1_scale_spec.py +++ b/kubernetes/client/models/v1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale_status.py b/kubernetes/client/models/v1_scale_status.py index c85d88e5c..a7fd72f17 100644 --- a/kubernetes/client/models/v1_scale_status.py +++ b/kubernetes/client/models/v1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scheduling.py b/kubernetes/client/models/v1_scheduling.py index bfac734d7..6031cc34e 100644 --- a/kubernetes/client/models/v1_scheduling.py +++ b/kubernetes/client/models/v1_scheduling.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scope_selector.py b/kubernetes/client/models/v1_scope_selector.py index d0e0bd468..1755129ed 100644 --- a/kubernetes/client/models/v1_scope_selector.py +++ b/kubernetes/client/models/v1_scope_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scoped_resource_selector_requirement.py b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py index 988ded3c8..6967f66c1 100644 --- a/kubernetes/client/models/v1_scoped_resource_selector_requirement.py +++ b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_se_linux_options.py b/kubernetes/client/models/v1_se_linux_options.py index 890429d17..29f3088e9 100644 --- a/kubernetes/client/models/v1_se_linux_options.py +++ b/kubernetes/client/models/v1_se_linux_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_seccomp_profile.py b/kubernetes/client/models/v1_seccomp_profile.py index f36fb6e5b..be5bad69d 100644 --- a/kubernetes/client/models/v1_seccomp_profile.py +++ b/kubernetes/client/models/v1_seccomp_profile.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret.py b/kubernetes/client/models/v1_secret.py index d351fd186..66f1f44ac 100644 --- a/kubernetes/client/models/v1_secret.py +++ b/kubernetes/client/models/v1_secret.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_env_source.py b/kubernetes/client/models/v1_secret_env_source.py index c52e1d4c8..fb8a01621 100644 --- a/kubernetes/client/models/v1_secret_env_source.py +++ b/kubernetes/client/models/v1_secret_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_key_selector.py b/kubernetes/client/models/v1_secret_key_selector.py index a6cc3bd43..b39fb6417 100644 --- a/kubernetes/client/models/v1_secret_key_selector.py +++ b/kubernetes/client/models/v1_secret_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_list.py b/kubernetes/client/models/v1_secret_list.py index 8a679aeee..e2728e2b5 100644 --- a/kubernetes/client/models/v1_secret_list.py +++ b/kubernetes/client/models/v1_secret_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_projection.py b/kubernetes/client/models/v1_secret_projection.py index cd9f1119a..b384c6388 100644 --- a/kubernetes/client/models/v1_secret_projection.py +++ b/kubernetes/client/models/v1_secret_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_reference.py b/kubernetes/client/models/v1_secret_reference.py index d6d9a2950..63b92b751 100644 --- a/kubernetes/client/models/v1_secret_reference.py +++ b/kubernetes/client/models/v1_secret_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_volume_source.py b/kubernetes/client/models/v1_secret_volume_source.py index 90b57a479..8eb304dfd 100644 --- a/kubernetes/client/models/v1_secret_volume_source.py +++ b/kubernetes/client/models/v1_secret_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_security_context.py b/kubernetes/client/models/v1_security_context.py index b43d5ad5f..b4627949c 100644 --- a/kubernetes/client/models/v1_security_context.py +++ b/kubernetes/client/models/v1_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -199,7 +199,7 @@ class V1SecurityContext(object): def proc_mount(self): """Gets the proc_mount of this V1SecurityContext. # noqa: E501 - procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 + procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 :return: The proc_mount of this V1SecurityContext. # noqa: E501 :rtype: str @@ -210,7 +210,7 @@ class V1SecurityContext(object): def proc_mount(self, proc_mount): """Sets the proc_mount of this V1SecurityContext. - procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 + procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows. # noqa: E501 :param proc_mount: The proc_mount of this V1SecurityContext. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_selectable_field.py b/kubernetes/client/models/v1_selectable_field.py index 1dc3b6c50..5ad27ed16 100644 --- a/kubernetes/client/models/v1_selectable_field.py +++ b/kubernetes/client/models/v1_selectable_field.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_access_review.py b/kubernetes/client/models/v1_self_subject_access_review.py index c0d6e1d61..bca5098da 100644 --- a/kubernetes/client/models/v1_self_subject_access_review.py +++ b/kubernetes/client/models/v1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_access_review_spec.py b/kubernetes/client/models/v1_self_subject_access_review_spec.py index 10594b1bb..176eb25a9 100644 --- a/kubernetes/client/models/v1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_review.py b/kubernetes/client/models/v1_self_subject_review.py index b2f9ac8e2..43fb1b134 100644 --- a/kubernetes/client/models/v1_self_subject_review.py +++ b/kubernetes/client/models/v1_self_subject_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_review_status.py b/kubernetes/client/models/v1_self_subject_review_status.py index d92123178..bbeb9e191 100644 --- a/kubernetes/client/models/v1_self_subject_review_status.py +++ b/kubernetes/client/models/v1_self_subject_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_rules_review.py b/kubernetes/client/models/v1_self_subject_rules_review.py index 984b0ee88..7acdf05d4 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review.py +++ b/kubernetes/client/models/v1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_rules_review_spec.py b/kubernetes/client/models/v1_self_subject_rules_review_spec.py index bab621b58..ae4f435d8 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_server_address_by_client_cidr.py b/kubernetes/client/models/v1_server_address_by_client_cidr.py index f2e4e178a..5815b7bb5 100644 --- a/kubernetes/client/models/v1_server_address_by_client_cidr.py +++ b/kubernetes/client/models/v1_server_address_by_client_cidr.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service.py b/kubernetes/client/models/v1_service.py index 5552897f9..bb4a4888c 100644 --- a/kubernetes/client/models/v1_service.py +++ b/kubernetes/client/models/v1_service.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_account.py b/kubernetes/client/models/v1_service_account.py index 720d99167..0f5cd06be 100644 --- a/kubernetes/client/models/v1_service_account.py +++ b/kubernetes/client/models/v1_service_account.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_account_list.py b/kubernetes/client/models/v1_service_account_list.py index fba77fcd1..3155f65f1 100644 --- a/kubernetes/client/models/v1_service_account_list.py +++ b/kubernetes/client/models/v1_service_account_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_account_subject.py b/kubernetes/client/models/v1_service_account_subject.py index e41f2aef2..194b8a1aa 100644 --- a/kubernetes/client/models/v1_service_account_subject.py +++ b/kubernetes/client/models/v1_service_account_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_account_token_projection.py b/kubernetes/client/models/v1_service_account_token_projection.py index 72c361b1f..032958676 100644 --- a/kubernetes/client/models/v1_service_account_token_projection.py +++ b/kubernetes/client/models/v1_service_account_token_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_backend_port.py b/kubernetes/client/models/v1_service_backend_port.py index a22a0c5c6..2b0ee8aea 100644 --- a/kubernetes/client/models/v1_service_backend_port.py +++ b/kubernetes/client/models/v1_service_backend_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_list.py b/kubernetes/client/models/v1_service_list.py index 5ef3a0498..d36d87bfc 100644 --- a/kubernetes/client/models/v1_service_list.py +++ b/kubernetes/client/models/v1_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_port.py b/kubernetes/client/models/v1_service_port.py index 154048e1e..0ef2b3f02 100644 --- a/kubernetes/client/models/v1_service_port.py +++ b/kubernetes/client/models/v1_service_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_spec.py b/kubernetes/client/models/v1_service_spec.py index baa8b0cb0..87b923709 100644 --- a/kubernetes/client/models/v1_service_spec.py +++ b/kubernetes/client/models/v1_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_status.py b/kubernetes/client/models/v1_service_status.py index 3736bf524..a84dc26aa 100644 --- a/kubernetes/client/models/v1_service_status.py +++ b/kubernetes/client/models/v1_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_session_affinity_config.py b/kubernetes/client/models/v1_session_affinity_config.py index 665626ef2..3037ece34 100644 --- a/kubernetes/client/models/v1_session_affinity_config.py +++ b/kubernetes/client/models/v1_session_affinity_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_sleep_action.py b/kubernetes/client/models/v1_sleep_action.py index 2f699f9e5..14acdc258 100644 --- a/kubernetes/client/models/v1_sleep_action.py +++ b/kubernetes/client/models/v1_sleep_action.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set.py b/kubernetes/client/models/v1_stateful_set.py index 1931f1aba..7cc9136ec 100644 --- a/kubernetes/client/models/v1_stateful_set.py +++ b/kubernetes/client/models/v1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_condition.py b/kubernetes/client/models/v1_stateful_set_condition.py index 612d00e81..18ed34328 100644 --- a/kubernetes/client/models/v1_stateful_set_condition.py +++ b/kubernetes/client/models/v1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_list.py b/kubernetes/client/models/v1_stateful_set_list.py index d696d35b3..af1923bbb 100644 --- a/kubernetes/client/models/v1_stateful_set_list.py +++ b/kubernetes/client/models/v1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_ordinals.py b/kubernetes/client/models/v1_stateful_set_ordinals.py index e6fe4d448..552222208 100644 --- a/kubernetes/client/models/v1_stateful_set_ordinals.py +++ b/kubernetes/client/models/v1_stateful_set_ordinals.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py b/kubernetes/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py index a959f3acc..6da322a56 100644 --- a/kubernetes/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py +++ b/kubernetes/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_spec.py b/kubernetes/client/models/v1_stateful_set_spec.py index 7adb7aa7e..c800475bf 100644 --- a/kubernetes/client/models/v1_stateful_set_spec.py +++ b/kubernetes/client/models/v1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_status.py b/kubernetes/client/models/v1_stateful_set_status.py index 85cfba807..52b941cb8 100644 --- a/kubernetes/client/models/v1_stateful_set_status.py +++ b/kubernetes/client/models/v1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_update_strategy.py b/kubernetes/client/models/v1_stateful_set_update_strategy.py index e0c195935..c8b6a46f7 100644 --- a/kubernetes/client/models/v1_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_status.py b/kubernetes/client/models/v1_status.py index 01b6e6291..b4de9f7df 100644 --- a/kubernetes/client/models/v1_status.py +++ b/kubernetes/client/models/v1_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_status_cause.py b/kubernetes/client/models/v1_status_cause.py index 1497cc8d1..5e881f2cf 100644 --- a/kubernetes/client/models/v1_status_cause.py +++ b/kubernetes/client/models/v1_status_cause.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_status_details.py b/kubernetes/client/models/v1_status_details.py index 94c96e941..3b6c943e8 100644 --- a/kubernetes/client/models/v1_status_details.py +++ b/kubernetes/client/models/v1_status_details.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_storage_class.py b/kubernetes/client/models/v1_storage_class.py index b92c00381..502a1b71f 100644 --- a/kubernetes/client/models/v1_storage_class.py +++ b/kubernetes/client/models/v1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_storage_class_list.py b/kubernetes/client/models/v1_storage_class_list.py index 880b668f3..e393e540d 100644 --- a/kubernetes/client/models/v1_storage_class_list.py +++ b/kubernetes/client/models/v1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py index 9c5c39b25..5714d3dee 100644 --- a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_storage_os_volume_source.py b/kubernetes/client/models/v1_storage_os_volume_source.py index a9f702227..26799a0fb 100644 --- a/kubernetes/client/models/v1_storage_os_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_subject_access_review.py b/kubernetes/client/models/v1_subject_access_review.py index 01b44f809..8af83c319 100644 --- a/kubernetes/client/models/v1_subject_access_review.py +++ b/kubernetes/client/models/v1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_subject_access_review_spec.py b/kubernetes/client/models/v1_subject_access_review_spec.py index 6434651c3..c579926fc 100644 --- a/kubernetes/client/models/v1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_subject_access_review_status.py b/kubernetes/client/models/v1_subject_access_review_status.py index ee7640c00..457e6a00a 100644 --- a/kubernetes/client/models/v1_subject_access_review_status.py +++ b/kubernetes/client/models/v1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_subject_rules_review_status.py b/kubernetes/client/models/v1_subject_rules_review_status.py index 356e99466..baaf21e9b 100644 --- a/kubernetes/client/models/v1_subject_rules_review_status.py +++ b/kubernetes/client/models/v1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_success_policy.py b/kubernetes/client/models/v1_success_policy.py index d881e4710..b8c5be2fa 100644 --- a/kubernetes/client/models/v1_success_policy.py +++ b/kubernetes/client/models/v1_success_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_success_policy_rule.py b/kubernetes/client/models/v1_success_policy_rule.py index 6993426cb..6e9b659ef 100644 --- a/kubernetes/client/models/v1_success_policy_rule.py +++ b/kubernetes/client/models/v1_success_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_sysctl.py b/kubernetes/client/models/v1_sysctl.py index 41f8892df..7fe5a813a 100644 --- a/kubernetes/client/models/v1_sysctl.py +++ b/kubernetes/client/models/v1_sysctl.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_taint.py b/kubernetes/client/models/v1_taint.py index 3900925a5..fa20f6263 100644 --- a/kubernetes/client/models/v1_taint.py +++ b/kubernetes/client/models/v1_taint.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_tcp_socket_action.py b/kubernetes/client/models/v1_tcp_socket_action.py index a6d901cc4..cf06c0ed2 100644 --- a/kubernetes/client/models/v1_tcp_socket_action.py +++ b/kubernetes/client/models/v1_tcp_socket_action.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_request_spec.py b/kubernetes/client/models/v1_token_request_spec.py index 82a425bee..5d1d60f23 100644 --- a/kubernetes/client/models/v1_token_request_spec.py +++ b/kubernetes/client/models/v1_token_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_request_status.py b/kubernetes/client/models/v1_token_request_status.py index 534c63ca4..d05871e30 100644 --- a/kubernetes/client/models/v1_token_request_status.py +++ b/kubernetes/client/models/v1_token_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_review.py b/kubernetes/client/models/v1_token_review.py index d8e207895..9e9d40032 100644 --- a/kubernetes/client/models/v1_token_review.py +++ b/kubernetes/client/models/v1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_review_spec.py b/kubernetes/client/models/v1_token_review_spec.py index 44a9b1f0c..88aed703c 100644 --- a/kubernetes/client/models/v1_token_review_spec.py +++ b/kubernetes/client/models/v1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_review_status.py b/kubernetes/client/models/v1_token_review_status.py index a35893028..2e5df7a65 100644 --- a/kubernetes/client/models/v1_token_review_status.py +++ b/kubernetes/client/models/v1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_toleration.py b/kubernetes/client/models/v1_toleration.py index 5e0735f6e..60691eb77 100644 --- a/kubernetes/client/models/v1_toleration.py +++ b/kubernetes/client/models/v1_toleration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_topology_selector_label_requirement.py b/kubernetes/client/models/v1_topology_selector_label_requirement.py index e3927a7b4..ffa5c2c63 100644 --- a/kubernetes/client/models/v1_topology_selector_label_requirement.py +++ b/kubernetes/client/models/v1_topology_selector_label_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_topology_selector_term.py b/kubernetes/client/models/v1_topology_selector_term.py index a70248270..023902222 100644 --- a/kubernetes/client/models/v1_topology_selector_term.py +++ b/kubernetes/client/models/v1_topology_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_topology_spread_constraint.py b/kubernetes/client/models/v1_topology_spread_constraint.py index ecca5c23d..96fe4dda5 100644 --- a/kubernetes/client/models/v1_topology_spread_constraint.py +++ b/kubernetes/client/models/v1_topology_spread_constraint.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_type_checking.py b/kubernetes/client/models/v1_type_checking.py index eff201f21..dfc56e1f4 100644 --- a/kubernetes/client/models/v1_type_checking.py +++ b/kubernetes/client/models/v1_type_checking.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_typed_local_object_reference.py b/kubernetes/client/models/v1_typed_local_object_reference.py index bd3cf6b6d..0030bb1f8 100644 --- a/kubernetes/client/models/v1_typed_local_object_reference.py +++ b/kubernetes/client/models/v1_typed_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_typed_object_reference.py b/kubernetes/client/models/v1_typed_object_reference.py index 6bb854840..615682bfb 100644 --- a/kubernetes/client/models/v1_typed_object_reference.py +++ b/kubernetes/client/models/v1_typed_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_uncounted_terminated_pods.py b/kubernetes/client/models/v1_uncounted_terminated_pods.py index 969533a72..d82b44212 100644 --- a/kubernetes/client/models/v1_uncounted_terminated_pods.py +++ b/kubernetes/client/models/v1_uncounted_terminated_pods.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_user_info.py b/kubernetes/client/models/v1_user_info.py index 5c3777161..74c0d39cf 100644 --- a/kubernetes/client/models/v1_user_info.py +++ b/kubernetes/client/models/v1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_user_subject.py b/kubernetes/client/models/v1_user_subject.py index 5ce68fa2f..cc5b4ad70 100644 --- a/kubernetes/client/models/v1_user_subject.py +++ b/kubernetes/client/models/v1_user_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_admission_policy.py b/kubernetes/client/models/v1_validating_admission_policy.py index 726e0ed1b..601a49aa2 100644 --- a/kubernetes/client/models/v1_validating_admission_policy.py +++ b/kubernetes/client/models/v1_validating_admission_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_admission_policy_binding.py b/kubernetes/client/models/v1_validating_admission_policy_binding.py index d575805dd..a742d56e0 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_binding.py +++ b/kubernetes/client/models/v1_validating_admission_policy_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_admission_policy_binding_list.py b/kubernetes/client/models/v1_validating_admission_policy_binding_list.py index 6231c1dfb..5ba2a9e20 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_binding_list.py +++ b/kubernetes/client/models/v1_validating_admission_policy_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -60,8 +60,7 @@ class V1ValidatingAdmissionPolicyBindingList(object): if api_version is not None: self.api_version = api_version - if items is not None: - self.items = items + self.items = items if kind is not None: self.kind = kind if metadata is not None: @@ -110,6 +109,8 @@ class V1ValidatingAdmissionPolicyBindingList(object): :param items: The items of this V1ValidatingAdmissionPolicyBindingList. # noqa: E501 :type: list[V1ValidatingAdmissionPolicyBinding] """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 self._items = items diff --git a/kubernetes/client/models/v1_validating_admission_policy_binding_spec.py b/kubernetes/client/models/v1_validating_admission_policy_binding_spec.py index f4d2166d5..e9bd30e61 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_binding_spec.py +++ b/kubernetes/client/models/v1_validating_admission_policy_binding_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_admission_policy_list.py b/kubernetes/client/models/v1_validating_admission_policy_list.py index 2ae1befa5..0169d12a5 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_list.py +++ b/kubernetes/client/models/v1_validating_admission_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -60,8 +60,7 @@ class V1ValidatingAdmissionPolicyList(object): if api_version is not None: self.api_version = api_version - if items is not None: - self.items = items + self.items = items if kind is not None: self.kind = kind if metadata is not None: @@ -110,6 +109,8 @@ class V1ValidatingAdmissionPolicyList(object): :param items: The items of this V1ValidatingAdmissionPolicyList. # noqa: E501 :type: list[V1ValidatingAdmissionPolicy] """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 self._items = items diff --git a/kubernetes/client/models/v1_validating_admission_policy_spec.py b/kubernetes/client/models/v1_validating_admission_policy_spec.py index fa1474084..7c9a36835 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_spec.py +++ b/kubernetes/client/models/v1_validating_admission_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_admission_policy_status.py b/kubernetes/client/models/v1_validating_admission_policy_status.py index 545aecc20..1aab9ae66 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_status.py +++ b/kubernetes/client/models/v1_validating_admission_policy_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_webhook.py b/kubernetes/client/models/v1_validating_webhook.py index 57aef34f8..12afac177 100644 --- a/kubernetes/client/models/v1_validating_webhook.py +++ b/kubernetes/client/models/v1_validating_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_webhook_configuration.py b/kubernetes/client/models/v1_validating_webhook_configuration.py index a7e303a46..cfa119038 100644 --- a/kubernetes/client/models/v1_validating_webhook_configuration.py +++ b/kubernetes/client/models/v1_validating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_webhook_configuration_list.py b/kubernetes/client/models/v1_validating_webhook_configuration_list.py index ca606dbb6..319b9bcae 100644 --- a/kubernetes/client/models/v1_validating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1_validating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validation.py b/kubernetes/client/models/v1_validation.py index c367d2853..d26f05737 100644 --- a/kubernetes/client/models/v1_validation.py +++ b/kubernetes/client/models/v1_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validation_rule.py b/kubernetes/client/models/v1_validation_rule.py index ace270f75..a83258bdb 100644 --- a/kubernetes/client/models/v1_validation_rule.py +++ b/kubernetes/client/models/v1_validation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_variable.py b/kubernetes/client/models/v1_variable.py index ddae70f1f..5983f86d1 100644 --- a/kubernetes/client/models/v1_variable.py +++ b/kubernetes/client/models/v1_variable.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume.py b/kubernetes/client/models/v1_volume.py index cd30827dd..50a387160 100644 --- a/kubernetes/client/models/v1_volume.py +++ b/kubernetes/client/models/v1_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -50,6 +50,7 @@ class V1Volume(object): 'git_repo': 'V1GitRepoVolumeSource', 'glusterfs': 'V1GlusterfsVolumeSource', 'host_path': 'V1HostPathVolumeSource', + 'image': 'V1ImageVolumeSource', 'iscsi': 'V1ISCSIVolumeSource', 'name': 'str', 'nfs': 'V1NFSVolumeSource', @@ -83,6 +84,7 @@ class V1Volume(object): 'git_repo': 'gitRepo', 'glusterfs': 'glusterfs', 'host_path': 'hostPath', + 'image': 'image', 'iscsi': 'iscsi', 'name': 'name', 'nfs': 'nfs', @@ -98,7 +100,7 @@ class V1Volume(object): 'vsphere_volume': 'vsphereVolume' } - def __init__(self, aws_elastic_block_store=None, azure_disk=None, azure_file=None, cephfs=None, cinder=None, config_map=None, csi=None, downward_api=None, empty_dir=None, ephemeral=None, fc=None, flex_volume=None, flocker=None, gce_persistent_disk=None, git_repo=None, glusterfs=None, host_path=None, iscsi=None, name=None, nfs=None, persistent_volume_claim=None, photon_persistent_disk=None, portworx_volume=None, projected=None, quobyte=None, rbd=None, scale_io=None, secret=None, storageos=None, vsphere_volume=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, aws_elastic_block_store=None, azure_disk=None, azure_file=None, cephfs=None, cinder=None, config_map=None, csi=None, downward_api=None, empty_dir=None, ephemeral=None, fc=None, flex_volume=None, flocker=None, gce_persistent_disk=None, git_repo=None, glusterfs=None, host_path=None, image=None, iscsi=None, name=None, nfs=None, persistent_volume_claim=None, photon_persistent_disk=None, portworx_volume=None, projected=None, quobyte=None, rbd=None, scale_io=None, secret=None, storageos=None, vsphere_volume=None, local_vars_configuration=None): # noqa: E501 """V1Volume - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -121,6 +123,7 @@ class V1Volume(object): self._git_repo = None self._glusterfs = None self._host_path = None + self._image = None self._iscsi = None self._name = None self._nfs = None @@ -170,6 +173,8 @@ class V1Volume(object): self.glusterfs = glusterfs if host_path is not None: self.host_path = host_path + if image is not None: + self.image = image if iscsi is not None: self.iscsi = iscsi self.name = name @@ -553,6 +558,27 @@ class V1Volume(object): self._host_path = host_path + @property + def image(self): + """Gets the image of this V1Volume. # noqa: E501 + + + :return: The image of this V1Volume. # noqa: E501 + :rtype: V1ImageVolumeSource + """ + return self._image + + @image.setter + def image(self, image): + """Sets the image of this V1Volume. + + + :param image: The image of this V1Volume. # noqa: E501 + :type: V1ImageVolumeSource + """ + + self._image = image + @property def iscsi(self): """Gets the iscsi of this V1Volume. # noqa: E501 diff --git a/kubernetes/client/models/v1_volume_attachment.py b/kubernetes/client/models/v1_volume_attachment.py index 71b139815..87a8c0143 100644 --- a/kubernetes/client/models/v1_volume_attachment.py +++ b/kubernetes/client/models/v1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_attachment_list.py b/kubernetes/client/models/v1_volume_attachment_list.py index e65058c26..d5766627d 100644 --- a/kubernetes/client/models/v1_volume_attachment_list.py +++ b/kubernetes/client/models/v1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_attachment_source.py b/kubernetes/client/models/v1_volume_attachment_source.py index 48bc97480..672c9f79d 100644 --- a/kubernetes/client/models/v1_volume_attachment_source.py +++ b/kubernetes/client/models/v1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_attachment_spec.py b/kubernetes/client/models/v1_volume_attachment_spec.py index 81489ff27..ddb2b1f39 100644 --- a/kubernetes/client/models/v1_volume_attachment_spec.py +++ b/kubernetes/client/models/v1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_attachment_status.py b/kubernetes/client/models/v1_volume_attachment_status.py index 65a461dc3..ab394f0b9 100644 --- a/kubernetes/client/models/v1_volume_attachment_status.py +++ b/kubernetes/client/models/v1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_device.py b/kubernetes/client/models/v1_volume_device.py index 467f01bdc..bc58a5e98 100644 --- a/kubernetes/client/models/v1_volume_device.py +++ b/kubernetes/client/models/v1_volume_device.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_error.py b/kubernetes/client/models/v1_volume_error.py index a47f84c4f..7e28c15ba 100644 --- a/kubernetes/client/models/v1_volume_error.py +++ b/kubernetes/client/models/v1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_mount.py b/kubernetes/client/models/v1_volume_mount.py index 874ee4a94..6c6db68d4 100644 --- a/kubernetes/client/models/v1_volume_mount.py +++ b/kubernetes/client/models/v1_volume_mount.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_mount_status.py b/kubernetes/client/models/v1_volume_mount_status.py index 46ad115e5..4e9b625a1 100644 --- a/kubernetes/client/models/v1_volume_mount_status.py +++ b/kubernetes/client/models/v1_volume_mount_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_node_affinity.py b/kubernetes/client/models/v1_volume_node_affinity.py index bf6cf55e6..af133e12f 100644 --- a/kubernetes/client/models/v1_volume_node_affinity.py +++ b/kubernetes/client/models/v1_volume_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_node_resources.py b/kubernetes/client/models/v1_volume_node_resources.py index 7283c1cf5..da501c573 100644 --- a/kubernetes/client/models/v1_volume_node_resources.py +++ b/kubernetes/client/models/v1_volume_node_resources.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_projection.py b/kubernetes/client/models/v1_volume_projection.py index 053ad3899..0d8d76177 100644 --- a/kubernetes/client/models/v1_volume_projection.py +++ b/kubernetes/client/models/v1_volume_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_resource_requirements.py b/kubernetes/client/models/v1_volume_resource_requirements.py index 4e8ca5868..b1dfa9273 100644 --- a/kubernetes/client/models/v1_volume_resource_requirements.py +++ b/kubernetes/client/models/v1_volume_resource_requirements.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py index 2a16eb8e1..9b2fb8c0a 100644 --- a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_watch_event.py b/kubernetes/client/models/v1_watch_event.py index df8fce449..eb1571271 100644 --- a/kubernetes/client/models/v1_watch_event.py +++ b/kubernetes/client/models/v1_watch_event.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_webhook_conversion.py b/kubernetes/client/models/v1_webhook_conversion.py index 4bd15c91a..d54d62c00 100644 --- a/kubernetes/client/models/v1_webhook_conversion.py +++ b/kubernetes/client/models/v1_webhook_conversion.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_weighted_pod_affinity_term.py b/kubernetes/client/models/v1_weighted_pod_affinity_term.py index ac26f7baa..445aa17dc 100644 --- a/kubernetes/client/models/v1_weighted_pod_affinity_term.py +++ b/kubernetes/client/models/v1_weighted_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_windows_security_context_options.py b/kubernetes/client/models/v1_windows_security_context_options.py index 43f1d41ad..773eb0bc5 100644 --- a/kubernetes/client/models/v1_windows_security_context_options.py +++ b/kubernetes/client/models/v1_windows_security_context_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_audit_annotation.py b/kubernetes/client/models/v1alpha1_audit_annotation.py index a71e4ce65..43ff564df 100644 --- a/kubernetes/client/models/v1alpha1_audit_annotation.py +++ b/kubernetes/client/models/v1alpha1_audit_annotation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_cluster_trust_bundle.py b/kubernetes/client/models/v1alpha1_cluster_trust_bundle.py index 4a85bf1c5..fc1570a2e 100644 --- a/kubernetes/client/models/v1alpha1_cluster_trust_bundle.py +++ b/kubernetes/client/models/v1alpha1_cluster_trust_bundle.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py b/kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py index b7b3face6..019de0c7d 100644 --- a/kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py b/kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py index f4b55137c..7d0b32e9e 100644 --- a/kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py +++ b/kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_expression_warning.py b/kubernetes/client/models/v1alpha1_expression_warning.py index f3846b040..f7befde1e 100644 --- a/kubernetes/client/models/v1alpha1_expression_warning.py +++ b/kubernetes/client/models/v1alpha1_expression_warning.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_group_version_resource.py b/kubernetes/client/models/v1alpha1_group_version_resource.py index 6429c3305..ed27438d8 100644 --- a/kubernetes/client/models/v1alpha1_group_version_resource.py +++ b/kubernetes/client/models/v1alpha1_group_version_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_lease_candidate.py b/kubernetes/client/models/v1alpha1_lease_candidate.py new file mode 100644 index 000000000..8c6023d34 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_lease_candidate.py @@ -0,0 +1,202 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1LeaseCandidate(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1alpha1LeaseCandidateSpec' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1LeaseCandidate - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + + @property + def api_version(self): + """Gets the api_version of this V1alpha1LeaseCandidate. # noqa: E501 + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1alpha1LeaseCandidate. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha1LeaseCandidate. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1alpha1LeaseCandidate. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1alpha1LeaseCandidate. # noqa: E501 + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1alpha1LeaseCandidate. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha1LeaseCandidate. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1alpha1LeaseCandidate. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha1LeaseCandidate. # noqa: E501 + + + :return: The metadata of this V1alpha1LeaseCandidate. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha1LeaseCandidate. + + + :param metadata: The metadata of this V1alpha1LeaseCandidate. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1alpha1LeaseCandidate. # noqa: E501 + + + :return: The spec of this V1alpha1LeaseCandidate. # noqa: E501 + :rtype: V1alpha1LeaseCandidateSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1alpha1LeaseCandidate. + + + :param spec: The spec of this V1alpha1LeaseCandidate. # noqa: E501 + :type: V1alpha1LeaseCandidateSpec + """ + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1LeaseCandidate): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1LeaseCandidate): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_lease_candidate_list.py b/kubernetes/client/models/v1alpha1_lease_candidate_list.py new file mode 100644 index 000000000..0cfbd29ba --- /dev/null +++ b/kubernetes/client/models/v1alpha1_lease_candidate_list.py @@ -0,0 +1,205 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1LeaseCandidateList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1alpha1LeaseCandidate]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1LeaseCandidateList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1alpha1LeaseCandidateList. # noqa: E501 + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1alpha1LeaseCandidateList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha1LeaseCandidateList. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1alpha1LeaseCandidateList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1alpha1LeaseCandidateList. # noqa: E501 + + items is a list of schema objects. # noqa: E501 + + :return: The items of this V1alpha1LeaseCandidateList. # noqa: E501 + :rtype: list[V1alpha1LeaseCandidate] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1alpha1LeaseCandidateList. + + items is a list of schema objects. # noqa: E501 + + :param items: The items of this V1alpha1LeaseCandidateList. # noqa: E501 + :type: list[V1alpha1LeaseCandidate] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1alpha1LeaseCandidateList. # noqa: E501 + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1alpha1LeaseCandidateList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha1LeaseCandidateList. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1alpha1LeaseCandidateList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha1LeaseCandidateList. # noqa: E501 + + + :return: The metadata of this V1alpha1LeaseCandidateList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha1LeaseCandidateList. + + + :param metadata: The metadata of this V1alpha1LeaseCandidateList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1LeaseCandidateList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1LeaseCandidateList): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_lease_candidate_spec.py b/kubernetes/client/models/v1alpha1_lease_candidate_spec.py new file mode 100644 index 000000000..6a11e55c6 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_lease_candidate_spec.py @@ -0,0 +1,264 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1LeaseCandidateSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'binary_version': 'str', + 'emulation_version': 'str', + 'lease_name': 'str', + 'ping_time': 'datetime', + 'preferred_strategies': 'list[str]', + 'renew_time': 'datetime' + } + + attribute_map = { + 'binary_version': 'binaryVersion', + 'emulation_version': 'emulationVersion', + 'lease_name': 'leaseName', + 'ping_time': 'pingTime', + 'preferred_strategies': 'preferredStrategies', + 'renew_time': 'renewTime' + } + + def __init__(self, binary_version=None, emulation_version=None, lease_name=None, ping_time=None, preferred_strategies=None, renew_time=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1LeaseCandidateSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._binary_version = None + self._emulation_version = None + self._lease_name = None + self._ping_time = None + self._preferred_strategies = None + self._renew_time = None + self.discriminator = None + + if binary_version is not None: + self.binary_version = binary_version + if emulation_version is not None: + self.emulation_version = emulation_version + self.lease_name = lease_name + if ping_time is not None: + self.ping_time = ping_time + self.preferred_strategies = preferred_strategies + if renew_time is not None: + self.renew_time = renew_time + + @property + def binary_version(self): + """Gets the binary_version of this V1alpha1LeaseCandidateSpec. # noqa: E501 + + BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required when strategy is \"OldestEmulationVersion\" # noqa: E501 + + :return: The binary_version of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :rtype: str + """ + return self._binary_version + + @binary_version.setter + def binary_version(self, binary_version): + """Sets the binary_version of this V1alpha1LeaseCandidateSpec. + + BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required when strategy is \"OldestEmulationVersion\" # noqa: E501 + + :param binary_version: The binary_version of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :type: str + """ + + self._binary_version = binary_version + + @property + def emulation_version(self): + """Gets the emulation_version of this V1alpha1LeaseCandidateSpec. # noqa: E501 + + EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\" # noqa: E501 + + :return: The emulation_version of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :rtype: str + """ + return self._emulation_version + + @emulation_version.setter + def emulation_version(self, emulation_version): + """Sets the emulation_version of this V1alpha1LeaseCandidateSpec. + + EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\" # noqa: E501 + + :param emulation_version: The emulation_version of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :type: str + """ + + self._emulation_version = emulation_version + + @property + def lease_name(self): + """Gets the lease_name of this V1alpha1LeaseCandidateSpec. # noqa: E501 + + LeaseName is the name of the lease for which this candidate is contending. This field is immutable. # noqa: E501 + + :return: The lease_name of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :rtype: str + """ + return self._lease_name + + @lease_name.setter + def lease_name(self, lease_name): + """Sets the lease_name of this V1alpha1LeaseCandidateSpec. + + LeaseName is the name of the lease for which this candidate is contending. This field is immutable. # noqa: E501 + + :param lease_name: The lease_name of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and lease_name is None: # noqa: E501 + raise ValueError("Invalid value for `lease_name`, must not be `None`") # noqa: E501 + + self._lease_name = lease_name + + @property + def ping_time(self): + """Gets the ping_time of this V1alpha1LeaseCandidateSpec. # noqa: E501 + + PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime. # noqa: E501 + + :return: The ping_time of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :rtype: datetime + """ + return self._ping_time + + @ping_time.setter + def ping_time(self, ping_time): + """Sets the ping_time of this V1alpha1LeaseCandidateSpec. + + PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime. # noqa: E501 + + :param ping_time: The ping_time of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :type: datetime + """ + + self._ping_time = ping_time + + @property + def preferred_strategies(self): + """Gets the preferred_strategies of this V1alpha1LeaseCandidateSpec. # noqa: E501 + + PreferredStrategies indicates the list of strategies for picking the leader for coordinated leader election. The list is ordered, and the first strategy supersedes all other strategies. The list is used by coordinated leader election to make a decision about the final election strategy. This follows as - If all clients have strategy X as the first element in this list, strategy X will be used. - If a candidate has strategy [X] and another candidate has strategy [Y, X], Y supersedes X and strategy Y will be used. - If a candidate has strategy [X, Y] and another candidate has strategy [Y, X], this is a user error and leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. # noqa: E501 + + :return: The preferred_strategies of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :rtype: list[str] + """ + return self._preferred_strategies + + @preferred_strategies.setter + def preferred_strategies(self, preferred_strategies): + """Sets the preferred_strategies of this V1alpha1LeaseCandidateSpec. + + PreferredStrategies indicates the list of strategies for picking the leader for coordinated leader election. The list is ordered, and the first strategy supersedes all other strategies. The list is used by coordinated leader election to make a decision about the final election strategy. This follows as - If all clients have strategy X as the first element in this list, strategy X will be used. - If a candidate has strategy [X] and another candidate has strategy [Y, X], Y supersedes X and strategy Y will be used. - If a candidate has strategy [X, Y] and another candidate has strategy [Y, X], this is a user error and leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. # noqa: E501 + + :param preferred_strategies: The preferred_strategies of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and preferred_strategies is None: # noqa: E501 + raise ValueError("Invalid value for `preferred_strategies`, must not be `None`") # noqa: E501 + + self._preferred_strategies = preferred_strategies + + @property + def renew_time(self): + """Gets the renew_time of this V1alpha1LeaseCandidateSpec. # noqa: E501 + + RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates. # noqa: E501 + + :return: The renew_time of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :rtype: datetime + """ + return self._renew_time + + @renew_time.setter + def renew_time(self, renew_time): + """Sets the renew_time of this V1alpha1LeaseCandidateSpec. + + RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates. # noqa: E501 + + :param renew_time: The renew_time of this V1alpha1LeaseCandidateSpec. # noqa: E501 + :type: datetime + """ + + self._renew_time = renew_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1LeaseCandidateSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1LeaseCandidateSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_match_condition.py b/kubernetes/client/models/v1alpha1_match_condition.py index 6a8a9a48a..a4d68bab0 100644 --- a/kubernetes/client/models/v1alpha1_match_condition.py +++ b/kubernetes/client/models/v1alpha1_match_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_match_resources.py b/kubernetes/client/models/v1alpha1_match_resources.py index fd8d91619..ea887d8b8 100644 --- a/kubernetes/client/models/v1alpha1_match_resources.py +++ b/kubernetes/client/models/v1alpha1_match_resources.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_migration_condition.py b/kubernetes/client/models/v1alpha1_migration_condition.py index 2070113d7..134022260 100644 --- a/kubernetes/client/models/v1alpha1_migration_condition.py +++ b/kubernetes/client/models/v1alpha1_migration_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_named_rule_with_operations.py b/kubernetes/client/models/v1alpha1_named_rule_with_operations.py index 2e4fe7773..ee47c65de 100644 --- a/kubernetes/client/models/v1alpha1_named_rule_with_operations.py +++ b/kubernetes/client/models/v1alpha1_named_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_param_kind.py b/kubernetes/client/models/v1alpha1_param_kind.py index b4e6247b7..e26e44286 100644 --- a/kubernetes/client/models/v1alpha1_param_kind.py +++ b/kubernetes/client/models/v1alpha1_param_kind.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_param_ref.py b/kubernetes/client/models/v1alpha1_param_ref.py index a69e2d0a6..404550e30 100644 --- a/kubernetes/client/models/v1alpha1_param_ref.py +++ b/kubernetes/client/models/v1alpha1_param_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_self_subject_review.py b/kubernetes/client/models/v1alpha1_self_subject_review.py index f6998707b..80e50d552 100644 --- a/kubernetes/client/models/v1alpha1_self_subject_review.py +++ b/kubernetes/client/models/v1alpha1_self_subject_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_self_subject_review_status.py b/kubernetes/client/models/v1alpha1_self_subject_review_status.py index 25c16c292..7ca6d8e97 100644 --- a/kubernetes/client/models/v1alpha1_self_subject_review_status.py +++ b/kubernetes/client/models/v1alpha1_self_subject_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_server_storage_version.py b/kubernetes/client/models/v1alpha1_server_storage_version.py index 1122de387..8542439be 100644 --- a/kubernetes/client/models/v1alpha1_server_storage_version.py +++ b/kubernetes/client/models/v1alpha1_server_storage_version.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_storage_version.py b/kubernetes/client/models/v1alpha1_storage_version.py index a6f181a65..3fbafb1ea 100644 --- a/kubernetes/client/models/v1alpha1_storage_version.py +++ b/kubernetes/client/models/v1alpha1_storage_version.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_storage_version_condition.py b/kubernetes/client/models/v1alpha1_storage_version_condition.py index 968158b79..e67a1d445 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_condition.py +++ b/kubernetes/client/models/v1alpha1_storage_version_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_storage_version_list.py b/kubernetes/client/models/v1alpha1_storage_version_list.py index 474e627fe..1a30f780a 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_list.py +++ b/kubernetes/client/models/v1alpha1_storage_version_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_storage_version_migration.py b/kubernetes/client/models/v1alpha1_storage_version_migration.py index 82c461d2b..90bfb82b7 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_migration.py +++ b/kubernetes/client/models/v1alpha1_storage_version_migration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_storage_version_migration_list.py b/kubernetes/client/models/v1alpha1_storage_version_migration_list.py index b936bbae4..f9b8b3cf9 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_migration_list.py +++ b/kubernetes/client/models/v1alpha1_storage_version_migration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_storage_version_migration_spec.py b/kubernetes/client/models/v1alpha1_storage_version_migration_spec.py index 9bb066813..66b26fa2a 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_migration_spec.py +++ b/kubernetes/client/models/v1alpha1_storage_version_migration_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_storage_version_migration_status.py b/kubernetes/client/models/v1alpha1_storage_version_migration_status.py index 310513094..98f0f3fca 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_migration_status.py +++ b/kubernetes/client/models/v1alpha1_storage_version_migration_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_storage_version_status.py b/kubernetes/client/models/v1alpha1_storage_version_status.py index 1508cc5ca..0fe73de2c 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_status.py +++ b/kubernetes/client/models/v1alpha1_storage_version_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_type_checking.py b/kubernetes/client/models/v1alpha1_type_checking.py index 7668819b3..18fdff4ce 100644 --- a/kubernetes/client/models/v1alpha1_type_checking.py +++ b/kubernetes/client/models/v1alpha1_type_checking.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_validating_admission_policy.py b/kubernetes/client/models/v1alpha1_validating_admission_policy.py index a53a76851..1c640ca1b 100644 --- a/kubernetes/client/models/v1alpha1_validating_admission_policy.py +++ b/kubernetes/client/models/v1alpha1_validating_admission_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_validating_admission_policy_binding.py b/kubernetes/client/models/v1alpha1_validating_admission_policy_binding.py index d97e1b015..fc5b3854c 100644 --- a/kubernetes/client/models/v1alpha1_validating_admission_policy_binding.py +++ b/kubernetes/client/models/v1alpha1_validating_admission_policy_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_validating_admission_policy_binding_list.py b/kubernetes/client/models/v1alpha1_validating_admission_policy_binding_list.py index cc3f1b2df..b291d1d35 100644 --- a/kubernetes/client/models/v1alpha1_validating_admission_policy_binding_list.py +++ b/kubernetes/client/models/v1alpha1_validating_admission_policy_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -60,8 +60,7 @@ class V1alpha1ValidatingAdmissionPolicyBindingList(object): if api_version is not None: self.api_version = api_version - if items is not None: - self.items = items + self.items = items if kind is not None: self.kind = kind if metadata is not None: @@ -110,6 +109,8 @@ class V1alpha1ValidatingAdmissionPolicyBindingList(object): :param items: The items of this V1alpha1ValidatingAdmissionPolicyBindingList. # noqa: E501 :type: list[V1alpha1ValidatingAdmissionPolicyBinding] """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 self._items = items diff --git a/kubernetes/client/models/v1alpha1_validating_admission_policy_binding_spec.py b/kubernetes/client/models/v1alpha1_validating_admission_policy_binding_spec.py index 15b777e1b..f8a3bec1a 100644 --- a/kubernetes/client/models/v1alpha1_validating_admission_policy_binding_spec.py +++ b/kubernetes/client/models/v1alpha1_validating_admission_policy_binding_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_validating_admission_policy_list.py b/kubernetes/client/models/v1alpha1_validating_admission_policy_list.py index a7901a0c4..8d22f6c4c 100644 --- a/kubernetes/client/models/v1alpha1_validating_admission_policy_list.py +++ b/kubernetes/client/models/v1alpha1_validating_admission_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -60,8 +60,7 @@ class V1alpha1ValidatingAdmissionPolicyList(object): if api_version is not None: self.api_version = api_version - if items is not None: - self.items = items + self.items = items if kind is not None: self.kind = kind if metadata is not None: @@ -110,6 +109,8 @@ class V1alpha1ValidatingAdmissionPolicyList(object): :param items: The items of this V1alpha1ValidatingAdmissionPolicyList. # noqa: E501 :type: list[V1alpha1ValidatingAdmissionPolicy] """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 self._items = items diff --git a/kubernetes/client/models/v1alpha1_validating_admission_policy_spec.py b/kubernetes/client/models/v1alpha1_validating_admission_policy_spec.py index 182c85388..e254ebe9f 100644 --- a/kubernetes/client/models/v1alpha1_validating_admission_policy_spec.py +++ b/kubernetes/client/models/v1alpha1_validating_admission_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_validating_admission_policy_status.py b/kubernetes/client/models/v1alpha1_validating_admission_policy_status.py index 1705c252d..d6f8fb7ff 100644 --- a/kubernetes/client/models/v1alpha1_validating_admission_policy_status.py +++ b/kubernetes/client/models/v1alpha1_validating_admission_policy_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_validation.py b/kubernetes/client/models/v1alpha1_validation.py index 493fcfa8f..505a2a047 100644 --- a/kubernetes/client/models/v1alpha1_validation.py +++ b/kubernetes/client/models/v1alpha1_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_variable.py b/kubernetes/client/models/v1alpha1_variable.py index 2bd5b7a56..41de5448d 100644 --- a/kubernetes/client/models/v1alpha1_variable.py +++ b/kubernetes/client/models/v1alpha1_variable.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_volume_attributes_class.py b/kubernetes/client/models/v1alpha1_volume_attributes_class.py index 8cf54e0d4..91b470f03 100644 --- a/kubernetes/client/models/v1alpha1_volume_attributes_class.py +++ b/kubernetes/client/models/v1alpha1_volume_attributes_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_volume_attributes_class_list.py b/kubernetes/client/models/v1alpha1_volume_attributes_class_list.py index 3088933ef..950fc5e0e 100644 --- a/kubernetes/client/models/v1alpha1_volume_attributes_class_list.py +++ b/kubernetes/client/models/v1alpha1_volume_attributes_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha2_allocation_result.py b/kubernetes/client/models/v1alpha2_allocation_result.py deleted file mode 100644 index 4be9a639f..000000000 --- a/kubernetes/client/models/v1alpha2_allocation_result.py +++ /dev/null @@ -1,176 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2AllocationResult(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'available_on_nodes': 'V1NodeSelector', - 'resource_handles': 'list[V1alpha2ResourceHandle]', - 'shareable': 'bool' - } - - attribute_map = { - 'available_on_nodes': 'availableOnNodes', - 'resource_handles': 'resourceHandles', - 'shareable': 'shareable' - } - - def __init__(self, available_on_nodes=None, resource_handles=None, shareable=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2AllocationResult - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._available_on_nodes = None - self._resource_handles = None - self._shareable = None - self.discriminator = None - - if available_on_nodes is not None: - self.available_on_nodes = available_on_nodes - if resource_handles is not None: - self.resource_handles = resource_handles - if shareable is not None: - self.shareable = shareable - - @property - def available_on_nodes(self): - """Gets the available_on_nodes of this V1alpha2AllocationResult. # noqa: E501 - - - :return: The available_on_nodes of this V1alpha2AllocationResult. # noqa: E501 - :rtype: V1NodeSelector - """ - return self._available_on_nodes - - @available_on_nodes.setter - def available_on_nodes(self, available_on_nodes): - """Sets the available_on_nodes of this V1alpha2AllocationResult. - - - :param available_on_nodes: The available_on_nodes of this V1alpha2AllocationResult. # noqa: E501 - :type: V1NodeSelector - """ - - self._available_on_nodes = available_on_nodes - - @property - def resource_handles(self): - """Gets the resource_handles of this V1alpha2AllocationResult. # noqa: E501 - - ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed. Setting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in. # noqa: E501 - - :return: The resource_handles of this V1alpha2AllocationResult. # noqa: E501 - :rtype: list[V1alpha2ResourceHandle] - """ - return self._resource_handles - - @resource_handles.setter - def resource_handles(self, resource_handles): - """Sets the resource_handles of this V1alpha2AllocationResult. - - ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed. Setting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in. # noqa: E501 - - :param resource_handles: The resource_handles of this V1alpha2AllocationResult. # noqa: E501 - :type: list[V1alpha2ResourceHandle] - """ - - self._resource_handles = resource_handles - - @property - def shareable(self): - """Gets the shareable of this V1alpha2AllocationResult. # noqa: E501 - - Shareable determines whether the resource supports more than one consumer at a time. # noqa: E501 - - :return: The shareable of this V1alpha2AllocationResult. # noqa: E501 - :rtype: bool - """ - return self._shareable - - @shareable.setter - def shareable(self, shareable): - """Sets the shareable of this V1alpha2AllocationResult. - - Shareable determines whether the resource supports more than one consumer at a time. # noqa: E501 - - :param shareable: The shareable of this V1alpha2AllocationResult. # noqa: E501 - :type: bool - """ - - self._shareable = shareable - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2AllocationResult): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2AllocationResult): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_driver_allocation_result.py b/kubernetes/client/models/v1alpha2_driver_allocation_result.py deleted file mode 100644 index 9db8c8b4b..000000000 --- a/kubernetes/client/models/v1alpha2_driver_allocation_result.py +++ /dev/null @@ -1,148 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2DriverAllocationResult(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'named_resources': 'V1alpha2NamedResourcesAllocationResult', - 'vendor_request_parameters': 'object' - } - - attribute_map = { - 'named_resources': 'namedResources', - 'vendor_request_parameters': 'vendorRequestParameters' - } - - def __init__(self, named_resources=None, vendor_request_parameters=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2DriverAllocationResult - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._named_resources = None - self._vendor_request_parameters = None - self.discriminator = None - - if named_resources is not None: - self.named_resources = named_resources - if vendor_request_parameters is not None: - self.vendor_request_parameters = vendor_request_parameters - - @property - def named_resources(self): - """Gets the named_resources of this V1alpha2DriverAllocationResult. # noqa: E501 - - - :return: The named_resources of this V1alpha2DriverAllocationResult. # noqa: E501 - :rtype: V1alpha2NamedResourcesAllocationResult - """ - return self._named_resources - - @named_resources.setter - def named_resources(self, named_resources): - """Sets the named_resources of this V1alpha2DriverAllocationResult. - - - :param named_resources: The named_resources of this V1alpha2DriverAllocationResult. # noqa: E501 - :type: V1alpha2NamedResourcesAllocationResult - """ - - self._named_resources = named_resources - - @property - def vendor_request_parameters(self): - """Gets the vendor_request_parameters of this V1alpha2DriverAllocationResult. # noqa: E501 - - VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated. # noqa: E501 - - :return: The vendor_request_parameters of this V1alpha2DriverAllocationResult. # noqa: E501 - :rtype: object - """ - return self._vendor_request_parameters - - @vendor_request_parameters.setter - def vendor_request_parameters(self, vendor_request_parameters): - """Sets the vendor_request_parameters of this V1alpha2DriverAllocationResult. - - VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated. # noqa: E501 - - :param vendor_request_parameters: The vendor_request_parameters of this V1alpha2DriverAllocationResult. # noqa: E501 - :type: object - """ - - self._vendor_request_parameters = vendor_request_parameters - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2DriverAllocationResult): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2DriverAllocationResult): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_driver_requests.py b/kubernetes/client/models/v1alpha2_driver_requests.py deleted file mode 100644 index f6ee724b4..000000000 --- a/kubernetes/client/models/v1alpha2_driver_requests.py +++ /dev/null @@ -1,178 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2DriverRequests(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'driver_name': 'str', - 'requests': 'list[V1alpha2ResourceRequest]', - 'vendor_parameters': 'object' - } - - attribute_map = { - 'driver_name': 'driverName', - 'requests': 'requests', - 'vendor_parameters': 'vendorParameters' - } - - def __init__(self, driver_name=None, requests=None, vendor_parameters=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2DriverRequests - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._driver_name = None - self._requests = None - self._vendor_parameters = None - self.discriminator = None - - if driver_name is not None: - self.driver_name = driver_name - if requests is not None: - self.requests = requests - if vendor_parameters is not None: - self.vendor_parameters = vendor_parameters - - @property - def driver_name(self): - """Gets the driver_name of this V1alpha2DriverRequests. # noqa: E501 - - DriverName is the name used by the DRA driver kubelet plugin. # noqa: E501 - - :return: The driver_name of this V1alpha2DriverRequests. # noqa: E501 - :rtype: str - """ - return self._driver_name - - @driver_name.setter - def driver_name(self, driver_name): - """Sets the driver_name of this V1alpha2DriverRequests. - - DriverName is the name used by the DRA driver kubelet plugin. # noqa: E501 - - :param driver_name: The driver_name of this V1alpha2DriverRequests. # noqa: E501 - :type: str - """ - - self._driver_name = driver_name - - @property - def requests(self): - """Gets the requests of this V1alpha2DriverRequests. # noqa: E501 - - Requests describes all resources that are needed from the driver. # noqa: E501 - - :return: The requests of this V1alpha2DriverRequests. # noqa: E501 - :rtype: list[V1alpha2ResourceRequest] - """ - return self._requests - - @requests.setter - def requests(self, requests): - """Sets the requests of this V1alpha2DriverRequests. - - Requests describes all resources that are needed from the driver. # noqa: E501 - - :param requests: The requests of this V1alpha2DriverRequests. # noqa: E501 - :type: list[V1alpha2ResourceRequest] - """ - - self._requests = requests - - @property - def vendor_parameters(self): - """Gets the vendor_parameters of this V1alpha2DriverRequests. # noqa: E501 - - VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim. # noqa: E501 - - :return: The vendor_parameters of this V1alpha2DriverRequests. # noqa: E501 - :rtype: object - """ - return self._vendor_parameters - - @vendor_parameters.setter - def vendor_parameters(self, vendor_parameters): - """Sets the vendor_parameters of this V1alpha2DriverRequests. - - VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim. # noqa: E501 - - :param vendor_parameters: The vendor_parameters of this V1alpha2DriverRequests. # noqa: E501 - :type: object - """ - - self._vendor_parameters = vendor_parameters - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2DriverRequests): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2DriverRequests): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_named_resources_attribute.py b/kubernetes/client/models/v1alpha2_named_resources_attribute.py deleted file mode 100644 index b13b16f15..000000000 --- a/kubernetes/client/models/v1alpha2_named_resources_attribute.py +++ /dev/null @@ -1,315 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2NamedResourcesAttribute(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'bool': 'bool', - 'int': 'int', - 'int_slice': 'V1alpha2NamedResourcesIntSlice', - 'name': 'str', - 'quantity': 'str', - 'string': 'str', - 'string_slice': 'V1alpha2NamedResourcesStringSlice', - 'version': 'str' - } - - attribute_map = { - 'bool': 'bool', - 'int': 'int', - 'int_slice': 'intSlice', - 'name': 'name', - 'quantity': 'quantity', - 'string': 'string', - 'string_slice': 'stringSlice', - 'version': 'version' - } - - def __init__(self, bool=None, int=None, int_slice=None, name=None, quantity=None, string=None, string_slice=None, version=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2NamedResourcesAttribute - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._bool = None - self._int = None - self._int_slice = None - self._name = None - self._quantity = None - self._string = None - self._string_slice = None - self._version = None - self.discriminator = None - - if bool is not None: - self.bool = bool - if int is not None: - self.int = int - if int_slice is not None: - self.int_slice = int_slice - self.name = name - if quantity is not None: - self.quantity = quantity - if string is not None: - self.string = string - if string_slice is not None: - self.string_slice = string_slice - if version is not None: - self.version = version - - @property - def bool(self): - """Gets the bool of this V1alpha2NamedResourcesAttribute. # noqa: E501 - - BoolValue is a true/false value. # noqa: E501 - - :return: The bool of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :rtype: bool - """ - return self._bool - - @bool.setter - def bool(self, bool): - """Sets the bool of this V1alpha2NamedResourcesAttribute. - - BoolValue is a true/false value. # noqa: E501 - - :param bool: The bool of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :type: bool - """ - - self._bool = bool - - @property - def int(self): - """Gets the int of this V1alpha2NamedResourcesAttribute. # noqa: E501 - - IntValue is a 64-bit integer. # noqa: E501 - - :return: The int of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :rtype: int - """ - return self._int - - @int.setter - def int(self, int): - """Sets the int of this V1alpha2NamedResourcesAttribute. - - IntValue is a 64-bit integer. # noqa: E501 - - :param int: The int of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :type: int - """ - - self._int = int - - @property - def int_slice(self): - """Gets the int_slice of this V1alpha2NamedResourcesAttribute. # noqa: E501 - - - :return: The int_slice of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :rtype: V1alpha2NamedResourcesIntSlice - """ - return self._int_slice - - @int_slice.setter - def int_slice(self, int_slice): - """Sets the int_slice of this V1alpha2NamedResourcesAttribute. - - - :param int_slice: The int_slice of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :type: V1alpha2NamedResourcesIntSlice - """ - - self._int_slice = int_slice - - @property - def name(self): - """Gets the name of this V1alpha2NamedResourcesAttribute. # noqa: E501 - - Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain. # noqa: E501 - - :return: The name of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this V1alpha2NamedResourcesAttribute. - - Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain. # noqa: E501 - - :param name: The name of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :type: str - """ - if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 - raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - - self._name = name - - @property - def quantity(self): - """Gets the quantity of this V1alpha2NamedResourcesAttribute. # noqa: E501 - - QuantityValue is a quantity. # noqa: E501 - - :return: The quantity of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :rtype: str - """ - return self._quantity - - @quantity.setter - def quantity(self, quantity): - """Sets the quantity of this V1alpha2NamedResourcesAttribute. - - QuantityValue is a quantity. # noqa: E501 - - :param quantity: The quantity of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :type: str - """ - - self._quantity = quantity - - @property - def string(self): - """Gets the string of this V1alpha2NamedResourcesAttribute. # noqa: E501 - - StringValue is a string. # noqa: E501 - - :return: The string of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :rtype: str - """ - return self._string - - @string.setter - def string(self, string): - """Sets the string of this V1alpha2NamedResourcesAttribute. - - StringValue is a string. # noqa: E501 - - :param string: The string of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :type: str - """ - - self._string = string - - @property - def string_slice(self): - """Gets the string_slice of this V1alpha2NamedResourcesAttribute. # noqa: E501 - - - :return: The string_slice of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :rtype: V1alpha2NamedResourcesStringSlice - """ - return self._string_slice - - @string_slice.setter - def string_slice(self, string_slice): - """Sets the string_slice of this V1alpha2NamedResourcesAttribute. - - - :param string_slice: The string_slice of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :type: V1alpha2NamedResourcesStringSlice - """ - - self._string_slice = string_slice - - @property - def version(self): - """Gets the version of this V1alpha2NamedResourcesAttribute. # noqa: E501 - - VersionValue is a semantic version according to semver.org spec 2.0.0. # noqa: E501 - - :return: The version of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this V1alpha2NamedResourcesAttribute. - - VersionValue is a semantic version according to semver.org spec 2.0.0. # noqa: E501 - - :param version: The version of this V1alpha2NamedResourcesAttribute. # noqa: E501 - :type: str - """ - - self._version = version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2NamedResourcesAttribute): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2NamedResourcesAttribute): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_named_resources_filter.py b/kubernetes/client/models/v1alpha2_named_resources_filter.py deleted file mode 100644 index 8645d15ef..000000000 --- a/kubernetes/client/models/v1alpha2_named_resources_filter.py +++ /dev/null @@ -1,123 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2NamedResourcesFilter(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'selector': 'str' - } - - attribute_map = { - 'selector': 'selector' - } - - def __init__(self, selector=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2NamedResourcesFilter - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._selector = None - self.discriminator = None - - self.selector = selector - - @property - def selector(self): - """Gets the selector of this V1alpha2NamedResourcesFilter. # noqa: E501 - - Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example: attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) && attributes.stringslice[\"b\"].isSorted() # noqa: E501 - - :return: The selector of this V1alpha2NamedResourcesFilter. # noqa: E501 - :rtype: str - """ - return self._selector - - @selector.setter - def selector(self, selector): - """Sets the selector of this V1alpha2NamedResourcesFilter. - - Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example: attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) && attributes.stringslice[\"b\"].isSorted() # noqa: E501 - - :param selector: The selector of this V1alpha2NamedResourcesFilter. # noqa: E501 - :type: str - """ - if self.local_vars_configuration.client_side_validation and selector is None: # noqa: E501 - raise ValueError("Invalid value for `selector`, must not be `None`") # noqa: E501 - - self._selector = selector - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2NamedResourcesFilter): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2NamedResourcesFilter): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_named_resources_request.py b/kubernetes/client/models/v1alpha2_named_resources_request.py deleted file mode 100644 index 5fae29a9f..000000000 --- a/kubernetes/client/models/v1alpha2_named_resources_request.py +++ /dev/null @@ -1,123 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2NamedResourcesRequest(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'selector': 'str' - } - - attribute_map = { - 'selector': 'selector' - } - - def __init__(self, selector=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2NamedResourcesRequest - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._selector = None - self.discriminator = None - - self.selector = selector - - @property - def selector(self): - """Gets the selector of this V1alpha2NamedResourcesRequest. # noqa: E501 - - Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example: attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) && attributes.stringslice[\"b\"].isSorted() # noqa: E501 - - :return: The selector of this V1alpha2NamedResourcesRequest. # noqa: E501 - :rtype: str - """ - return self._selector - - @selector.setter - def selector(self, selector): - """Sets the selector of this V1alpha2NamedResourcesRequest. - - Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example: attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) && attributes.stringslice[\"b\"].isSorted() # noqa: E501 - - :param selector: The selector of this V1alpha2NamedResourcesRequest. # noqa: E501 - :type: str - """ - if self.local_vars_configuration.client_side_validation and selector is None: # noqa: E501 - raise ValueError("Invalid value for `selector`, must not be `None`") # noqa: E501 - - self._selector = selector - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2NamedResourcesRequest): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2NamedResourcesRequest): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_named_resources_resources.py b/kubernetes/client/models/v1alpha2_named_resources_resources.py deleted file mode 100644 index 2d2b7cdeb..000000000 --- a/kubernetes/client/models/v1alpha2_named_resources_resources.py +++ /dev/null @@ -1,123 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2NamedResourcesResources(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'instances': 'list[V1alpha2NamedResourcesInstance]' - } - - attribute_map = { - 'instances': 'instances' - } - - def __init__(self, instances=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2NamedResourcesResources - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._instances = None - self.discriminator = None - - self.instances = instances - - @property - def instances(self): - """Gets the instances of this V1alpha2NamedResourcesResources. # noqa: E501 - - The list of all individual resources instances currently available. # noqa: E501 - - :return: The instances of this V1alpha2NamedResourcesResources. # noqa: E501 - :rtype: list[V1alpha2NamedResourcesInstance] - """ - return self._instances - - @instances.setter - def instances(self, instances): - """Sets the instances of this V1alpha2NamedResourcesResources. - - The list of all individual resources instances currently available. # noqa: E501 - - :param instances: The instances of this V1alpha2NamedResourcesResources. # noqa: E501 - :type: list[V1alpha2NamedResourcesInstance] - """ - if self.local_vars_configuration.client_side_validation and instances is None: # noqa: E501 - raise ValueError("Invalid value for `instances`, must not be `None`") # noqa: E501 - - self._instances = instances - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2NamedResourcesResources): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2NamedResourcesResources): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_parameters.py b/kubernetes/client/models/v1alpha2_resource_claim_parameters.py deleted file mode 100644 index de334a4ec..000000000 --- a/kubernetes/client/models/v1alpha2_resource_claim_parameters.py +++ /dev/null @@ -1,258 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceClaimParameters(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'api_version': 'str', - 'driver_requests': 'list[V1alpha2DriverRequests]', - 'generated_from': 'V1alpha2ResourceClaimParametersReference', - 'kind': 'str', - 'metadata': 'V1ObjectMeta', - 'shareable': 'bool' - } - - attribute_map = { - 'api_version': 'apiVersion', - 'driver_requests': 'driverRequests', - 'generated_from': 'generatedFrom', - 'kind': 'kind', - 'metadata': 'metadata', - 'shareable': 'shareable' - } - - def __init__(self, api_version=None, driver_requests=None, generated_from=None, kind=None, metadata=None, shareable=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimParameters - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._api_version = None - self._driver_requests = None - self._generated_from = None - self._kind = None - self._metadata = None - self._shareable = None - self.discriminator = None - - if api_version is not None: - self.api_version = api_version - if driver_requests is not None: - self.driver_requests = driver_requests - if generated_from is not None: - self.generated_from = generated_from - if kind is not None: - self.kind = kind - if metadata is not None: - self.metadata = metadata - if shareable is not None: - self.shareable = shareable - - @property - def api_version(self): - """Gets the api_version of this V1alpha2ResourceClaimParameters. # noqa: E501 - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :return: The api_version of this V1alpha2ResourceClaimParameters. # noqa: E501 - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClaimParameters. - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :param api_version: The api_version of this V1alpha2ResourceClaimParameters. # noqa: E501 - :type: str - """ - - self._api_version = api_version - - @property - def driver_requests(self): - """Gets the driver_requests of this V1alpha2ResourceClaimParameters. # noqa: E501 - - DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests. May be empty, in which case the claim can always be allocated. # noqa: E501 - - :return: The driver_requests of this V1alpha2ResourceClaimParameters. # noqa: E501 - :rtype: list[V1alpha2DriverRequests] - """ - return self._driver_requests - - @driver_requests.setter - def driver_requests(self, driver_requests): - """Sets the driver_requests of this V1alpha2ResourceClaimParameters. - - DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests. May be empty, in which case the claim can always be allocated. # noqa: E501 - - :param driver_requests: The driver_requests of this V1alpha2ResourceClaimParameters. # noqa: E501 - :type: list[V1alpha2DriverRequests] - """ - - self._driver_requests = driver_requests - - @property - def generated_from(self): - """Gets the generated_from of this V1alpha2ResourceClaimParameters. # noqa: E501 - - - :return: The generated_from of this V1alpha2ResourceClaimParameters. # noqa: E501 - :rtype: V1alpha2ResourceClaimParametersReference - """ - return self._generated_from - - @generated_from.setter - def generated_from(self, generated_from): - """Sets the generated_from of this V1alpha2ResourceClaimParameters. - - - :param generated_from: The generated_from of this V1alpha2ResourceClaimParameters. # noqa: E501 - :type: V1alpha2ResourceClaimParametersReference - """ - - self._generated_from = generated_from - - @property - def kind(self): - """Gets the kind of this V1alpha2ResourceClaimParameters. # noqa: E501 - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :return: The kind of this V1alpha2ResourceClaimParameters. # noqa: E501 - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClaimParameters. - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :param kind: The kind of this V1alpha2ResourceClaimParameters. # noqa: E501 - :type: str - """ - - self._kind = kind - - @property - def metadata(self): - """Gets the metadata of this V1alpha2ResourceClaimParameters. # noqa: E501 - - - :return: The metadata of this V1alpha2ResourceClaimParameters. # noqa: E501 - :rtype: V1ObjectMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClaimParameters. - - - :param metadata: The metadata of this V1alpha2ResourceClaimParameters. # noqa: E501 - :type: V1ObjectMeta - """ - - self._metadata = metadata - - @property - def shareable(self): - """Gets the shareable of this V1alpha2ResourceClaimParameters. # noqa: E501 - - Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time. # noqa: E501 - - :return: The shareable of this V1alpha2ResourceClaimParameters. # noqa: E501 - :rtype: bool - """ - return self._shareable - - @shareable.setter - def shareable(self, shareable): - """Sets the shareable of this V1alpha2ResourceClaimParameters. - - Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time. # noqa: E501 - - :param shareable: The shareable of this V1alpha2ResourceClaimParameters. # noqa: E501 - :type: bool - """ - - self._shareable = shareable - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimParameters): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimParameters): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_parameters_list.py b/kubernetes/client/models/v1alpha2_resource_claim_parameters_list.py deleted file mode 100644 index 5321190dd..000000000 --- a/kubernetes/client/models/v1alpha2_resource_claim_parameters_list.py +++ /dev/null @@ -1,205 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceClaimParametersList(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'api_version': 'str', - 'items': 'list[V1alpha2ResourceClaimParameters]', - 'kind': 'str', - 'metadata': 'V1ListMeta' - } - - attribute_map = { - 'api_version': 'apiVersion', - 'items': 'items', - 'kind': 'kind', - 'metadata': 'metadata' - } - - def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimParametersList - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._api_version = None - self._items = None - self._kind = None - self._metadata = None - self.discriminator = None - - if api_version is not None: - self.api_version = api_version - self.items = items - if kind is not None: - self.kind = kind - if metadata is not None: - self.metadata = metadata - - @property - def api_version(self): - """Gets the api_version of this V1alpha2ResourceClaimParametersList. # noqa: E501 - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :return: The api_version of this V1alpha2ResourceClaimParametersList. # noqa: E501 - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClaimParametersList. - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :param api_version: The api_version of this V1alpha2ResourceClaimParametersList. # noqa: E501 - :type: str - """ - - self._api_version = api_version - - @property - def items(self): - """Gets the items of this V1alpha2ResourceClaimParametersList. # noqa: E501 - - Items is the list of node resource capacity objects. # noqa: E501 - - :return: The items of this V1alpha2ResourceClaimParametersList. # noqa: E501 - :rtype: list[V1alpha2ResourceClaimParameters] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this V1alpha2ResourceClaimParametersList. - - Items is the list of node resource capacity objects. # noqa: E501 - - :param items: The items of this V1alpha2ResourceClaimParametersList. # noqa: E501 - :type: list[V1alpha2ResourceClaimParameters] - """ - if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 - raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 - - self._items = items - - @property - def kind(self): - """Gets the kind of this V1alpha2ResourceClaimParametersList. # noqa: E501 - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :return: The kind of this V1alpha2ResourceClaimParametersList. # noqa: E501 - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClaimParametersList. - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :param kind: The kind of this V1alpha2ResourceClaimParametersList. # noqa: E501 - :type: str - """ - - self._kind = kind - - @property - def metadata(self): - """Gets the metadata of this V1alpha2ResourceClaimParametersList. # noqa: E501 - - - :return: The metadata of this V1alpha2ResourceClaimParametersList. # noqa: E501 - :rtype: V1ListMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClaimParametersList. - - - :param metadata: The metadata of this V1alpha2ResourceClaimParametersList. # noqa: E501 - :type: V1ListMeta - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimParametersList): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimParametersList): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_parameters_reference.py b/kubernetes/client/models/v1alpha2_resource_claim_parameters_reference.py deleted file mode 100644 index 13bb6948b..000000000 --- a/kubernetes/client/models/v1alpha2_resource_claim_parameters_reference.py +++ /dev/null @@ -1,180 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceClaimParametersReference(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'api_group': 'str', - 'kind': 'str', - 'name': 'str' - } - - attribute_map = { - 'api_group': 'apiGroup', - 'kind': 'kind', - 'name': 'name' - } - - def __init__(self, api_group=None, kind=None, name=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimParametersReference - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._api_group = None - self._kind = None - self._name = None - self.discriminator = None - - if api_group is not None: - self.api_group = api_group - self.kind = kind - self.name = name - - @property - def api_group(self): - """Gets the api_group of this V1alpha2ResourceClaimParametersReference. # noqa: E501 - - APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. # noqa: E501 - - :return: The api_group of this V1alpha2ResourceClaimParametersReference. # noqa: E501 - :rtype: str - """ - return self._api_group - - @api_group.setter - def api_group(self, api_group): - """Sets the api_group of this V1alpha2ResourceClaimParametersReference. - - APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. # noqa: E501 - - :param api_group: The api_group of this V1alpha2ResourceClaimParametersReference. # noqa: E501 - :type: str - """ - - self._api_group = api_group - - @property - def kind(self): - """Gets the kind of this V1alpha2ResourceClaimParametersReference. # noqa: E501 - - Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\". # noqa: E501 - - :return: The kind of this V1alpha2ResourceClaimParametersReference. # noqa: E501 - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClaimParametersReference. - - Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\". # noqa: E501 - - :param kind: The kind of this V1alpha2ResourceClaimParametersReference. # noqa: E501 - :type: str - """ - if self.local_vars_configuration.client_side_validation and kind is None: # noqa: E501 - raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501 - - self._kind = kind - - @property - def name(self): - """Gets the name of this V1alpha2ResourceClaimParametersReference. # noqa: E501 - - Name is the name of resource being referenced. # noqa: E501 - - :return: The name of this V1alpha2ResourceClaimParametersReference. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this V1alpha2ResourceClaimParametersReference. - - Name is the name of resource being referenced. # noqa: E501 - - :param name: The name of this V1alpha2ResourceClaimParametersReference. # noqa: E501 - :type: str - """ - if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 - raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimParametersReference): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimParametersReference): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_spec.py b/kubernetes/client/models/v1alpha2_resource_claim_spec.py deleted file mode 100644 index 8bfb21045..000000000 --- a/kubernetes/client/models/v1alpha2_resource_claim_spec.py +++ /dev/null @@ -1,177 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceClaimSpec(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'allocation_mode': 'str', - 'parameters_ref': 'V1alpha2ResourceClaimParametersReference', - 'resource_class_name': 'str' - } - - attribute_map = { - 'allocation_mode': 'allocationMode', - 'parameters_ref': 'parametersRef', - 'resource_class_name': 'resourceClassName' - } - - def __init__(self, allocation_mode=None, parameters_ref=None, resource_class_name=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimSpec - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._allocation_mode = None - self._parameters_ref = None - self._resource_class_name = None - self.discriminator = None - - if allocation_mode is not None: - self.allocation_mode = allocation_mode - if parameters_ref is not None: - self.parameters_ref = parameters_ref - self.resource_class_name = resource_class_name - - @property - def allocation_mode(self): - """Gets the allocation_mode of this V1alpha2ResourceClaimSpec. # noqa: E501 - - Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default. # noqa: E501 - - :return: The allocation_mode of this V1alpha2ResourceClaimSpec. # noqa: E501 - :rtype: str - """ - return self._allocation_mode - - @allocation_mode.setter - def allocation_mode(self, allocation_mode): - """Sets the allocation_mode of this V1alpha2ResourceClaimSpec. - - Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default. # noqa: E501 - - :param allocation_mode: The allocation_mode of this V1alpha2ResourceClaimSpec. # noqa: E501 - :type: str - """ - - self._allocation_mode = allocation_mode - - @property - def parameters_ref(self): - """Gets the parameters_ref of this V1alpha2ResourceClaimSpec. # noqa: E501 - - - :return: The parameters_ref of this V1alpha2ResourceClaimSpec. # noqa: E501 - :rtype: V1alpha2ResourceClaimParametersReference - """ - return self._parameters_ref - - @parameters_ref.setter - def parameters_ref(self, parameters_ref): - """Sets the parameters_ref of this V1alpha2ResourceClaimSpec. - - - :param parameters_ref: The parameters_ref of this V1alpha2ResourceClaimSpec. # noqa: E501 - :type: V1alpha2ResourceClaimParametersReference - """ - - self._parameters_ref = parameters_ref - - @property - def resource_class_name(self): - """Gets the resource_class_name of this V1alpha2ResourceClaimSpec. # noqa: E501 - - ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment. # noqa: E501 - - :return: The resource_class_name of this V1alpha2ResourceClaimSpec. # noqa: E501 - :rtype: str - """ - return self._resource_class_name - - @resource_class_name.setter - def resource_class_name(self, resource_class_name): - """Sets the resource_class_name of this V1alpha2ResourceClaimSpec. - - ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment. # noqa: E501 - - :param resource_class_name: The resource_class_name of this V1alpha2ResourceClaimSpec. # noqa: E501 - :type: str - """ - if self.local_vars_configuration.client_side_validation and resource_class_name is None: # noqa: E501 - raise ValueError("Invalid value for `resource_class_name`, must not be `None`") # noqa: E501 - - self._resource_class_name = resource_class_name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimSpec): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimSpec): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_class.py b/kubernetes/client/models/v1alpha2_resource_class.py deleted file mode 100644 index 0f9d3e053..000000000 --- a/kubernetes/client/models/v1alpha2_resource_class.py +++ /dev/null @@ -1,285 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceClass(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'api_version': 'str', - 'driver_name': 'str', - 'kind': 'str', - 'metadata': 'V1ObjectMeta', - 'parameters_ref': 'V1alpha2ResourceClassParametersReference', - 'structured_parameters': 'bool', - 'suitable_nodes': 'V1NodeSelector' - } - - attribute_map = { - 'api_version': 'apiVersion', - 'driver_name': 'driverName', - 'kind': 'kind', - 'metadata': 'metadata', - 'parameters_ref': 'parametersRef', - 'structured_parameters': 'structuredParameters', - 'suitable_nodes': 'suitableNodes' - } - - def __init__(self, api_version=None, driver_name=None, kind=None, metadata=None, parameters_ref=None, structured_parameters=None, suitable_nodes=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClass - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._api_version = None - self._driver_name = None - self._kind = None - self._metadata = None - self._parameters_ref = None - self._structured_parameters = None - self._suitable_nodes = None - self.discriminator = None - - if api_version is not None: - self.api_version = api_version - self.driver_name = driver_name - if kind is not None: - self.kind = kind - if metadata is not None: - self.metadata = metadata - if parameters_ref is not None: - self.parameters_ref = parameters_ref - if structured_parameters is not None: - self.structured_parameters = structured_parameters - if suitable_nodes is not None: - self.suitable_nodes = suitable_nodes - - @property - def api_version(self): - """Gets the api_version of this V1alpha2ResourceClass. # noqa: E501 - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :return: The api_version of this V1alpha2ResourceClass. # noqa: E501 - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClass. - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :param api_version: The api_version of this V1alpha2ResourceClass. # noqa: E501 - :type: str - """ - - self._api_version = api_version - - @property - def driver_name(self): - """Gets the driver_name of this V1alpha2ResourceClass. # noqa: E501 - - DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class. Resource drivers have a unique name in forward domain order (acme.example.com). # noqa: E501 - - :return: The driver_name of this V1alpha2ResourceClass. # noqa: E501 - :rtype: str - """ - return self._driver_name - - @driver_name.setter - def driver_name(self, driver_name): - """Sets the driver_name of this V1alpha2ResourceClass. - - DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class. Resource drivers have a unique name in forward domain order (acme.example.com). # noqa: E501 - - :param driver_name: The driver_name of this V1alpha2ResourceClass. # noqa: E501 - :type: str - """ - if self.local_vars_configuration.client_side_validation and driver_name is None: # noqa: E501 - raise ValueError("Invalid value for `driver_name`, must not be `None`") # noqa: E501 - - self._driver_name = driver_name - - @property - def kind(self): - """Gets the kind of this V1alpha2ResourceClass. # noqa: E501 - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :return: The kind of this V1alpha2ResourceClass. # noqa: E501 - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClass. - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :param kind: The kind of this V1alpha2ResourceClass. # noqa: E501 - :type: str - """ - - self._kind = kind - - @property - def metadata(self): - """Gets the metadata of this V1alpha2ResourceClass. # noqa: E501 - - - :return: The metadata of this V1alpha2ResourceClass. # noqa: E501 - :rtype: V1ObjectMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClass. - - - :param metadata: The metadata of this V1alpha2ResourceClass. # noqa: E501 - :type: V1ObjectMeta - """ - - self._metadata = metadata - - @property - def parameters_ref(self): - """Gets the parameters_ref of this V1alpha2ResourceClass. # noqa: E501 - - - :return: The parameters_ref of this V1alpha2ResourceClass. # noqa: E501 - :rtype: V1alpha2ResourceClassParametersReference - """ - return self._parameters_ref - - @parameters_ref.setter - def parameters_ref(self, parameters_ref): - """Sets the parameters_ref of this V1alpha2ResourceClass. - - - :param parameters_ref: The parameters_ref of this V1alpha2ResourceClass. # noqa: E501 - :type: V1alpha2ResourceClassParametersReference - """ - - self._parameters_ref = parameters_ref - - @property - def structured_parameters(self): - """Gets the structured_parameters of this V1alpha2ResourceClass. # noqa: E501 - - If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true. # noqa: E501 - - :return: The structured_parameters of this V1alpha2ResourceClass. # noqa: E501 - :rtype: bool - """ - return self._structured_parameters - - @structured_parameters.setter - def structured_parameters(self, structured_parameters): - """Sets the structured_parameters of this V1alpha2ResourceClass. - - If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true. # noqa: E501 - - :param structured_parameters: The structured_parameters of this V1alpha2ResourceClass. # noqa: E501 - :type: bool - """ - - self._structured_parameters = structured_parameters - - @property - def suitable_nodes(self): - """Gets the suitable_nodes of this V1alpha2ResourceClass. # noqa: E501 - - - :return: The suitable_nodes of this V1alpha2ResourceClass. # noqa: E501 - :rtype: V1NodeSelector - """ - return self._suitable_nodes - - @suitable_nodes.setter - def suitable_nodes(self, suitable_nodes): - """Sets the suitable_nodes of this V1alpha2ResourceClass. - - - :param suitable_nodes: The suitable_nodes of this V1alpha2ResourceClass. # noqa: E501 - :type: V1NodeSelector - """ - - self._suitable_nodes = suitable_nodes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClass): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClass): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_class_parameters.py b/kubernetes/client/models/v1alpha2_resource_class_parameters.py deleted file mode 100644 index 3b3843f50..000000000 --- a/kubernetes/client/models/v1alpha2_resource_class_parameters.py +++ /dev/null @@ -1,258 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceClassParameters(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'api_version': 'str', - 'filters': 'list[V1alpha2ResourceFilter]', - 'generated_from': 'V1alpha2ResourceClassParametersReference', - 'kind': 'str', - 'metadata': 'V1ObjectMeta', - 'vendor_parameters': 'list[V1alpha2VendorParameters]' - } - - attribute_map = { - 'api_version': 'apiVersion', - 'filters': 'filters', - 'generated_from': 'generatedFrom', - 'kind': 'kind', - 'metadata': 'metadata', - 'vendor_parameters': 'vendorParameters' - } - - def __init__(self, api_version=None, filters=None, generated_from=None, kind=None, metadata=None, vendor_parameters=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClassParameters - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._api_version = None - self._filters = None - self._generated_from = None - self._kind = None - self._metadata = None - self._vendor_parameters = None - self.discriminator = None - - if api_version is not None: - self.api_version = api_version - if filters is not None: - self.filters = filters - if generated_from is not None: - self.generated_from = generated_from - if kind is not None: - self.kind = kind - if metadata is not None: - self.metadata = metadata - if vendor_parameters is not None: - self.vendor_parameters = vendor_parameters - - @property - def api_version(self): - """Gets the api_version of this V1alpha2ResourceClassParameters. # noqa: E501 - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :return: The api_version of this V1alpha2ResourceClassParameters. # noqa: E501 - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClassParameters. - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :param api_version: The api_version of this V1alpha2ResourceClassParameters. # noqa: E501 - :type: str - """ - - self._api_version = api_version - - @property - def filters(self): - """Gets the filters of this V1alpha2ResourceClassParameters. # noqa: E501 - - Filters describes additional contraints that must be met when using the class. # noqa: E501 - - :return: The filters of this V1alpha2ResourceClassParameters. # noqa: E501 - :rtype: list[V1alpha2ResourceFilter] - """ - return self._filters - - @filters.setter - def filters(self, filters): - """Sets the filters of this V1alpha2ResourceClassParameters. - - Filters describes additional contraints that must be met when using the class. # noqa: E501 - - :param filters: The filters of this V1alpha2ResourceClassParameters. # noqa: E501 - :type: list[V1alpha2ResourceFilter] - """ - - self._filters = filters - - @property - def generated_from(self): - """Gets the generated_from of this V1alpha2ResourceClassParameters. # noqa: E501 - - - :return: The generated_from of this V1alpha2ResourceClassParameters. # noqa: E501 - :rtype: V1alpha2ResourceClassParametersReference - """ - return self._generated_from - - @generated_from.setter - def generated_from(self, generated_from): - """Sets the generated_from of this V1alpha2ResourceClassParameters. - - - :param generated_from: The generated_from of this V1alpha2ResourceClassParameters. # noqa: E501 - :type: V1alpha2ResourceClassParametersReference - """ - - self._generated_from = generated_from - - @property - def kind(self): - """Gets the kind of this V1alpha2ResourceClassParameters. # noqa: E501 - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :return: The kind of this V1alpha2ResourceClassParameters. # noqa: E501 - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClassParameters. - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :param kind: The kind of this V1alpha2ResourceClassParameters. # noqa: E501 - :type: str - """ - - self._kind = kind - - @property - def metadata(self): - """Gets the metadata of this V1alpha2ResourceClassParameters. # noqa: E501 - - - :return: The metadata of this V1alpha2ResourceClassParameters. # noqa: E501 - :rtype: V1ObjectMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClassParameters. - - - :param metadata: The metadata of this V1alpha2ResourceClassParameters. # noqa: E501 - :type: V1ObjectMeta - """ - - self._metadata = metadata - - @property - def vendor_parameters(self): - """Gets the vendor_parameters of this V1alpha2ResourceClassParameters. # noqa: E501 - - VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver. # noqa: E501 - - :return: The vendor_parameters of this V1alpha2ResourceClassParameters. # noqa: E501 - :rtype: list[V1alpha2VendorParameters] - """ - return self._vendor_parameters - - @vendor_parameters.setter - def vendor_parameters(self, vendor_parameters): - """Sets the vendor_parameters of this V1alpha2ResourceClassParameters. - - VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver. # noqa: E501 - - :param vendor_parameters: The vendor_parameters of this V1alpha2ResourceClassParameters. # noqa: E501 - :type: list[V1alpha2VendorParameters] - """ - - self._vendor_parameters = vendor_parameters - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClassParameters): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClassParameters): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_class_parameters_list.py b/kubernetes/client/models/v1alpha2_resource_class_parameters_list.py deleted file mode 100644 index 4030c51e7..000000000 --- a/kubernetes/client/models/v1alpha2_resource_class_parameters_list.py +++ /dev/null @@ -1,205 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceClassParametersList(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'api_version': 'str', - 'items': 'list[V1alpha2ResourceClassParameters]', - 'kind': 'str', - 'metadata': 'V1ListMeta' - } - - attribute_map = { - 'api_version': 'apiVersion', - 'items': 'items', - 'kind': 'kind', - 'metadata': 'metadata' - } - - def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClassParametersList - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._api_version = None - self._items = None - self._kind = None - self._metadata = None - self.discriminator = None - - if api_version is not None: - self.api_version = api_version - self.items = items - if kind is not None: - self.kind = kind - if metadata is not None: - self.metadata = metadata - - @property - def api_version(self): - """Gets the api_version of this V1alpha2ResourceClassParametersList. # noqa: E501 - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :return: The api_version of this V1alpha2ResourceClassParametersList. # noqa: E501 - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClassParametersList. - - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - - :param api_version: The api_version of this V1alpha2ResourceClassParametersList. # noqa: E501 - :type: str - """ - - self._api_version = api_version - - @property - def items(self): - """Gets the items of this V1alpha2ResourceClassParametersList. # noqa: E501 - - Items is the list of node resource capacity objects. # noqa: E501 - - :return: The items of this V1alpha2ResourceClassParametersList. # noqa: E501 - :rtype: list[V1alpha2ResourceClassParameters] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this V1alpha2ResourceClassParametersList. - - Items is the list of node resource capacity objects. # noqa: E501 - - :param items: The items of this V1alpha2ResourceClassParametersList. # noqa: E501 - :type: list[V1alpha2ResourceClassParameters] - """ - if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 - raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 - - self._items = items - - @property - def kind(self): - """Gets the kind of this V1alpha2ResourceClassParametersList. # noqa: E501 - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :return: The kind of this V1alpha2ResourceClassParametersList. # noqa: E501 - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClassParametersList. - - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - - :param kind: The kind of this V1alpha2ResourceClassParametersList. # noqa: E501 - :type: str - """ - - self._kind = kind - - @property - def metadata(self): - """Gets the metadata of this V1alpha2ResourceClassParametersList. # noqa: E501 - - - :return: The metadata of this V1alpha2ResourceClassParametersList. # noqa: E501 - :rtype: V1ListMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClassParametersList. - - - :param metadata: The metadata of this V1alpha2ResourceClassParametersList. # noqa: E501 - :type: V1ListMeta - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClassParametersList): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClassParametersList): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_class_parameters_reference.py b/kubernetes/client/models/v1alpha2_resource_class_parameters_reference.py deleted file mode 100644 index c5d193c24..000000000 --- a/kubernetes/client/models/v1alpha2_resource_class_parameters_reference.py +++ /dev/null @@ -1,208 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceClassParametersReference(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'api_group': 'str', - 'kind': 'str', - 'name': 'str', - 'namespace': 'str' - } - - attribute_map = { - 'api_group': 'apiGroup', - 'kind': 'kind', - 'name': 'name', - 'namespace': 'namespace' - } - - def __init__(self, api_group=None, kind=None, name=None, namespace=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClassParametersReference - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._api_group = None - self._kind = None - self._name = None - self._namespace = None - self.discriminator = None - - if api_group is not None: - self.api_group = api_group - self.kind = kind - self.name = name - if namespace is not None: - self.namespace = namespace - - @property - def api_group(self): - """Gets the api_group of this V1alpha2ResourceClassParametersReference. # noqa: E501 - - APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. # noqa: E501 - - :return: The api_group of this V1alpha2ResourceClassParametersReference. # noqa: E501 - :rtype: str - """ - return self._api_group - - @api_group.setter - def api_group(self, api_group): - """Sets the api_group of this V1alpha2ResourceClassParametersReference. - - APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. # noqa: E501 - - :param api_group: The api_group of this V1alpha2ResourceClassParametersReference. # noqa: E501 - :type: str - """ - - self._api_group = api_group - - @property - def kind(self): - """Gets the kind of this V1alpha2ResourceClassParametersReference. # noqa: E501 - - Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata. # noqa: E501 - - :return: The kind of this V1alpha2ResourceClassParametersReference. # noqa: E501 - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClassParametersReference. - - Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata. # noqa: E501 - - :param kind: The kind of this V1alpha2ResourceClassParametersReference. # noqa: E501 - :type: str - """ - if self.local_vars_configuration.client_side_validation and kind is None: # noqa: E501 - raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501 - - self._kind = kind - - @property - def name(self): - """Gets the name of this V1alpha2ResourceClassParametersReference. # noqa: E501 - - Name is the name of resource being referenced. # noqa: E501 - - :return: The name of this V1alpha2ResourceClassParametersReference. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this V1alpha2ResourceClassParametersReference. - - Name is the name of resource being referenced. # noqa: E501 - - :param name: The name of this V1alpha2ResourceClassParametersReference. # noqa: E501 - :type: str - """ - if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 - raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - - self._name = name - - @property - def namespace(self): - """Gets the namespace of this V1alpha2ResourceClassParametersReference. # noqa: E501 - - Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources. # noqa: E501 - - :return: The namespace of this V1alpha2ResourceClassParametersReference. # noqa: E501 - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """Sets the namespace of this V1alpha2ResourceClassParametersReference. - - Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources. # noqa: E501 - - :param namespace: The namespace of this V1alpha2ResourceClassParametersReference. # noqa: E501 - :type: str - """ - - self._namespace = namespace - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClassParametersReference): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClassParametersReference): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_handle.py b/kubernetes/client/models/v1alpha2_resource_handle.py deleted file mode 100644 index bbb343c40..000000000 --- a/kubernetes/client/models/v1alpha2_resource_handle.py +++ /dev/null @@ -1,176 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceHandle(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'data': 'str', - 'driver_name': 'str', - 'structured_data': 'V1alpha2StructuredResourceHandle' - } - - attribute_map = { - 'data': 'data', - 'driver_name': 'driverName', - 'structured_data': 'structuredData' - } - - def __init__(self, data=None, driver_name=None, structured_data=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceHandle - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._data = None - self._driver_name = None - self._structured_data = None - self.discriminator = None - - if data is not None: - self.data = data - if driver_name is not None: - self.driver_name = driver_name - if structured_data is not None: - self.structured_data = structured_data - - @property - def data(self): - """Gets the data of this V1alpha2ResourceHandle. # noqa: E501 - - Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle. The maximum size of this field is 16KiB. This may get increased in the future, but not reduced. # noqa: E501 - - :return: The data of this V1alpha2ResourceHandle. # noqa: E501 - :rtype: str - """ - return self._data - - @data.setter - def data(self, data): - """Sets the data of this V1alpha2ResourceHandle. - - Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle. The maximum size of this field is 16KiB. This may get increased in the future, but not reduced. # noqa: E501 - - :param data: The data of this V1alpha2ResourceHandle. # noqa: E501 - :type: str - """ - - self._data = data - - @property - def driver_name(self): - """Gets the driver_name of this V1alpha2ResourceHandle. # noqa: E501 - - DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in. # noqa: E501 - - :return: The driver_name of this V1alpha2ResourceHandle. # noqa: E501 - :rtype: str - """ - return self._driver_name - - @driver_name.setter - def driver_name(self, driver_name): - """Sets the driver_name of this V1alpha2ResourceHandle. - - DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in. # noqa: E501 - - :param driver_name: The driver_name of this V1alpha2ResourceHandle. # noqa: E501 - :type: str - """ - - self._driver_name = driver_name - - @property - def structured_data(self): - """Gets the structured_data of this V1alpha2ResourceHandle. # noqa: E501 - - - :return: The structured_data of this V1alpha2ResourceHandle. # noqa: E501 - :rtype: V1alpha2StructuredResourceHandle - """ - return self._structured_data - - @structured_data.setter - def structured_data(self, structured_data): - """Sets the structured_data of this V1alpha2ResourceHandle. - - - :param structured_data: The structured_data of this V1alpha2ResourceHandle. # noqa: E501 - :type: V1alpha2StructuredResourceHandle - """ - - self._structured_data = structured_data - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceHandle): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceHandle): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_request.py b/kubernetes/client/models/v1alpha2_resource_request.py deleted file mode 100644 index d701fa114..000000000 --- a/kubernetes/client/models/v1alpha2_resource_request.py +++ /dev/null @@ -1,148 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2ResourceRequest(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'named_resources': 'V1alpha2NamedResourcesRequest', - 'vendor_parameters': 'object' - } - - attribute_map = { - 'named_resources': 'namedResources', - 'vendor_parameters': 'vendorParameters' - } - - def __init__(self, named_resources=None, vendor_parameters=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceRequest - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._named_resources = None - self._vendor_parameters = None - self.discriminator = None - - if named_resources is not None: - self.named_resources = named_resources - if vendor_parameters is not None: - self.vendor_parameters = vendor_parameters - - @property - def named_resources(self): - """Gets the named_resources of this V1alpha2ResourceRequest. # noqa: E501 - - - :return: The named_resources of this V1alpha2ResourceRequest. # noqa: E501 - :rtype: V1alpha2NamedResourcesRequest - """ - return self._named_resources - - @named_resources.setter - def named_resources(self, named_resources): - """Sets the named_resources of this V1alpha2ResourceRequest. - - - :param named_resources: The named_resources of this V1alpha2ResourceRequest. # noqa: E501 - :type: V1alpha2NamedResourcesRequest - """ - - self._named_resources = named_resources - - @property - def vendor_parameters(self): - """Gets the vendor_parameters of this V1alpha2ResourceRequest. # noqa: E501 - - VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim. # noqa: E501 - - :return: The vendor_parameters of this V1alpha2ResourceRequest. # noqa: E501 - :rtype: object - """ - return self._vendor_parameters - - @vendor_parameters.setter - def vendor_parameters(self, vendor_parameters): - """Sets the vendor_parameters of this V1alpha2ResourceRequest. - - VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim. # noqa: E501 - - :param vendor_parameters: The vendor_parameters of this V1alpha2ResourceRequest. # noqa: E501 - :type: object - """ - - self._vendor_parameters = vendor_parameters - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceRequest): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceRequest): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_structured_resource_handle.py b/kubernetes/client/models/v1alpha2_structured_resource_handle.py deleted file mode 100644 index ffaa506c4..000000000 --- a/kubernetes/client/models/v1alpha2_structured_resource_handle.py +++ /dev/null @@ -1,207 +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.30 - Generated by: https://openapi-generator.tech -""" - - -import pprint -import re # noqa: F401 - -import six - -from kubernetes.client.configuration import Configuration - - -class V1alpha2StructuredResourceHandle(object): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - openapi_types = { - 'node_name': 'str', - 'results': 'list[V1alpha2DriverAllocationResult]', - 'vendor_claim_parameters': 'object', - 'vendor_class_parameters': 'object' - } - - attribute_map = { - 'node_name': 'nodeName', - 'results': 'results', - 'vendor_claim_parameters': 'vendorClaimParameters', - 'vendor_class_parameters': 'vendorClassParameters' - } - - def __init__(self, node_name=None, results=None, vendor_claim_parameters=None, vendor_class_parameters=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2StructuredResourceHandle - a model defined in OpenAPI""" # noqa: E501 - if local_vars_configuration is None: - local_vars_configuration = Configuration() - self.local_vars_configuration = local_vars_configuration - - self._node_name = None - self._results = None - self._vendor_claim_parameters = None - self._vendor_class_parameters = None - self.discriminator = None - - if node_name is not None: - self.node_name = node_name - self.results = results - if vendor_claim_parameters is not None: - self.vendor_claim_parameters = vendor_claim_parameters - if vendor_class_parameters is not None: - self.vendor_class_parameters = vendor_class_parameters - - @property - def node_name(self): - """Gets the node_name of this V1alpha2StructuredResourceHandle. # noqa: E501 - - NodeName is the name of the node providing the necessary resources if the resources are local to a node. # noqa: E501 - - :return: The node_name of this V1alpha2StructuredResourceHandle. # noqa: E501 - :rtype: str - """ - return self._node_name - - @node_name.setter - def node_name(self, node_name): - """Sets the node_name of this V1alpha2StructuredResourceHandle. - - NodeName is the name of the node providing the necessary resources if the resources are local to a node. # noqa: E501 - - :param node_name: The node_name of this V1alpha2StructuredResourceHandle. # noqa: E501 - :type: str - """ - - self._node_name = node_name - - @property - def results(self): - """Gets the results of this V1alpha2StructuredResourceHandle. # noqa: E501 - - Results lists all allocated driver resources. # noqa: E501 - - :return: The results of this V1alpha2StructuredResourceHandle. # noqa: E501 - :rtype: list[V1alpha2DriverAllocationResult] - """ - return self._results - - @results.setter - def results(self, results): - """Sets the results of this V1alpha2StructuredResourceHandle. - - Results lists all allocated driver resources. # noqa: E501 - - :param results: The results of this V1alpha2StructuredResourceHandle. # noqa: E501 - :type: list[V1alpha2DriverAllocationResult] - """ - if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501 - raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501 - - self._results = results - - @property - def vendor_claim_parameters(self): - """Gets the vendor_claim_parameters of this V1alpha2StructuredResourceHandle. # noqa: E501 - - VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated. # noqa: E501 - - :return: The vendor_claim_parameters of this V1alpha2StructuredResourceHandle. # noqa: E501 - :rtype: object - """ - return self._vendor_claim_parameters - - @vendor_claim_parameters.setter - def vendor_claim_parameters(self, vendor_claim_parameters): - """Sets the vendor_claim_parameters of this V1alpha2StructuredResourceHandle. - - VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated. # noqa: E501 - - :param vendor_claim_parameters: The vendor_claim_parameters of this V1alpha2StructuredResourceHandle. # noqa: E501 - :type: object - """ - - self._vendor_claim_parameters = vendor_claim_parameters - - @property - def vendor_class_parameters(self): - """Gets the vendor_class_parameters of this V1alpha2StructuredResourceHandle. # noqa: E501 - - VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated. # noqa: E501 - - :return: The vendor_class_parameters of this V1alpha2StructuredResourceHandle. # noqa: E501 - :rtype: object - """ - return self._vendor_class_parameters - - @vendor_class_parameters.setter - def vendor_class_parameters(self, vendor_class_parameters): - """Sets the vendor_class_parameters of this V1alpha2StructuredResourceHandle. - - VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated. # noqa: E501 - - :param vendor_class_parameters: The vendor_class_parameters of this V1alpha2StructuredResourceHandle. # noqa: E501 - :type: object - """ - - self._vendor_class_parameters = vendor_class_parameters - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2StructuredResourceHandle): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2StructuredResourceHandle): - return True - - return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_allocation_result.py b/kubernetes/client/models/v1alpha3_allocation_result.py new file mode 100644 index 000000000..e9a2018d5 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_allocation_result.py @@ -0,0 +1,174 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3AllocationResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'controller': 'str', + 'devices': 'V1alpha3DeviceAllocationResult', + 'node_selector': 'V1NodeSelector' + } + + attribute_map = { + 'controller': 'controller', + 'devices': 'devices', + 'node_selector': 'nodeSelector' + } + + def __init__(self, controller=None, devices=None, node_selector=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3AllocationResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._controller = None + self._devices = None + self._node_selector = None + self.discriminator = None + + if controller is not None: + self.controller = controller + if devices is not None: + self.devices = devices + if node_selector is not None: + self.node_selector = node_selector + + @property + def controller(self): + """Gets the controller of this V1alpha3AllocationResult. # noqa: E501 + + Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver. A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. # noqa: E501 + + :return: The controller of this V1alpha3AllocationResult. # noqa: E501 + :rtype: str + """ + return self._controller + + @controller.setter + def controller(self, controller): + """Sets the controller of this V1alpha3AllocationResult. + + Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver. A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. # noqa: E501 + + :param controller: The controller of this V1alpha3AllocationResult. # noqa: E501 + :type: str + """ + + self._controller = controller + + @property + def devices(self): + """Gets the devices of this V1alpha3AllocationResult. # noqa: E501 + + + :return: The devices of this V1alpha3AllocationResult. # noqa: E501 + :rtype: V1alpha3DeviceAllocationResult + """ + return self._devices + + @devices.setter + def devices(self, devices): + """Sets the devices of this V1alpha3AllocationResult. + + + :param devices: The devices of this V1alpha3AllocationResult. # noqa: E501 + :type: V1alpha3DeviceAllocationResult + """ + + self._devices = devices + + @property + def node_selector(self): + """Gets the node_selector of this V1alpha3AllocationResult. # noqa: E501 + + + :return: The node_selector of this V1alpha3AllocationResult. # noqa: E501 + :rtype: V1NodeSelector + """ + return self._node_selector + + @node_selector.setter + def node_selector(self, node_selector): + """Sets the node_selector of this V1alpha3AllocationResult. + + + :param node_selector: The node_selector of this V1alpha3AllocationResult. # noqa: E501 + :type: V1NodeSelector + """ + + self._node_selector = node_selector + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3AllocationResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3AllocationResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_basic_device.py b/kubernetes/client/models/v1alpha3_basic_device.py new file mode 100644 index 000000000..910710c39 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_basic_device.py @@ -0,0 +1,150 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3BasicDevice(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'attributes': 'dict(str, V1alpha3DeviceAttribute)', + 'capacity': 'dict(str, str)' + } + + attribute_map = { + 'attributes': 'attributes', + 'capacity': 'capacity' + } + + def __init__(self, attributes=None, capacity=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3BasicDevice - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._attributes = None + self._capacity = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + if capacity is not None: + self.capacity = capacity + + @property + def attributes(self): + """Gets the attributes of this V1alpha3BasicDevice. # noqa: E501 + + Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :return: The attributes of this V1alpha3BasicDevice. # noqa: E501 + :rtype: dict(str, V1alpha3DeviceAttribute) + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this V1alpha3BasicDevice. + + Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :param attributes: The attributes of this V1alpha3BasicDevice. # noqa: E501 + :type: dict(str, V1alpha3DeviceAttribute) + """ + + self._attributes = attributes + + @property + def capacity(self): + """Gets the capacity of this V1alpha3BasicDevice. # noqa: E501 + + Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :return: The capacity of this V1alpha3BasicDevice. # noqa: E501 + :rtype: dict(str, str) + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this V1alpha3BasicDevice. + + Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :param capacity: The capacity of this V1alpha3BasicDevice. # noqa: E501 + :type: dict(str, str) + """ + + self._capacity = capacity + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3BasicDevice): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3BasicDevice): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_cel_device_selector.py b/kubernetes/client/models/v1alpha3_cel_device_selector.py new file mode 100644 index 000000000..d01f6edaf --- /dev/null +++ b/kubernetes/client/models/v1alpha3_cel_device_selector.py @@ -0,0 +1,123 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3CELDeviceSelector(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'expression': 'str' + } + + attribute_map = { + 'expression': 'expression' + } + + def __init__(self, expression=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3CELDeviceSelector - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._expression = None + self.discriminator = None + + self.expression = expression + + @property + def expression(self): + """Gets the expression of this V1alpha3CELDeviceSelector. # noqa: E501 + + Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) # noqa: E501 + + :return: The expression of this V1alpha3CELDeviceSelector. # noqa: E501 + :rtype: str + """ + return self._expression + + @expression.setter + def expression(self, expression): + """Sets the expression of this V1alpha3CELDeviceSelector. + + Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) # noqa: E501 + + :param expression: The expression of this V1alpha3CELDeviceSelector. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and expression is None: # noqa: E501 + raise ValueError("Invalid value for `expression`, must not be `None`") # noqa: E501 + + self._expression = expression + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3CELDeviceSelector): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3CELDeviceSelector): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_named_resources_allocation_result.py b/kubernetes/client/models/v1alpha3_device.py similarity index 65% rename from kubernetes/client/models/v1alpha2_named_resources_allocation_result.py rename to kubernetes/client/models/v1alpha3_device.py index ec5b2d890..3822fc5c9 100644 --- a/kubernetes/client/models/v1alpha2_named_resources_allocation_result.py +++ b/kubernetes/client/models/v1alpha3_device.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2NamedResourcesAllocationResult(object): +class V1alpha3Device(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,42 +33,68 @@ class V1alpha2NamedResourcesAllocationResult(object): and the value is json key in definition. """ openapi_types = { + 'basic': 'V1alpha3BasicDevice', 'name': 'str' } attribute_map = { + 'basic': 'basic', 'name': 'name' } - def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2NamedResourcesAllocationResult - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, basic=None, name=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3Device - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._basic = None self._name = None self.discriminator = None + if basic is not None: + self.basic = basic self.name = name + @property + def basic(self): + """Gets the basic of this V1alpha3Device. # noqa: E501 + + + :return: The basic of this V1alpha3Device. # noqa: E501 + :rtype: V1alpha3BasicDevice + """ + return self._basic + + @basic.setter + def basic(self, basic): + """Sets the basic of this V1alpha3Device. + + + :param basic: The basic of this V1alpha3Device. # noqa: E501 + :type: V1alpha3BasicDevice + """ + + self._basic = basic + @property def name(self): - """Gets the name of this V1alpha2NamedResourcesAllocationResult. # noqa: E501 + """Gets the name of this V1alpha3Device. # noqa: E501 - Name is the name of the selected resource instance. # noqa: E501 + Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501 - :return: The name of this V1alpha2NamedResourcesAllocationResult. # noqa: E501 + :return: The name of this V1alpha3Device. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this V1alpha2NamedResourcesAllocationResult. + """Sets the name of this V1alpha3Device. - Name is the name of the selected resource instance. # noqa: E501 + Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501 - :param name: The name of this V1alpha2NamedResourcesAllocationResult. # noqa: E501 + :param name: The name of this V1alpha3Device. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 @@ -110,14 +136,14 @@ class V1alpha2NamedResourcesAllocationResult(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2NamedResourcesAllocationResult): + if not isinstance(other, V1alpha3Device): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2NamedResourcesAllocationResult): + if not isinstance(other, V1alpha3Device): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_allocation_configuration.py b/kubernetes/client/models/v1alpha3_device_allocation_configuration.py new file mode 100644 index 000000000..2396bae87 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_allocation_configuration.py @@ -0,0 +1,177 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceAllocationConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'opaque': 'V1alpha3OpaqueDeviceConfiguration', + 'requests': 'list[str]', + 'source': 'str' + } + + attribute_map = { + 'opaque': 'opaque', + 'requests': 'requests', + 'source': 'source' + } + + def __init__(self, opaque=None, requests=None, source=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceAllocationConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._opaque = None + self._requests = None + self._source = None + self.discriminator = None + + if opaque is not None: + self.opaque = opaque + if requests is not None: + self.requests = requests + self.source = source + + @property + def opaque(self): + """Gets the opaque of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + + + :return: The opaque of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + :rtype: V1alpha3OpaqueDeviceConfiguration + """ + return self._opaque + + @opaque.setter + def opaque(self, opaque): + """Sets the opaque of this V1alpha3DeviceAllocationConfiguration. + + + :param opaque: The opaque of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + :type: V1alpha3OpaqueDeviceConfiguration + """ + + self._opaque = opaque + + @property + def requests(self): + """Gets the requests of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + + Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. # noqa: E501 + + :return: The requests of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + :rtype: list[str] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1alpha3DeviceAllocationConfiguration. + + Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. # noqa: E501 + + :param requests: The requests of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + :type: list[str] + """ + + self._requests = requests + + @property + def source(self): + """Gets the source of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + + Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501 + + :return: The source of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + :rtype: str + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this V1alpha3DeviceAllocationConfiguration. + + Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501 + + :param source: The source of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and source is None: # noqa: E501 + raise ValueError("Invalid value for `source`, must not be `None`") # noqa: E501 + + self._source = source + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceAllocationConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceAllocationConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_allocation_result.py b/kubernetes/client/models/v1alpha3_device_allocation_result.py new file mode 100644 index 000000000..7da6c7aff --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_allocation_result.py @@ -0,0 +1,150 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceAllocationResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'config': 'list[V1alpha3DeviceAllocationConfiguration]', + 'results': 'list[V1alpha3DeviceRequestAllocationResult]' + } + + attribute_map = { + 'config': 'config', + 'results': 'results' + } + + def __init__(self, config=None, results=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceAllocationResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._config = None + self._results = None + self.discriminator = None + + if config is not None: + self.config = config + if results is not None: + self.results = results + + @property + def config(self): + """Gets the config of this V1alpha3DeviceAllocationResult. # noqa: E501 + + This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. # noqa: E501 + + :return: The config of this V1alpha3DeviceAllocationResult. # noqa: E501 + :rtype: list[V1alpha3DeviceAllocationConfiguration] + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this V1alpha3DeviceAllocationResult. + + This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. # noqa: E501 + + :param config: The config of this V1alpha3DeviceAllocationResult. # noqa: E501 + :type: list[V1alpha3DeviceAllocationConfiguration] + """ + + self._config = config + + @property + def results(self): + """Gets the results of this V1alpha3DeviceAllocationResult. # noqa: E501 + + Results lists all allocated devices. # noqa: E501 + + :return: The results of this V1alpha3DeviceAllocationResult. # noqa: E501 + :rtype: list[V1alpha3DeviceRequestAllocationResult] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this V1alpha3DeviceAllocationResult. + + Results lists all allocated devices. # noqa: E501 + + :param results: The results of this V1alpha3DeviceAllocationResult. # noqa: E501 + :type: list[V1alpha3DeviceRequestAllocationResult] + """ + + self._results = results + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceAllocationResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceAllocationResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_attribute.py b/kubernetes/client/models/v1alpha3_device_attribute.py new file mode 100644 index 000000000..adb3fb8de --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_attribute.py @@ -0,0 +1,206 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceAttribute(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'bool': 'bool', + 'int': 'int', + 'string': 'str', + 'version': 'str' + } + + attribute_map = { + 'bool': 'bool', + 'int': 'int', + 'string': 'string', + 'version': 'version' + } + + def __init__(self, bool=None, int=None, string=None, version=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceAttribute - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._bool = None + self._int = None + self._string = None + self._version = None + self.discriminator = None + + if bool is not None: + self.bool = bool + if int is not None: + self.int = int + if string is not None: + self.string = string + if version is not None: + self.version = version + + @property + def bool(self): + """Gets the bool of this V1alpha3DeviceAttribute. # noqa: E501 + + BoolValue is a true/false value. # noqa: E501 + + :return: The bool of this V1alpha3DeviceAttribute. # noqa: E501 + :rtype: bool + """ + return self._bool + + @bool.setter + def bool(self, bool): + """Sets the bool of this V1alpha3DeviceAttribute. + + BoolValue is a true/false value. # noqa: E501 + + :param bool: The bool of this V1alpha3DeviceAttribute. # noqa: E501 + :type: bool + """ + + self._bool = bool + + @property + def int(self): + """Gets the int of this V1alpha3DeviceAttribute. # noqa: E501 + + IntValue is a number. # noqa: E501 + + :return: The int of this V1alpha3DeviceAttribute. # noqa: E501 + :rtype: int + """ + return self._int + + @int.setter + def int(self, int): + """Sets the int of this V1alpha3DeviceAttribute. + + IntValue is a number. # noqa: E501 + + :param int: The int of this V1alpha3DeviceAttribute. # noqa: E501 + :type: int + """ + + self._int = int + + @property + def string(self): + """Gets the string of this V1alpha3DeviceAttribute. # noqa: E501 + + StringValue is a string. Must not be longer than 64 characters. # noqa: E501 + + :return: The string of this V1alpha3DeviceAttribute. # noqa: E501 + :rtype: str + """ + return self._string + + @string.setter + def string(self, string): + """Sets the string of this V1alpha3DeviceAttribute. + + StringValue is a string. Must not be longer than 64 characters. # noqa: E501 + + :param string: The string of this V1alpha3DeviceAttribute. # noqa: E501 + :type: str + """ + + self._string = string + + @property + def version(self): + """Gets the version of this V1alpha3DeviceAttribute. # noqa: E501 + + VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. # noqa: E501 + + :return: The version of this V1alpha3DeviceAttribute. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this V1alpha3DeviceAttribute. + + VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. # noqa: E501 + + :param version: The version of this V1alpha3DeviceAttribute. # noqa: E501 + :type: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceAttribute): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceAttribute): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_claim.py b/kubernetes/client/models/v1alpha3_device_claim.py new file mode 100644 index 000000000..aca3d6bde --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_claim.py @@ -0,0 +1,178 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceClaim(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'config': 'list[V1alpha3DeviceClaimConfiguration]', + 'constraints': 'list[V1alpha3DeviceConstraint]', + 'requests': 'list[V1alpha3DeviceRequest]' + } + + attribute_map = { + 'config': 'config', + 'constraints': 'constraints', + 'requests': 'requests' + } + + def __init__(self, config=None, constraints=None, requests=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceClaim - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._config = None + self._constraints = None + self._requests = None + self.discriminator = None + + if config is not None: + self.config = config + if constraints is not None: + self.constraints = constraints + if requests is not None: + self.requests = requests + + @property + def config(self): + """Gets the config of this V1alpha3DeviceClaim. # noqa: E501 + + This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. # noqa: E501 + + :return: The config of this V1alpha3DeviceClaim. # noqa: E501 + :rtype: list[V1alpha3DeviceClaimConfiguration] + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this V1alpha3DeviceClaim. + + This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. # noqa: E501 + + :param config: The config of this V1alpha3DeviceClaim. # noqa: E501 + :type: list[V1alpha3DeviceClaimConfiguration] + """ + + self._config = config + + @property + def constraints(self): + """Gets the constraints of this V1alpha3DeviceClaim. # noqa: E501 + + These constraints must be satisfied by the set of devices that get allocated for the claim. # noqa: E501 + + :return: The constraints of this V1alpha3DeviceClaim. # noqa: E501 + :rtype: list[V1alpha3DeviceConstraint] + """ + return self._constraints + + @constraints.setter + def constraints(self, constraints): + """Sets the constraints of this V1alpha3DeviceClaim. + + These constraints must be satisfied by the set of devices that get allocated for the claim. # noqa: E501 + + :param constraints: The constraints of this V1alpha3DeviceClaim. # noqa: E501 + :type: list[V1alpha3DeviceConstraint] + """ + + self._constraints = constraints + + @property + def requests(self): + """Gets the requests of this V1alpha3DeviceClaim. # noqa: E501 + + Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. # noqa: E501 + + :return: The requests of this V1alpha3DeviceClaim. # noqa: E501 + :rtype: list[V1alpha3DeviceRequest] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1alpha3DeviceClaim. + + Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. # noqa: E501 + + :param requests: The requests of this V1alpha3DeviceClaim. # noqa: E501 + :type: list[V1alpha3DeviceRequest] + """ + + self._requests = requests + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceClaim): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceClaim): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_filter.py b/kubernetes/client/models/v1alpha3_device_claim_configuration.py similarity index 53% rename from kubernetes/client/models/v1alpha2_resource_filter.py rename to kubernetes/client/models/v1alpha3_device_claim_configuration.py index fae4ca545..4de6776e9 100644 --- a/kubernetes/client/models/v1alpha2_resource_filter.py +++ b/kubernetes/client/models/v1alpha3_device_claim_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceFilter(object): +class V1alpha3DeviceClaimConfiguration(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,73 +33,73 @@ class V1alpha2ResourceFilter(object): and the value is json key in definition. """ openapi_types = { - 'driver_name': 'str', - 'named_resources': 'V1alpha2NamedResourcesFilter' + 'opaque': 'V1alpha3OpaqueDeviceConfiguration', + 'requests': 'list[str]' } attribute_map = { - 'driver_name': 'driverName', - 'named_resources': 'namedResources' + 'opaque': 'opaque', + 'requests': 'requests' } - def __init__(self, driver_name=None, named_resources=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceFilter - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, opaque=None, requests=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceClaimConfiguration - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration - self._driver_name = None - self._named_resources = None + self._opaque = None + self._requests = None self.discriminator = None - if driver_name is not None: - self.driver_name = driver_name - if named_resources is not None: - self.named_resources = named_resources + if opaque is not None: + self.opaque = opaque + if requests is not None: + self.requests = requests @property - def driver_name(self): - """Gets the driver_name of this V1alpha2ResourceFilter. # noqa: E501 + def opaque(self): + """Gets the opaque of this V1alpha3DeviceClaimConfiguration. # noqa: E501 - DriverName is the name used by the DRA driver kubelet plugin. # noqa: E501 - :return: The driver_name of this V1alpha2ResourceFilter. # noqa: E501 - :rtype: str + :return: The opaque of this V1alpha3DeviceClaimConfiguration. # noqa: E501 + :rtype: V1alpha3OpaqueDeviceConfiguration """ - return self._driver_name + return self._opaque - @driver_name.setter - def driver_name(self, driver_name): - """Sets the driver_name of this V1alpha2ResourceFilter. + @opaque.setter + def opaque(self, opaque): + """Sets the opaque of this V1alpha3DeviceClaimConfiguration. - DriverName is the name used by the DRA driver kubelet plugin. # noqa: E501 - :param driver_name: The driver_name of this V1alpha2ResourceFilter. # noqa: E501 - :type: str + :param opaque: The opaque of this V1alpha3DeviceClaimConfiguration. # noqa: E501 + :type: V1alpha3OpaqueDeviceConfiguration """ - self._driver_name = driver_name + self._opaque = opaque @property - def named_resources(self): - """Gets the named_resources of this V1alpha2ResourceFilter. # noqa: E501 + def requests(self): + """Gets the requests of this V1alpha3DeviceClaimConfiguration. # noqa: E501 + Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. # noqa: E501 - :return: The named_resources of this V1alpha2ResourceFilter. # noqa: E501 - :rtype: V1alpha2NamedResourcesFilter + :return: The requests of this V1alpha3DeviceClaimConfiguration. # noqa: E501 + :rtype: list[str] """ - return self._named_resources + return self._requests - @named_resources.setter - def named_resources(self, named_resources): - """Sets the named_resources of this V1alpha2ResourceFilter. + @requests.setter + def requests(self, requests): + """Sets the requests of this V1alpha3DeviceClaimConfiguration. + Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. # noqa: E501 - :param named_resources: The named_resources of this V1alpha2ResourceFilter. # noqa: E501 - :type: V1alpha2NamedResourcesFilter + :param requests: The requests of this V1alpha3DeviceClaimConfiguration. # noqa: E501 + :type: list[str] """ - self._named_resources = named_resources + self._requests = requests def to_dict(self): """Returns the model properties as a dict""" @@ -135,14 +135,14 @@ class V1alpha2ResourceFilter(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceFilter): + if not isinstance(other, V1alpha3DeviceClaimConfiguration): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceFilter): + if not isinstance(other, V1alpha3DeviceClaimConfiguration): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_class.py b/kubernetes/client/models/v1alpha3_device_class.py new file mode 100644 index 000000000..8899d6a8e --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_class.py @@ -0,0 +1,203 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceClass(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1alpha3DeviceClassSpec' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceClass - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + + @property + def api_version(self): + """Gets the api_version of this V1alpha3DeviceClass. # noqa: E501 + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1alpha3DeviceClass. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha3DeviceClass. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1alpha3DeviceClass. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1alpha3DeviceClass. # noqa: E501 + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1alpha3DeviceClass. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha3DeviceClass. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1alpha3DeviceClass. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha3DeviceClass. # noqa: E501 + + + :return: The metadata of this V1alpha3DeviceClass. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha3DeviceClass. + + + :param metadata: The metadata of this V1alpha3DeviceClass. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1alpha3DeviceClass. # noqa: E501 + + + :return: The spec of this V1alpha3DeviceClass. # noqa: E501 + :rtype: V1alpha3DeviceClassSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1alpha3DeviceClass. + + + :param spec: The spec of this V1alpha3DeviceClass. # noqa: E501 + :type: V1alpha3DeviceClassSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceClass): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceClass): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_class_configuration.py b/kubernetes/client/models/v1alpha3_device_class_configuration.py new file mode 100644 index 000000000..778e1cf03 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_class_configuration.py @@ -0,0 +1,120 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceClassConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'opaque': 'V1alpha3OpaqueDeviceConfiguration' + } + + attribute_map = { + 'opaque': 'opaque' + } + + def __init__(self, opaque=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceClassConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._opaque = None + self.discriminator = None + + if opaque is not None: + self.opaque = opaque + + @property + def opaque(self): + """Gets the opaque of this V1alpha3DeviceClassConfiguration. # noqa: E501 + + + :return: The opaque of this V1alpha3DeviceClassConfiguration. # noqa: E501 + :rtype: V1alpha3OpaqueDeviceConfiguration + """ + return self._opaque + + @opaque.setter + def opaque(self, opaque): + """Sets the opaque of this V1alpha3DeviceClassConfiguration. + + + :param opaque: The opaque of this V1alpha3DeviceClassConfiguration. # noqa: E501 + :type: V1alpha3OpaqueDeviceConfiguration + """ + + self._opaque = opaque + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceClassConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceClassConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_class_list.py b/kubernetes/client/models/v1alpha3_device_class_list.py similarity index 77% rename from kubernetes/client/models/v1alpha2_resource_class_list.py rename to kubernetes/client/models/v1alpha3_device_class_list.py index 3ee6ff008..9e6f756f3 100644 --- a/kubernetes/client/models/v1alpha2_resource_class_list.py +++ b/kubernetes/client/models/v1alpha3_device_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceClassList(object): +class V1alpha3DeviceClassList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha2ResourceClassList(object): """ openapi_types = { 'api_version': 'str', - 'items': 'list[V1alpha2ResourceClass]', + 'items': 'list[V1alpha3DeviceClass]', 'kind': 'str', 'metadata': 'V1ListMeta' } @@ -47,7 +47,7 @@ class V1alpha2ResourceClassList(object): } def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClassList - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3DeviceClassList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ class V1alpha2ResourceClassList(object): @property def api_version(self): - """Gets the api_version of this V1alpha2ResourceClassList. # noqa: E501 + """Gets the api_version of this V1alpha3DeviceClassList. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha2ResourceClassList. # noqa: E501 + :return: The api_version of this V1alpha3DeviceClassList. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClassList. + """Sets the api_version of this V1alpha3DeviceClassList. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha2ResourceClassList. # noqa: E501 + :param api_version: The api_version of this V1alpha3DeviceClassList. # noqa: E501 :type: str """ @@ -91,23 +91,23 @@ class V1alpha2ResourceClassList(object): @property def items(self): - """Gets the items of this V1alpha2ResourceClassList. # noqa: E501 + """Gets the items of this V1alpha3DeviceClassList. # noqa: E501 Items is the list of resource classes. # noqa: E501 - :return: The items of this V1alpha2ResourceClassList. # noqa: E501 - :rtype: list[V1alpha2ResourceClass] + :return: The items of this V1alpha3DeviceClassList. # noqa: E501 + :rtype: list[V1alpha3DeviceClass] """ return self._items @items.setter def items(self, items): - """Sets the items of this V1alpha2ResourceClassList. + """Sets the items of this V1alpha3DeviceClassList. Items is the list of resource classes. # noqa: E501 - :param items: The items of this V1alpha2ResourceClassList. # noqa: E501 - :type: list[V1alpha2ResourceClass] + :param items: The items of this V1alpha3DeviceClassList. # noqa: E501 + :type: list[V1alpha3DeviceClass] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 @@ -116,22 +116,22 @@ class V1alpha2ResourceClassList(object): @property def kind(self): - """Gets the kind of this V1alpha2ResourceClassList. # noqa: E501 + """Gets the kind of this V1alpha3DeviceClassList. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha2ResourceClassList. # noqa: E501 + :return: The kind of this V1alpha3DeviceClassList. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClassList. + """Sets the kind of this V1alpha3DeviceClassList. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha2ResourceClassList. # noqa: E501 + :param kind: The kind of this V1alpha3DeviceClassList. # noqa: E501 :type: str """ @@ -139,20 +139,20 @@ class V1alpha2ResourceClassList(object): @property def metadata(self): - """Gets the metadata of this V1alpha2ResourceClassList. # noqa: E501 + """Gets the metadata of this V1alpha3DeviceClassList. # noqa: E501 - :return: The metadata of this V1alpha2ResourceClassList. # noqa: E501 + :return: The metadata of this V1alpha3DeviceClassList. # noqa: E501 :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClassList. + """Sets the metadata of this V1alpha3DeviceClassList. - :param metadata: The metadata of this V1alpha2ResourceClassList. # noqa: E501 + :param metadata: The metadata of this V1alpha3DeviceClassList. # noqa: E501 :type: V1ListMeta """ @@ -192,14 +192,14 @@ class V1alpha2ResourceClassList(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClassList): + if not isinstance(other, V1alpha3DeviceClassList): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClassList): + if not isinstance(other, V1alpha3DeviceClassList): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_class_spec.py b/kubernetes/client/models/v1alpha3_device_class_spec.py new file mode 100644 index 000000000..0724ad04b --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_class_spec.py @@ -0,0 +1,176 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceClassSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'config': 'list[V1alpha3DeviceClassConfiguration]', + 'selectors': 'list[V1alpha3DeviceSelector]', + 'suitable_nodes': 'V1NodeSelector' + } + + attribute_map = { + 'config': 'config', + 'selectors': 'selectors', + 'suitable_nodes': 'suitableNodes' + } + + def __init__(self, config=None, selectors=None, suitable_nodes=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceClassSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._config = None + self._selectors = None + self._suitable_nodes = None + self.discriminator = None + + if config is not None: + self.config = config + if selectors is not None: + self.selectors = selectors + if suitable_nodes is not None: + self.suitable_nodes = suitable_nodes + + @property + def config(self): + """Gets the config of this V1alpha3DeviceClassSpec. # noqa: E501 + + Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim. # noqa: E501 + + :return: The config of this V1alpha3DeviceClassSpec. # noqa: E501 + :rtype: list[V1alpha3DeviceClassConfiguration] + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this V1alpha3DeviceClassSpec. + + Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim. # noqa: E501 + + :param config: The config of this V1alpha3DeviceClassSpec. # noqa: E501 + :type: list[V1alpha3DeviceClassConfiguration] + """ + + self._config = config + + @property + def selectors(self): + """Gets the selectors of this V1alpha3DeviceClassSpec. # noqa: E501 + + Each selector must be satisfied by a device which is claimed via this class. # noqa: E501 + + :return: The selectors of this V1alpha3DeviceClassSpec. # noqa: E501 + :rtype: list[V1alpha3DeviceSelector] + """ + return self._selectors + + @selectors.setter + def selectors(self, selectors): + """Sets the selectors of this V1alpha3DeviceClassSpec. + + Each selector must be satisfied by a device which is claimed via this class. # noqa: E501 + + :param selectors: The selectors of this V1alpha3DeviceClassSpec. # noqa: E501 + :type: list[V1alpha3DeviceSelector] + """ + + self._selectors = selectors + + @property + def suitable_nodes(self): + """Gets the suitable_nodes of this V1alpha3DeviceClassSpec. # noqa: E501 + + + :return: The suitable_nodes of this V1alpha3DeviceClassSpec. # noqa: E501 + :rtype: V1NodeSelector + """ + return self._suitable_nodes + + @suitable_nodes.setter + def suitable_nodes(self, suitable_nodes): + """Sets the suitable_nodes of this V1alpha3DeviceClassSpec. + + + :param suitable_nodes: The suitable_nodes of this V1alpha3DeviceClassSpec. # noqa: E501 + :type: V1NodeSelector + """ + + self._suitable_nodes = suitable_nodes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceClassSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceClassSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_constraint.py b/kubernetes/client/models/v1alpha3_device_constraint.py new file mode 100644 index 000000000..9a6500380 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_constraint.py @@ -0,0 +1,150 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceConstraint(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'match_attribute': 'str', + 'requests': 'list[str]' + } + + attribute_map = { + 'match_attribute': 'matchAttribute', + 'requests': 'requests' + } + + def __init__(self, match_attribute=None, requests=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceConstraint - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._match_attribute = None + self._requests = None + self.discriminator = None + + if match_attribute is not None: + self.match_attribute = match_attribute + if requests is not None: + self.requests = requests + + @property + def match_attribute(self): + """Gets the match_attribute of this V1alpha3DeviceConstraint. # noqa: E501 + + MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. # noqa: E501 + + :return: The match_attribute of this V1alpha3DeviceConstraint. # noqa: E501 + :rtype: str + """ + return self._match_attribute + + @match_attribute.setter + def match_attribute(self, match_attribute): + """Sets the match_attribute of this V1alpha3DeviceConstraint. + + MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. # noqa: E501 + + :param match_attribute: The match_attribute of this V1alpha3DeviceConstraint. # noqa: E501 + :type: str + """ + + self._match_attribute = match_attribute + + @property + def requests(self): + """Gets the requests of this V1alpha3DeviceConstraint. # noqa: E501 + + Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. # noqa: E501 + + :return: The requests of this V1alpha3DeviceConstraint. # noqa: E501 + :rtype: list[str] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1alpha3DeviceConstraint. + + Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. # noqa: E501 + + :param requests: The requests of this V1alpha3DeviceConstraint. # noqa: E501 + :type: list[str] + """ + + self._requests = requests + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceConstraint): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceConstraint): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_request.py b/kubernetes/client/models/v1alpha3_device_request.py new file mode 100644 index 000000000..b7eb89114 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_request.py @@ -0,0 +1,264 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'admin_access': 'bool', + 'allocation_mode': 'str', + 'count': 'int', + 'device_class_name': 'str', + 'name': 'str', + 'selectors': 'list[V1alpha3DeviceSelector]' + } + + attribute_map = { + 'admin_access': 'adminAccess', + 'allocation_mode': 'allocationMode', + 'count': 'count', + 'device_class_name': 'deviceClassName', + 'name': 'name', + 'selectors': 'selectors' + } + + def __init__(self, admin_access=None, allocation_mode=None, count=None, device_class_name=None, name=None, selectors=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._admin_access = None + self._allocation_mode = None + self._count = None + self._device_class_name = None + self._name = None + self._selectors = None + self.discriminator = None + + if admin_access is not None: + self.admin_access = admin_access + if allocation_mode is not None: + self.allocation_mode = allocation_mode + if count is not None: + self.count = count + self.device_class_name = device_class_name + self.name = name + if selectors is not None: + self.selectors = selectors + + @property + def admin_access(self): + """Gets the admin_access of this V1alpha3DeviceRequest. # noqa: E501 + + AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. # noqa: E501 + + :return: The admin_access of this V1alpha3DeviceRequest. # noqa: E501 + :rtype: bool + """ + return self._admin_access + + @admin_access.setter + def admin_access(self, admin_access): + """Sets the admin_access of this V1alpha3DeviceRequest. + + AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. # noqa: E501 + + :param admin_access: The admin_access of this V1alpha3DeviceRequest. # noqa: E501 + :type: bool + """ + + self._admin_access = admin_access + + @property + def allocation_mode(self): + """Gets the allocation_mode of this V1alpha3DeviceRequest. # noqa: E501 + + AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. # noqa: E501 + + :return: The allocation_mode of this V1alpha3DeviceRequest. # noqa: E501 + :rtype: str + """ + return self._allocation_mode + + @allocation_mode.setter + def allocation_mode(self, allocation_mode): + """Sets the allocation_mode of this V1alpha3DeviceRequest. + + AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. # noqa: E501 + + :param allocation_mode: The allocation_mode of this V1alpha3DeviceRequest. # noqa: E501 + :type: str + """ + + self._allocation_mode = allocation_mode + + @property + def count(self): + """Gets the count of this V1alpha3DeviceRequest. # noqa: E501 + + Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one. # noqa: E501 + + :return: The count of this V1alpha3DeviceRequest. # noqa: E501 + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this V1alpha3DeviceRequest. + + Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one. # noqa: E501 + + :param count: The count of this V1alpha3DeviceRequest. # noqa: E501 + :type: int + """ + + self._count = count + + @property + def device_class_name(self): + """Gets the device_class_name of this V1alpha3DeviceRequest. # noqa: E501 + + DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. # noqa: E501 + + :return: The device_class_name of this V1alpha3DeviceRequest. # noqa: E501 + :rtype: str + """ + return self._device_class_name + + @device_class_name.setter + def device_class_name(self, device_class_name): + """Sets the device_class_name of this V1alpha3DeviceRequest. + + DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. # noqa: E501 + + :param device_class_name: The device_class_name of this V1alpha3DeviceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and device_class_name is None: # noqa: E501 + raise ValueError("Invalid value for `device_class_name`, must not be `None`") # noqa: E501 + + self._device_class_name = device_class_name + + @property + def name(self): + """Gets the name of this V1alpha3DeviceRequest. # noqa: E501 + + Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label. # noqa: E501 + + :return: The name of this V1alpha3DeviceRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1alpha3DeviceRequest. + + Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label. # noqa: E501 + + :param name: The name of this V1alpha3DeviceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def selectors(self): + """Gets the selectors of this V1alpha3DeviceRequest. # noqa: E501 + + Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. # noqa: E501 + + :return: The selectors of this V1alpha3DeviceRequest. # noqa: E501 + :rtype: list[V1alpha3DeviceSelector] + """ + return self._selectors + + @selectors.setter + def selectors(self, selectors): + """Sets the selectors of this V1alpha3DeviceRequest. + + Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. # noqa: E501 + + :param selectors: The selectors of this V1alpha3DeviceRequest. # noqa: E501 + :type: list[V1alpha3DeviceSelector] + """ + + self._selectors = selectors + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_device_request_allocation_result.py b/kubernetes/client/models/v1alpha3_device_request_allocation_result.py new file mode 100644 index 000000000..4a4ba4b85 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_device_request_allocation_result.py @@ -0,0 +1,210 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3DeviceRequestAllocationResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'device': 'str', + 'driver': 'str', + 'pool': 'str', + 'request': 'str' + } + + attribute_map = { + 'device': 'device', + 'driver': 'driver', + 'pool': 'pool', + 'request': 'request' + } + + def __init__(self, device=None, driver=None, pool=None, request=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceRequestAllocationResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._device = None + self._driver = None + self._pool = None + self._request = None + self.discriminator = None + + self.device = device + self.driver = driver + self.pool = pool + self.request = request + + @property + def device(self): + """Gets the device of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + + Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 + + :return: The device of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._device + + @device.setter + def device(self, device): + """Sets the device of this V1alpha3DeviceRequestAllocationResult. + + Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 + + :param device: The device of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and device is None: # noqa: E501 + raise ValueError("Invalid value for `device`, must not be `None`") # noqa: E501 + + self._device = device + + @property + def driver(self): + """Gets the driver of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E501 + + :return: The driver of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """Sets the driver of this V1alpha3DeviceRequestAllocationResult. + + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E501 + + :param driver: The driver of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and driver is None: # noqa: E501 + raise ValueError("Invalid value for `driver`, must not be `None`") # noqa: E501 + + self._driver = driver + + @property + def pool(self): + """Gets the pool of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + + This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 + + :return: The pool of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._pool + + @pool.setter + def pool(self, pool): + """Sets the pool of this V1alpha3DeviceRequestAllocationResult. + + This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 + + :param pool: The pool of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and pool is None: # noqa: E501 + raise ValueError("Invalid value for `pool`, must not be `None`") # noqa: E501 + + self._pool = pool + + @property + def request(self): + """Gets the request of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + + Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request. # noqa: E501 + + :return: The request of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._request + + @request.setter + def request(self, request): + """Sets the request of this V1alpha3DeviceRequestAllocationResult. + + Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request. # noqa: E501 + + :param request: The request of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and request is None: # noqa: E501 + raise ValueError("Invalid value for `request`, must not be `None`") # noqa: E501 + + self._request = request + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3DeviceRequestAllocationResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3DeviceRequestAllocationResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_named_resources_int_slice.py b/kubernetes/client/models/v1alpha3_device_selector.py similarity index 65% rename from kubernetes/client/models/v1alpha2_named_resources_int_slice.py rename to kubernetes/client/models/v1alpha3_device_selector.py index 57ccfe968..88e623bc6 100644 --- a/kubernetes/client/models/v1alpha2_named_resources_int_slice.py +++ b/kubernetes/client/models/v1alpha3_device_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2NamedResourcesIntSlice(object): +class V1alpha3DeviceSelector(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,48 +33,45 @@ class V1alpha2NamedResourcesIntSlice(object): and the value is json key in definition. """ openapi_types = { - 'ints': 'list[int]' + 'cel': 'V1alpha3CELDeviceSelector' } attribute_map = { - 'ints': 'ints' + 'cel': 'cel' } - def __init__(self, ints=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2NamedResourcesIntSlice - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, cel=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceSelector - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration - self._ints = None + self._cel = None self.discriminator = None - self.ints = ints + if cel is not None: + self.cel = cel @property - def ints(self): - """Gets the ints of this V1alpha2NamedResourcesIntSlice. # noqa: E501 + def cel(self): + """Gets the cel of this V1alpha3DeviceSelector. # noqa: E501 - Ints is the slice of 64-bit integers. # noqa: E501 - :return: The ints of this V1alpha2NamedResourcesIntSlice. # noqa: E501 - :rtype: list[int] + :return: The cel of this V1alpha3DeviceSelector. # noqa: E501 + :rtype: V1alpha3CELDeviceSelector """ - return self._ints + return self._cel - @ints.setter - def ints(self, ints): - """Sets the ints of this V1alpha2NamedResourcesIntSlice. + @cel.setter + def cel(self, cel): + """Sets the cel of this V1alpha3DeviceSelector. - Ints is the slice of 64-bit integers. # noqa: E501 - :param ints: The ints of this V1alpha2NamedResourcesIntSlice. # noqa: E501 - :type: list[int] + :param cel: The cel of this V1alpha3DeviceSelector. # noqa: E501 + :type: V1alpha3CELDeviceSelector """ - if self.local_vars_configuration.client_side_validation and ints is None: # noqa: E501 - raise ValueError("Invalid value for `ints`, must not be `None`") # noqa: E501 - self._ints = ints + self._cel = cel def to_dict(self): """Returns the model properties as a dict""" @@ -110,14 +107,14 @@ class V1alpha2NamedResourcesIntSlice(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2NamedResourcesIntSlice): + if not isinstance(other, V1alpha3DeviceSelector): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2NamedResourcesIntSlice): + if not isinstance(other, V1alpha3DeviceSelector): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_opaque_device_configuration.py b/kubernetes/client/models/v1alpha3_opaque_device_configuration.py new file mode 100644 index 000000000..5b797debf --- /dev/null +++ b/kubernetes/client/models/v1alpha3_opaque_device_configuration.py @@ -0,0 +1,152 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3OpaqueDeviceConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'driver': 'str', + 'parameters': 'object' + } + + attribute_map = { + 'driver': 'driver', + 'parameters': 'parameters' + } + + def __init__(self, driver=None, parameters=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3OpaqueDeviceConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._driver = None + self._parameters = None + self.discriminator = None + + self.driver = driver + self.parameters = parameters + + @property + def driver(self): + """Gets the driver of this V1alpha3OpaqueDeviceConfiguration. # noqa: E501 + + Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. An admission policy provided by the driver developer could use this to decide whether it needs to validate them. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E501 + + :return: The driver of this V1alpha3OpaqueDeviceConfiguration. # noqa: E501 + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """Sets the driver of this V1alpha3OpaqueDeviceConfiguration. + + Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. An admission policy provided by the driver developer could use this to decide whether it needs to validate them. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E501 + + :param driver: The driver of this V1alpha3OpaqueDeviceConfiguration. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and driver is None: # noqa: E501 + raise ValueError("Invalid value for `driver`, must not be `None`") # noqa: E501 + + self._driver = driver + + @property + def parameters(self): + """Gets the parameters of this V1alpha3OpaqueDeviceConfiguration. # noqa: E501 + + Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions. # noqa: E501 + + :return: The parameters of this V1alpha3OpaqueDeviceConfiguration. # noqa: E501 + :rtype: object + """ + return self._parameters + + @parameters.setter + def parameters(self, parameters): + """Sets the parameters of this V1alpha3OpaqueDeviceConfiguration. + + Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions. # noqa: E501 + + :param parameters: The parameters of this V1alpha3OpaqueDeviceConfiguration. # noqa: E501 + :type: object + """ + if self.local_vars_configuration.client_side_validation and parameters is None: # noqa: E501 + raise ValueError("Invalid value for `parameters`, must not be `None`") # noqa: E501 + + self._parameters = parameters + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3OpaqueDeviceConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3OpaqueDeviceConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_pod_scheduling_context.py b/kubernetes/client/models/v1alpha3_pod_scheduling_context.py similarity index 76% rename from kubernetes/client/models/v1alpha2_pod_scheduling_context.py rename to kubernetes/client/models/v1alpha3_pod_scheduling_context.py index 3a3110311..290596638 100644 --- a/kubernetes/client/models/v1alpha2_pod_scheduling_context.py +++ b/kubernetes/client/models/v1alpha3_pod_scheduling_context.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2PodSchedulingContext(object): +class V1alpha3PodSchedulingContext(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,8 +36,8 @@ class V1alpha2PodSchedulingContext(object): 'api_version': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', - 'spec': 'V1alpha2PodSchedulingContextSpec', - 'status': 'V1alpha2PodSchedulingContextStatus' + 'spec': 'V1alpha3PodSchedulingContextSpec', + 'status': 'V1alpha3PodSchedulingContextStatus' } attribute_map = { @@ -49,7 +49,7 @@ class V1alpha2PodSchedulingContext(object): } def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2PodSchedulingContext - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3PodSchedulingContext - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -73,22 +73,22 @@ class V1alpha2PodSchedulingContext(object): @property def api_version(self): - """Gets the api_version of this V1alpha2PodSchedulingContext. # noqa: E501 + """Gets the api_version of this V1alpha3PodSchedulingContext. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha2PodSchedulingContext. # noqa: E501 + :return: The api_version of this V1alpha3PodSchedulingContext. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha2PodSchedulingContext. + """Sets the api_version of this V1alpha3PodSchedulingContext. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha2PodSchedulingContext. # noqa: E501 + :param api_version: The api_version of this V1alpha3PodSchedulingContext. # noqa: E501 :type: str """ @@ -96,22 +96,22 @@ class V1alpha2PodSchedulingContext(object): @property def kind(self): - """Gets the kind of this V1alpha2PodSchedulingContext. # noqa: E501 + """Gets the kind of this V1alpha3PodSchedulingContext. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha2PodSchedulingContext. # noqa: E501 + :return: The kind of this V1alpha3PodSchedulingContext. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha2PodSchedulingContext. + """Sets the kind of this V1alpha3PodSchedulingContext. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha2PodSchedulingContext. # noqa: E501 + :param kind: The kind of this V1alpha3PodSchedulingContext. # noqa: E501 :type: str """ @@ -119,20 +119,20 @@ class V1alpha2PodSchedulingContext(object): @property def metadata(self): - """Gets the metadata of this V1alpha2PodSchedulingContext. # noqa: E501 + """Gets the metadata of this V1alpha3PodSchedulingContext. # noqa: E501 - :return: The metadata of this V1alpha2PodSchedulingContext. # noqa: E501 + :return: The metadata of this V1alpha3PodSchedulingContext. # noqa: E501 :rtype: V1ObjectMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2PodSchedulingContext. + """Sets the metadata of this V1alpha3PodSchedulingContext. - :param metadata: The metadata of this V1alpha2PodSchedulingContext. # noqa: E501 + :param metadata: The metadata of this V1alpha3PodSchedulingContext. # noqa: E501 :type: V1ObjectMeta """ @@ -140,21 +140,21 @@ class V1alpha2PodSchedulingContext(object): @property def spec(self): - """Gets the spec of this V1alpha2PodSchedulingContext. # noqa: E501 + """Gets the spec of this V1alpha3PodSchedulingContext. # noqa: E501 - :return: The spec of this V1alpha2PodSchedulingContext. # noqa: E501 - :rtype: V1alpha2PodSchedulingContextSpec + :return: The spec of this V1alpha3PodSchedulingContext. # noqa: E501 + :rtype: V1alpha3PodSchedulingContextSpec """ return self._spec @spec.setter def spec(self, spec): - """Sets the spec of this V1alpha2PodSchedulingContext. + """Sets the spec of this V1alpha3PodSchedulingContext. - :param spec: The spec of this V1alpha2PodSchedulingContext. # noqa: E501 - :type: V1alpha2PodSchedulingContextSpec + :param spec: The spec of this V1alpha3PodSchedulingContext. # noqa: E501 + :type: V1alpha3PodSchedulingContextSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 @@ -163,21 +163,21 @@ class V1alpha2PodSchedulingContext(object): @property def status(self): - """Gets the status of this V1alpha2PodSchedulingContext. # noqa: E501 + """Gets the status of this V1alpha3PodSchedulingContext. # noqa: E501 - :return: The status of this V1alpha2PodSchedulingContext. # noqa: E501 - :rtype: V1alpha2PodSchedulingContextStatus + :return: The status of this V1alpha3PodSchedulingContext. # noqa: E501 + :rtype: V1alpha3PodSchedulingContextStatus """ return self._status @status.setter def status(self, status): - """Sets the status of this V1alpha2PodSchedulingContext. + """Sets the status of this V1alpha3PodSchedulingContext. - :param status: The status of this V1alpha2PodSchedulingContext. # noqa: E501 - :type: V1alpha2PodSchedulingContextStatus + :param status: The status of this V1alpha3PodSchedulingContext. # noqa: E501 + :type: V1alpha3PodSchedulingContextStatus """ self._status = status @@ -216,14 +216,14 @@ class V1alpha2PodSchedulingContext(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2PodSchedulingContext): + if not isinstance(other, V1alpha3PodSchedulingContext): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2PodSchedulingContext): + if not isinstance(other, V1alpha3PodSchedulingContext): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_pod_scheduling_context_list.py b/kubernetes/client/models/v1alpha3_pod_scheduling_context_list.py similarity index 79% rename from kubernetes/client/models/v1alpha2_pod_scheduling_context_list.py rename to kubernetes/client/models/v1alpha3_pod_scheduling_context_list.py index 547fca790..81d211992 100644 --- a/kubernetes/client/models/v1alpha2_pod_scheduling_context_list.py +++ b/kubernetes/client/models/v1alpha3_pod_scheduling_context_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2PodSchedulingContextList(object): +class V1alpha3PodSchedulingContextList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha2PodSchedulingContextList(object): """ openapi_types = { 'api_version': 'str', - 'items': 'list[V1alpha2PodSchedulingContext]', + 'items': 'list[V1alpha3PodSchedulingContext]', 'kind': 'str', 'metadata': 'V1ListMeta' } @@ -47,7 +47,7 @@ class V1alpha2PodSchedulingContextList(object): } def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2PodSchedulingContextList - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3PodSchedulingContextList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ class V1alpha2PodSchedulingContextList(object): @property def api_version(self): - """Gets the api_version of this V1alpha2PodSchedulingContextList. # noqa: E501 + """Gets the api_version of this V1alpha3PodSchedulingContextList. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha2PodSchedulingContextList. # noqa: E501 + :return: The api_version of this V1alpha3PodSchedulingContextList. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha2PodSchedulingContextList. + """Sets the api_version of this V1alpha3PodSchedulingContextList. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha2PodSchedulingContextList. # noqa: E501 + :param api_version: The api_version of this V1alpha3PodSchedulingContextList. # noqa: E501 :type: str """ @@ -91,23 +91,23 @@ class V1alpha2PodSchedulingContextList(object): @property def items(self): - """Gets the items of this V1alpha2PodSchedulingContextList. # noqa: E501 + """Gets the items of this V1alpha3PodSchedulingContextList. # noqa: E501 Items is the list of PodSchedulingContext objects. # noqa: E501 - :return: The items of this V1alpha2PodSchedulingContextList. # noqa: E501 - :rtype: list[V1alpha2PodSchedulingContext] + :return: The items of this V1alpha3PodSchedulingContextList. # noqa: E501 + :rtype: list[V1alpha3PodSchedulingContext] """ return self._items @items.setter def items(self, items): - """Sets the items of this V1alpha2PodSchedulingContextList. + """Sets the items of this V1alpha3PodSchedulingContextList. Items is the list of PodSchedulingContext objects. # noqa: E501 - :param items: The items of this V1alpha2PodSchedulingContextList. # noqa: E501 - :type: list[V1alpha2PodSchedulingContext] + :param items: The items of this V1alpha3PodSchedulingContextList. # noqa: E501 + :type: list[V1alpha3PodSchedulingContext] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 @@ -116,22 +116,22 @@ class V1alpha2PodSchedulingContextList(object): @property def kind(self): - """Gets the kind of this V1alpha2PodSchedulingContextList. # noqa: E501 + """Gets the kind of this V1alpha3PodSchedulingContextList. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha2PodSchedulingContextList. # noqa: E501 + :return: The kind of this V1alpha3PodSchedulingContextList. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha2PodSchedulingContextList. + """Sets the kind of this V1alpha3PodSchedulingContextList. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha2PodSchedulingContextList. # noqa: E501 + :param kind: The kind of this V1alpha3PodSchedulingContextList. # noqa: E501 :type: str """ @@ -139,20 +139,20 @@ class V1alpha2PodSchedulingContextList(object): @property def metadata(self): - """Gets the metadata of this V1alpha2PodSchedulingContextList. # noqa: E501 + """Gets the metadata of this V1alpha3PodSchedulingContextList. # noqa: E501 - :return: The metadata of this V1alpha2PodSchedulingContextList. # noqa: E501 + :return: The metadata of this V1alpha3PodSchedulingContextList. # noqa: E501 :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2PodSchedulingContextList. + """Sets the metadata of this V1alpha3PodSchedulingContextList. - :param metadata: The metadata of this V1alpha2PodSchedulingContextList. # noqa: E501 + :param metadata: The metadata of this V1alpha3PodSchedulingContextList. # noqa: E501 :type: V1ListMeta """ @@ -192,14 +192,14 @@ class V1alpha2PodSchedulingContextList(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2PodSchedulingContextList): + if not isinstance(other, V1alpha3PodSchedulingContextList): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2PodSchedulingContextList): + if not isinstance(other, V1alpha3PodSchedulingContextList): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_pod_scheduling_context_spec.py b/kubernetes/client/models/v1alpha3_pod_scheduling_context_spec.py similarity index 85% rename from kubernetes/client/models/v1alpha2_pod_scheduling_context_spec.py rename to kubernetes/client/models/v1alpha3_pod_scheduling_context_spec.py index eb0ffc75e..00ff5b9e9 100644 --- a/kubernetes/client/models/v1alpha2_pod_scheduling_context_spec.py +++ b/kubernetes/client/models/v1alpha3_pod_scheduling_context_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2PodSchedulingContextSpec(object): +class V1alpha3PodSchedulingContextSpec(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -43,7 +43,7 @@ class V1alpha2PodSchedulingContextSpec(object): } def __init__(self, potential_nodes=None, selected_node=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2PodSchedulingContextSpec - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3PodSchedulingContextSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -59,22 +59,22 @@ class V1alpha2PodSchedulingContextSpec(object): @property def potential_nodes(self): - """Gets the potential_nodes of this V1alpha2PodSchedulingContextSpec. # noqa: E501 + """Gets the potential_nodes of this V1alpha3PodSchedulingContextSpec. # noqa: E501 PotentialNodes lists nodes where the Pod might be able to run. The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced. # noqa: E501 - :return: The potential_nodes of this V1alpha2PodSchedulingContextSpec. # noqa: E501 + :return: The potential_nodes of this V1alpha3PodSchedulingContextSpec. # noqa: E501 :rtype: list[str] """ return self._potential_nodes @potential_nodes.setter def potential_nodes(self, potential_nodes): - """Sets the potential_nodes of this V1alpha2PodSchedulingContextSpec. + """Sets the potential_nodes of this V1alpha3PodSchedulingContextSpec. PotentialNodes lists nodes where the Pod might be able to run. The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced. # noqa: E501 - :param potential_nodes: The potential_nodes of this V1alpha2PodSchedulingContextSpec. # noqa: E501 + :param potential_nodes: The potential_nodes of this V1alpha3PodSchedulingContextSpec. # noqa: E501 :type: list[str] """ @@ -82,22 +82,22 @@ class V1alpha2PodSchedulingContextSpec(object): @property def selected_node(self): - """Gets the selected_node of this V1alpha2PodSchedulingContextSpec. # noqa: E501 + """Gets the selected_node of this V1alpha3PodSchedulingContextSpec. # noqa: E501 SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted. # noqa: E501 - :return: The selected_node of this V1alpha2PodSchedulingContextSpec. # noqa: E501 + :return: The selected_node of this V1alpha3PodSchedulingContextSpec. # noqa: E501 :rtype: str """ return self._selected_node @selected_node.setter def selected_node(self, selected_node): - """Sets the selected_node of this V1alpha2PodSchedulingContextSpec. + """Sets the selected_node of this V1alpha3PodSchedulingContextSpec. SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted. # noqa: E501 - :param selected_node: The selected_node of this V1alpha2PodSchedulingContextSpec. # noqa: E501 + :param selected_node: The selected_node of this V1alpha3PodSchedulingContextSpec. # noqa: E501 :type: str """ @@ -137,14 +137,14 @@ class V1alpha2PodSchedulingContextSpec(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2PodSchedulingContextSpec): + if not isinstance(other, V1alpha3PodSchedulingContextSpec): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2PodSchedulingContextSpec): + if not isinstance(other, V1alpha3PodSchedulingContextSpec): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_pod_scheduling_context_status.py b/kubernetes/client/models/v1alpha3_pod_scheduling_context_status.py similarity index 82% rename from kubernetes/client/models/v1alpha2_pod_scheduling_context_status.py rename to kubernetes/client/models/v1alpha3_pod_scheduling_context_status.py index f1ba64820..ef29defc4 100644 --- a/kubernetes/client/models/v1alpha2_pod_scheduling_context_status.py +++ b/kubernetes/client/models/v1alpha3_pod_scheduling_context_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2PodSchedulingContextStatus(object): +class V1alpha3PodSchedulingContextStatus(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,7 +33,7 @@ class V1alpha2PodSchedulingContextStatus(object): and the value is json key in definition. """ openapi_types = { - 'resource_claims': 'list[V1alpha2ResourceClaimSchedulingStatus]' + 'resource_claims': 'list[V1alpha3ResourceClaimSchedulingStatus]' } attribute_map = { @@ -41,7 +41,7 @@ class V1alpha2PodSchedulingContextStatus(object): } def __init__(self, resource_claims=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2PodSchedulingContextStatus - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3PodSchedulingContextStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -54,23 +54,23 @@ class V1alpha2PodSchedulingContextStatus(object): @property def resource_claims(self): - """Gets the resource_claims of this V1alpha2PodSchedulingContextStatus. # noqa: E501 + """Gets the resource_claims of this V1alpha3PodSchedulingContextStatus. # noqa: E501 ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode. # noqa: E501 - :return: The resource_claims of this V1alpha2PodSchedulingContextStatus. # noqa: E501 - :rtype: list[V1alpha2ResourceClaimSchedulingStatus] + :return: The resource_claims of this V1alpha3PodSchedulingContextStatus. # noqa: E501 + :rtype: list[V1alpha3ResourceClaimSchedulingStatus] """ return self._resource_claims @resource_claims.setter def resource_claims(self, resource_claims): - """Sets the resource_claims of this V1alpha2PodSchedulingContextStatus. + """Sets the resource_claims of this V1alpha3PodSchedulingContextStatus. ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode. # noqa: E501 - :param resource_claims: The resource_claims of this V1alpha2PodSchedulingContextStatus. # noqa: E501 - :type: list[V1alpha2ResourceClaimSchedulingStatus] + :param resource_claims: The resource_claims of this V1alpha3PodSchedulingContextStatus. # noqa: E501 + :type: list[V1alpha3ResourceClaimSchedulingStatus] """ self._resource_claims = resource_claims @@ -109,14 +109,14 @@ class V1alpha2PodSchedulingContextStatus(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2PodSchedulingContextStatus): + if not isinstance(other, V1alpha3PodSchedulingContextStatus): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2PodSchedulingContextStatus): + if not isinstance(other, V1alpha3PodSchedulingContextStatus): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim.py b/kubernetes/client/models/v1alpha3_resource_claim.py similarity index 76% rename from kubernetes/client/models/v1alpha2_resource_claim.py rename to kubernetes/client/models/v1alpha3_resource_claim.py index fd7b6ac58..4f4685b31 100644 --- a/kubernetes/client/models/v1alpha2_resource_claim.py +++ b/kubernetes/client/models/v1alpha3_resource_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceClaim(object): +class V1alpha3ResourceClaim(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,8 +36,8 @@ class V1alpha2ResourceClaim(object): 'api_version': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', - 'spec': 'V1alpha2ResourceClaimSpec', - 'status': 'V1alpha2ResourceClaimStatus' + 'spec': 'V1alpha3ResourceClaimSpec', + 'status': 'V1alpha3ResourceClaimStatus' } attribute_map = { @@ -49,7 +49,7 @@ class V1alpha2ResourceClaim(object): } def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaim - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3ResourceClaim - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -73,22 +73,22 @@ class V1alpha2ResourceClaim(object): @property def api_version(self): - """Gets the api_version of this V1alpha2ResourceClaim. # noqa: E501 + """Gets the api_version of this V1alpha3ResourceClaim. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha2ResourceClaim. # noqa: E501 + :return: The api_version of this V1alpha3ResourceClaim. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClaim. + """Sets the api_version of this V1alpha3ResourceClaim. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha2ResourceClaim. # noqa: E501 + :param api_version: The api_version of this V1alpha3ResourceClaim. # noqa: E501 :type: str """ @@ -96,22 +96,22 @@ class V1alpha2ResourceClaim(object): @property def kind(self): - """Gets the kind of this V1alpha2ResourceClaim. # noqa: E501 + """Gets the kind of this V1alpha3ResourceClaim. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha2ResourceClaim. # noqa: E501 + :return: The kind of this V1alpha3ResourceClaim. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClaim. + """Sets the kind of this V1alpha3ResourceClaim. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha2ResourceClaim. # noqa: E501 + :param kind: The kind of this V1alpha3ResourceClaim. # noqa: E501 :type: str """ @@ -119,20 +119,20 @@ class V1alpha2ResourceClaim(object): @property def metadata(self): - """Gets the metadata of this V1alpha2ResourceClaim. # noqa: E501 + """Gets the metadata of this V1alpha3ResourceClaim. # noqa: E501 - :return: The metadata of this V1alpha2ResourceClaim. # noqa: E501 + :return: The metadata of this V1alpha3ResourceClaim. # noqa: E501 :rtype: V1ObjectMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClaim. + """Sets the metadata of this V1alpha3ResourceClaim. - :param metadata: The metadata of this V1alpha2ResourceClaim. # noqa: E501 + :param metadata: The metadata of this V1alpha3ResourceClaim. # noqa: E501 :type: V1ObjectMeta """ @@ -140,21 +140,21 @@ class V1alpha2ResourceClaim(object): @property def spec(self): - """Gets the spec of this V1alpha2ResourceClaim. # noqa: E501 + """Gets the spec of this V1alpha3ResourceClaim. # noqa: E501 - :return: The spec of this V1alpha2ResourceClaim. # noqa: E501 - :rtype: V1alpha2ResourceClaimSpec + :return: The spec of this V1alpha3ResourceClaim. # noqa: E501 + :rtype: V1alpha3ResourceClaimSpec """ return self._spec @spec.setter def spec(self, spec): - """Sets the spec of this V1alpha2ResourceClaim. + """Sets the spec of this V1alpha3ResourceClaim. - :param spec: The spec of this V1alpha2ResourceClaim. # noqa: E501 - :type: V1alpha2ResourceClaimSpec + :param spec: The spec of this V1alpha3ResourceClaim. # noqa: E501 + :type: V1alpha3ResourceClaimSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 @@ -163,21 +163,21 @@ class V1alpha2ResourceClaim(object): @property def status(self): - """Gets the status of this V1alpha2ResourceClaim. # noqa: E501 + """Gets the status of this V1alpha3ResourceClaim. # noqa: E501 - :return: The status of this V1alpha2ResourceClaim. # noqa: E501 - :rtype: V1alpha2ResourceClaimStatus + :return: The status of this V1alpha3ResourceClaim. # noqa: E501 + :rtype: V1alpha3ResourceClaimStatus """ return self._status @status.setter def status(self, status): - """Sets the status of this V1alpha2ResourceClaim. + """Sets the status of this V1alpha3ResourceClaim. - :param status: The status of this V1alpha2ResourceClaim. # noqa: E501 - :type: V1alpha2ResourceClaimStatus + :param status: The status of this V1alpha3ResourceClaim. # noqa: E501 + :type: V1alpha3ResourceClaimStatus """ self._status = status @@ -216,14 +216,14 @@ class V1alpha2ResourceClaim(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaim): + if not isinstance(other, V1alpha3ResourceClaim): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaim): + if not isinstance(other, V1alpha3ResourceClaim): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_consumer_reference.py b/kubernetes/client/models/v1alpha3_resource_claim_consumer_reference.py similarity index 81% rename from kubernetes/client/models/v1alpha2_resource_claim_consumer_reference.py rename to kubernetes/client/models/v1alpha3_resource_claim_consumer_reference.py index 35b1257bc..d5dead0c3 100644 --- a/kubernetes/client/models/v1alpha2_resource_claim_consumer_reference.py +++ b/kubernetes/client/models/v1alpha3_resource_claim_consumer_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceClaimConsumerReference(object): +class V1alpha3ResourceClaimConsumerReference(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -47,7 +47,7 @@ class V1alpha2ResourceClaimConsumerReference(object): } def __init__(self, api_group=None, name=None, resource=None, uid=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimConsumerReference - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3ResourceClaimConsumerReference - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -66,22 +66,22 @@ class V1alpha2ResourceClaimConsumerReference(object): @property def api_group(self): - """Gets the api_group of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + """Gets the api_group of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. # noqa: E501 - :return: The api_group of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + :return: The api_group of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 :rtype: str """ return self._api_group @api_group.setter def api_group(self, api_group): - """Sets the api_group of this V1alpha2ResourceClaimConsumerReference. + """Sets the api_group of this V1alpha3ResourceClaimConsumerReference. APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. # noqa: E501 - :param api_group: The api_group of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + :param api_group: The api_group of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 :type: str """ @@ -89,22 +89,22 @@ class V1alpha2ResourceClaimConsumerReference(object): @property def name(self): - """Gets the name of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + """Gets the name of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 Name is the name of resource being referenced. # noqa: E501 - :return: The name of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + :return: The name of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this V1alpha2ResourceClaimConsumerReference. + """Sets the name of this V1alpha3ResourceClaimConsumerReference. Name is the name of resource being referenced. # noqa: E501 - :param name: The name of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + :param name: The name of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 @@ -114,22 +114,22 @@ class V1alpha2ResourceClaimConsumerReference(object): @property def resource(self): - """Gets the resource of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + """Gets the resource of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 Resource is the type of resource being referenced, for example \"pods\". # noqa: E501 - :return: The resource of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + :return: The resource of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 :rtype: str """ return self._resource @resource.setter def resource(self, resource): - """Sets the resource of this V1alpha2ResourceClaimConsumerReference. + """Sets the resource of this V1alpha3ResourceClaimConsumerReference. Resource is the type of resource being referenced, for example \"pods\". # noqa: E501 - :param resource: The resource of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + :param resource: The resource of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and resource is None: # noqa: E501 @@ -139,22 +139,22 @@ class V1alpha2ResourceClaimConsumerReference(object): @property def uid(self): - """Gets the uid of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + """Gets the uid of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 UID identifies exactly one incarnation of the resource. # noqa: E501 - :return: The uid of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + :return: The uid of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 :rtype: str """ return self._uid @uid.setter def uid(self, uid): - """Sets the uid of this V1alpha2ResourceClaimConsumerReference. + """Sets the uid of this V1alpha3ResourceClaimConsumerReference. UID identifies exactly one incarnation of the resource. # noqa: E501 - :param uid: The uid of this V1alpha2ResourceClaimConsumerReference. # noqa: E501 + :param uid: The uid of this V1alpha3ResourceClaimConsumerReference. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and uid is None: # noqa: E501 @@ -196,14 +196,14 @@ class V1alpha2ResourceClaimConsumerReference(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimConsumerReference): + if not isinstance(other, V1alpha3ResourceClaimConsumerReference): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimConsumerReference): + if not isinstance(other, V1alpha3ResourceClaimConsumerReference): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_list.py b/kubernetes/client/models/v1alpha3_resource_claim_list.py similarity index 79% rename from kubernetes/client/models/v1alpha2_resource_claim_list.py rename to kubernetes/client/models/v1alpha3_resource_claim_list.py index af67f77b3..846fd584a 100644 --- a/kubernetes/client/models/v1alpha2_resource_claim_list.py +++ b/kubernetes/client/models/v1alpha3_resource_claim_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceClaimList(object): +class V1alpha3ResourceClaimList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha2ResourceClaimList(object): """ openapi_types = { 'api_version': 'str', - 'items': 'list[V1alpha2ResourceClaim]', + 'items': 'list[V1alpha3ResourceClaim]', 'kind': 'str', 'metadata': 'V1ListMeta' } @@ -47,7 +47,7 @@ class V1alpha2ResourceClaimList(object): } def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimList - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3ResourceClaimList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ class V1alpha2ResourceClaimList(object): @property def api_version(self): - """Gets the api_version of this V1alpha2ResourceClaimList. # noqa: E501 + """Gets the api_version of this V1alpha3ResourceClaimList. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha2ResourceClaimList. # noqa: E501 + :return: The api_version of this V1alpha3ResourceClaimList. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClaimList. + """Sets the api_version of this V1alpha3ResourceClaimList. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha2ResourceClaimList. # noqa: E501 + :param api_version: The api_version of this V1alpha3ResourceClaimList. # noqa: E501 :type: str """ @@ -91,23 +91,23 @@ class V1alpha2ResourceClaimList(object): @property def items(self): - """Gets the items of this V1alpha2ResourceClaimList. # noqa: E501 + """Gets the items of this V1alpha3ResourceClaimList. # noqa: E501 Items is the list of resource claims. # noqa: E501 - :return: The items of this V1alpha2ResourceClaimList. # noqa: E501 - :rtype: list[V1alpha2ResourceClaim] + :return: The items of this V1alpha3ResourceClaimList. # noqa: E501 + :rtype: list[V1alpha3ResourceClaim] """ return self._items @items.setter def items(self, items): - """Sets the items of this V1alpha2ResourceClaimList. + """Sets the items of this V1alpha3ResourceClaimList. Items is the list of resource claims. # noqa: E501 - :param items: The items of this V1alpha2ResourceClaimList. # noqa: E501 - :type: list[V1alpha2ResourceClaim] + :param items: The items of this V1alpha3ResourceClaimList. # noqa: E501 + :type: list[V1alpha3ResourceClaim] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 @@ -116,22 +116,22 @@ class V1alpha2ResourceClaimList(object): @property def kind(self): - """Gets the kind of this V1alpha2ResourceClaimList. # noqa: E501 + """Gets the kind of this V1alpha3ResourceClaimList. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha2ResourceClaimList. # noqa: E501 + :return: The kind of this V1alpha3ResourceClaimList. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClaimList. + """Sets the kind of this V1alpha3ResourceClaimList. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha2ResourceClaimList. # noqa: E501 + :param kind: The kind of this V1alpha3ResourceClaimList. # noqa: E501 :type: str """ @@ -139,20 +139,20 @@ class V1alpha2ResourceClaimList(object): @property def metadata(self): - """Gets the metadata of this V1alpha2ResourceClaimList. # noqa: E501 + """Gets the metadata of this V1alpha3ResourceClaimList. # noqa: E501 - :return: The metadata of this V1alpha2ResourceClaimList. # noqa: E501 + :return: The metadata of this V1alpha3ResourceClaimList. # noqa: E501 :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClaimList. + """Sets the metadata of this V1alpha3ResourceClaimList. - :param metadata: The metadata of this V1alpha2ResourceClaimList. # noqa: E501 + :param metadata: The metadata of this V1alpha3ResourceClaimList. # noqa: E501 :type: V1ListMeta """ @@ -192,14 +192,14 @@ class V1alpha2ResourceClaimList(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimList): + if not isinstance(other, V1alpha3ResourceClaimList): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimList): + if not isinstance(other, V1alpha3ResourceClaimList): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_scheduling_status.py b/kubernetes/client/models/v1alpha3_resource_claim_scheduling_status.py similarity index 80% rename from kubernetes/client/models/v1alpha2_resource_claim_scheduling_status.py rename to kubernetes/client/models/v1alpha3_resource_claim_scheduling_status.py index 52ab2d426..d7c637e04 100644 --- a/kubernetes/client/models/v1alpha2_resource_claim_scheduling_status.py +++ b/kubernetes/client/models/v1alpha3_resource_claim_scheduling_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceClaimSchedulingStatus(object): +class V1alpha3ResourceClaimSchedulingStatus(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -43,7 +43,7 @@ class V1alpha2ResourceClaimSchedulingStatus(object): } def __init__(self, name=None, unsuitable_nodes=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimSchedulingStatus - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3ResourceClaimSchedulingStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -52,52 +52,53 @@ class V1alpha2ResourceClaimSchedulingStatus(object): self._unsuitable_nodes = None self.discriminator = None - if name is not None: - self.name = name + self.name = name if unsuitable_nodes is not None: self.unsuitable_nodes = unsuitable_nodes @property def name(self): - """Gets the name of this V1alpha2ResourceClaimSchedulingStatus. # noqa: E501 + """Gets the name of this V1alpha3ResourceClaimSchedulingStatus. # noqa: E501 Name matches the pod.spec.resourceClaims[*].Name field. # noqa: E501 - :return: The name of this V1alpha2ResourceClaimSchedulingStatus. # noqa: E501 + :return: The name of this V1alpha3ResourceClaimSchedulingStatus. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this V1alpha2ResourceClaimSchedulingStatus. + """Sets the name of this V1alpha3ResourceClaimSchedulingStatus. Name matches the pod.spec.resourceClaims[*].Name field. # noqa: E501 - :param name: The name of this V1alpha2ResourceClaimSchedulingStatus. # noqa: E501 + :param name: The name of this V1alpha3ResourceClaimSchedulingStatus. # noqa: E501 :type: str """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 self._name = name @property def unsuitable_nodes(self): - """Gets the unsuitable_nodes of this V1alpha2ResourceClaimSchedulingStatus. # noqa: E501 + """Gets the unsuitable_nodes of this V1alpha3ResourceClaimSchedulingStatus. # noqa: E501 UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for. The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced. # noqa: E501 - :return: The unsuitable_nodes of this V1alpha2ResourceClaimSchedulingStatus. # noqa: E501 + :return: The unsuitable_nodes of this V1alpha3ResourceClaimSchedulingStatus. # noqa: E501 :rtype: list[str] """ return self._unsuitable_nodes @unsuitable_nodes.setter def unsuitable_nodes(self, unsuitable_nodes): - """Sets the unsuitable_nodes of this V1alpha2ResourceClaimSchedulingStatus. + """Sets the unsuitable_nodes of this V1alpha3ResourceClaimSchedulingStatus. UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for. The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced. # noqa: E501 - :param unsuitable_nodes: The unsuitable_nodes of this V1alpha2ResourceClaimSchedulingStatus. # noqa: E501 + :param unsuitable_nodes: The unsuitable_nodes of this V1alpha3ResourceClaimSchedulingStatus. # noqa: E501 :type: list[str] """ @@ -137,14 +138,14 @@ class V1alpha2ResourceClaimSchedulingStatus(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimSchedulingStatus): + if not isinstance(other, V1alpha3ResourceClaimSchedulingStatus): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimSchedulingStatus): + if not isinstance(other, V1alpha3ResourceClaimSchedulingStatus): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_vendor_parameters.py b/kubernetes/client/models/v1alpha3_resource_claim_spec.py similarity index 50% rename from kubernetes/client/models/v1alpha2_vendor_parameters.py rename to kubernetes/client/models/v1alpha3_resource_claim_spec.py index b0bd91fe2..4c4ee4fcc 100644 --- a/kubernetes/client/models/v1alpha2_vendor_parameters.py +++ b/kubernetes/client/models/v1alpha3_resource_claim_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2VendorParameters(object): +class V1alpha3ResourceClaimSpec(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,75 +33,73 @@ class V1alpha2VendorParameters(object): and the value is json key in definition. """ openapi_types = { - 'driver_name': 'str', - 'parameters': 'object' + 'controller': 'str', + 'devices': 'V1alpha3DeviceClaim' } attribute_map = { - 'driver_name': 'driverName', - 'parameters': 'parameters' + 'controller': 'controller', + 'devices': 'devices' } - def __init__(self, driver_name=None, parameters=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2VendorParameters - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, controller=None, devices=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3ResourceClaimSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration - self._driver_name = None - self._parameters = None + self._controller = None + self._devices = None self.discriminator = None - if driver_name is not None: - self.driver_name = driver_name - if parameters is not None: - self.parameters = parameters + if controller is not None: + self.controller = controller + if devices is not None: + self.devices = devices @property - def driver_name(self): - """Gets the driver_name of this V1alpha2VendorParameters. # noqa: E501 + def controller(self): + """Gets the controller of this V1alpha3ResourceClaimSpec. # noqa: E501 - DriverName is the name used by the DRA driver kubelet plugin. # noqa: E501 + Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. # noqa: E501 - :return: The driver_name of this V1alpha2VendorParameters. # noqa: E501 + :return: The controller of this V1alpha3ResourceClaimSpec. # noqa: E501 :rtype: str """ - return self._driver_name + return self._controller - @driver_name.setter - def driver_name(self, driver_name): - """Sets the driver_name of this V1alpha2VendorParameters. + @controller.setter + def controller(self, controller): + """Sets the controller of this V1alpha3ResourceClaimSpec. - DriverName is the name used by the DRA driver kubelet plugin. # noqa: E501 + Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. # noqa: E501 - :param driver_name: The driver_name of this V1alpha2VendorParameters. # noqa: E501 + :param controller: The controller of this V1alpha3ResourceClaimSpec. # noqa: E501 :type: str """ - self._driver_name = driver_name + self._controller = controller @property - def parameters(self): - """Gets the parameters of this V1alpha2VendorParameters. # noqa: E501 + def devices(self): + """Gets the devices of this V1alpha3ResourceClaimSpec. # noqa: E501 - Parameters can be arbitrary setup parameters. They are ignored while allocating a claim. # noqa: E501 - :return: The parameters of this V1alpha2VendorParameters. # noqa: E501 - :rtype: object + :return: The devices of this V1alpha3ResourceClaimSpec. # noqa: E501 + :rtype: V1alpha3DeviceClaim """ - return self._parameters + return self._devices - @parameters.setter - def parameters(self, parameters): - """Sets the parameters of this V1alpha2VendorParameters. + @devices.setter + def devices(self, devices): + """Sets the devices of this V1alpha3ResourceClaimSpec. - Parameters can be arbitrary setup parameters. They are ignored while allocating a claim. # noqa: E501 - :param parameters: The parameters of this V1alpha2VendorParameters. # noqa: E501 - :type: object + :param devices: The devices of this V1alpha3ResourceClaimSpec. # noqa: E501 + :type: V1alpha3DeviceClaim """ - self._parameters = parameters + self._devices = devices def to_dict(self): """Returns the model properties as a dict""" @@ -137,14 +135,14 @@ class V1alpha2VendorParameters(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2VendorParameters): + if not isinstance(other, V1alpha3ResourceClaimSpec): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2VendorParameters): + if not isinstance(other, V1alpha3ResourceClaimSpec): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_status.py b/kubernetes/client/models/v1alpha3_resource_claim_status.py similarity index 52% rename from kubernetes/client/models/v1alpha2_resource_claim_status.py rename to kubernetes/client/models/v1alpha3_resource_claim_status.py index 624405c61..ec81637ac 100644 --- a/kubernetes/client/models/v1alpha2_resource_claim_status.py +++ b/kubernetes/client/models/v1alpha3_resource_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceClaimStatus(object): +class V1alpha3ResourceClaimStatus(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,28 +33,25 @@ class V1alpha2ResourceClaimStatus(object): and the value is json key in definition. """ openapi_types = { - 'allocation': 'V1alpha2AllocationResult', + 'allocation': 'V1alpha3AllocationResult', 'deallocation_requested': 'bool', - 'driver_name': 'str', - 'reserved_for': 'list[V1alpha2ResourceClaimConsumerReference]' + 'reserved_for': 'list[V1alpha3ResourceClaimConsumerReference]' } attribute_map = { 'allocation': 'allocation', 'deallocation_requested': 'deallocationRequested', - 'driver_name': 'driverName', 'reserved_for': 'reservedFor' } - def __init__(self, allocation=None, deallocation_requested=None, driver_name=None, reserved_for=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimStatus - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, allocation=None, deallocation_requested=None, reserved_for=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3ResourceClaimStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._allocation = None self._deallocation_requested = None - self._driver_name = None self._reserved_for = None self.discriminator = None @@ -62,97 +59,72 @@ class V1alpha2ResourceClaimStatus(object): self.allocation = allocation if deallocation_requested is not None: self.deallocation_requested = deallocation_requested - if driver_name is not None: - self.driver_name = driver_name if reserved_for is not None: self.reserved_for = reserved_for @property def allocation(self): - """Gets the allocation of this V1alpha2ResourceClaimStatus. # noqa: E501 + """Gets the allocation of this V1alpha3ResourceClaimStatus. # noqa: E501 - :return: The allocation of this V1alpha2ResourceClaimStatus. # noqa: E501 - :rtype: V1alpha2AllocationResult + :return: The allocation of this V1alpha3ResourceClaimStatus. # noqa: E501 + :rtype: V1alpha3AllocationResult """ return self._allocation @allocation.setter def allocation(self, allocation): - """Sets the allocation of this V1alpha2ResourceClaimStatus. + """Sets the allocation of this V1alpha3ResourceClaimStatus. - :param allocation: The allocation of this V1alpha2ResourceClaimStatus. # noqa: E501 - :type: V1alpha2AllocationResult + :param allocation: The allocation of this V1alpha3ResourceClaimStatus. # noqa: E501 + :type: V1alpha3AllocationResult """ self._allocation = allocation @property def deallocation_requested(self): - """Gets the deallocation_requested of this V1alpha2ResourceClaimStatus. # noqa: E501 + """Gets the deallocation_requested of this V1alpha3ResourceClaimStatus. # noqa: E501 - DeallocationRequested indicates that a ResourceClaim is to be deallocated. The driver then must deallocate this claim and reset the field together with clearing the Allocation field. While DeallocationRequested is set, no new consumers may be added to ReservedFor. # noqa: E501 + Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor. This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. # noqa: E501 - :return: The deallocation_requested of this V1alpha2ResourceClaimStatus. # noqa: E501 + :return: The deallocation_requested of this V1alpha3ResourceClaimStatus. # noqa: E501 :rtype: bool """ return self._deallocation_requested @deallocation_requested.setter def deallocation_requested(self, deallocation_requested): - """Sets the deallocation_requested of this V1alpha2ResourceClaimStatus. + """Sets the deallocation_requested of this V1alpha3ResourceClaimStatus. - DeallocationRequested indicates that a ResourceClaim is to be deallocated. The driver then must deallocate this claim and reset the field together with clearing the Allocation field. While DeallocationRequested is set, no new consumers may be added to ReservedFor. # noqa: E501 + Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor. This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. # noqa: E501 - :param deallocation_requested: The deallocation_requested of this V1alpha2ResourceClaimStatus. # noqa: E501 + :param deallocation_requested: The deallocation_requested of this V1alpha3ResourceClaimStatus. # noqa: E501 :type: bool """ self._deallocation_requested = deallocation_requested - @property - def driver_name(self): - """Gets the driver_name of this V1alpha2ResourceClaimStatus. # noqa: E501 - - DriverName is a copy of the driver name from the ResourceClass at the time when allocation started. # noqa: E501 - - :return: The driver_name of this V1alpha2ResourceClaimStatus. # noqa: E501 - :rtype: str - """ - return self._driver_name - - @driver_name.setter - def driver_name(self, driver_name): - """Sets the driver_name of this V1alpha2ResourceClaimStatus. - - DriverName is a copy of the driver name from the ResourceClass at the time when allocation started. # noqa: E501 - - :param driver_name: The driver_name of this V1alpha2ResourceClaimStatus. # noqa: E501 - :type: str - """ - - self._driver_name = driver_name - @property def reserved_for(self): - """Gets the reserved_for of this V1alpha2ResourceClaimStatus. # noqa: E501 + """Gets the reserved_for of this V1alpha3ResourceClaimStatus. # noqa: E501 - ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. There can be at most 32 such reservations. This may get increased in the future, but not reduced. # noqa: E501 + ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled. Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again. There can be at most 32 such reservations. This may get increased in the future, but not reduced. # noqa: E501 - :return: The reserved_for of this V1alpha2ResourceClaimStatus. # noqa: E501 - :rtype: list[V1alpha2ResourceClaimConsumerReference] + :return: The reserved_for of this V1alpha3ResourceClaimStatus. # noqa: E501 + :rtype: list[V1alpha3ResourceClaimConsumerReference] """ return self._reserved_for @reserved_for.setter def reserved_for(self, reserved_for): - """Sets the reserved_for of this V1alpha2ResourceClaimStatus. + """Sets the reserved_for of this V1alpha3ResourceClaimStatus. - ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. There can be at most 32 such reservations. This may get increased in the future, but not reduced. # noqa: E501 + ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled. Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again. There can be at most 32 such reservations. This may get increased in the future, but not reduced. # noqa: E501 - :param reserved_for: The reserved_for of this V1alpha2ResourceClaimStatus. # noqa: E501 - :type: list[V1alpha2ResourceClaimConsumerReference] + :param reserved_for: The reserved_for of this V1alpha3ResourceClaimStatus. # noqa: E501 + :type: list[V1alpha3ResourceClaimConsumerReference] """ self._reserved_for = reserved_for @@ -191,14 +163,14 @@ class V1alpha2ResourceClaimStatus(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimStatus): + if not isinstance(other, V1alpha3ResourceClaimStatus): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimStatus): + if not isinstance(other, V1alpha3ResourceClaimStatus): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_template.py b/kubernetes/client/models/v1alpha3_resource_claim_template.py similarity index 79% rename from kubernetes/client/models/v1alpha2_resource_claim_template.py rename to kubernetes/client/models/v1alpha3_resource_claim_template.py index de6d86cda..0ec6a2d30 100644 --- a/kubernetes/client/models/v1alpha2_resource_claim_template.py +++ b/kubernetes/client/models/v1alpha3_resource_claim_template.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceClaimTemplate(object): +class V1alpha3ResourceClaimTemplate(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,7 +36,7 @@ class V1alpha2ResourceClaimTemplate(object): 'api_version': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', - 'spec': 'V1alpha2ResourceClaimTemplateSpec' + 'spec': 'V1alpha3ResourceClaimTemplateSpec' } attribute_map = { @@ -47,7 +47,7 @@ class V1alpha2ResourceClaimTemplate(object): } def __init__(self, api_version=None, kind=None, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimTemplate - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3ResourceClaimTemplate - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ class V1alpha2ResourceClaimTemplate(object): @property def api_version(self): - """Gets the api_version of this V1alpha2ResourceClaimTemplate. # noqa: E501 + """Gets the api_version of this V1alpha3ResourceClaimTemplate. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha2ResourceClaimTemplate. # noqa: E501 + :return: The api_version of this V1alpha3ResourceClaimTemplate. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClaimTemplate. + """Sets the api_version of this V1alpha3ResourceClaimTemplate. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha2ResourceClaimTemplate. # noqa: E501 + :param api_version: The api_version of this V1alpha3ResourceClaimTemplate. # noqa: E501 :type: str """ @@ -91,22 +91,22 @@ class V1alpha2ResourceClaimTemplate(object): @property def kind(self): - """Gets the kind of this V1alpha2ResourceClaimTemplate. # noqa: E501 + """Gets the kind of this V1alpha3ResourceClaimTemplate. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha2ResourceClaimTemplate. # noqa: E501 + :return: The kind of this V1alpha3ResourceClaimTemplate. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClaimTemplate. + """Sets the kind of this V1alpha3ResourceClaimTemplate. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha2ResourceClaimTemplate. # noqa: E501 + :param kind: The kind of this V1alpha3ResourceClaimTemplate. # noqa: E501 :type: str """ @@ -114,20 +114,20 @@ class V1alpha2ResourceClaimTemplate(object): @property def metadata(self): - """Gets the metadata of this V1alpha2ResourceClaimTemplate. # noqa: E501 + """Gets the metadata of this V1alpha3ResourceClaimTemplate. # noqa: E501 - :return: The metadata of this V1alpha2ResourceClaimTemplate. # noqa: E501 + :return: The metadata of this V1alpha3ResourceClaimTemplate. # noqa: E501 :rtype: V1ObjectMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClaimTemplate. + """Sets the metadata of this V1alpha3ResourceClaimTemplate. - :param metadata: The metadata of this V1alpha2ResourceClaimTemplate. # noqa: E501 + :param metadata: The metadata of this V1alpha3ResourceClaimTemplate. # noqa: E501 :type: V1ObjectMeta """ @@ -135,21 +135,21 @@ class V1alpha2ResourceClaimTemplate(object): @property def spec(self): - """Gets the spec of this V1alpha2ResourceClaimTemplate. # noqa: E501 + """Gets the spec of this V1alpha3ResourceClaimTemplate. # noqa: E501 - :return: The spec of this V1alpha2ResourceClaimTemplate. # noqa: E501 - :rtype: V1alpha2ResourceClaimTemplateSpec + :return: The spec of this V1alpha3ResourceClaimTemplate. # noqa: E501 + :rtype: V1alpha3ResourceClaimTemplateSpec """ return self._spec @spec.setter def spec(self, spec): - """Sets the spec of this V1alpha2ResourceClaimTemplate. + """Sets the spec of this V1alpha3ResourceClaimTemplate. - :param spec: The spec of this V1alpha2ResourceClaimTemplate. # noqa: E501 - :type: V1alpha2ResourceClaimTemplateSpec + :param spec: The spec of this V1alpha3ResourceClaimTemplate. # noqa: E501 + :type: V1alpha3ResourceClaimTemplateSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 @@ -190,14 +190,14 @@ class V1alpha2ResourceClaimTemplate(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimTemplate): + if not isinstance(other, V1alpha3ResourceClaimTemplate): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimTemplate): + if not isinstance(other, V1alpha3ResourceClaimTemplate): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_template_list.py b/kubernetes/client/models/v1alpha3_resource_claim_template_list.py similarity index 79% rename from kubernetes/client/models/v1alpha2_resource_claim_template_list.py rename to kubernetes/client/models/v1alpha3_resource_claim_template_list.py index 30615b481..f6feab862 100644 --- a/kubernetes/client/models/v1alpha2_resource_claim_template_list.py +++ b/kubernetes/client/models/v1alpha3_resource_claim_template_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceClaimTemplateList(object): +class V1alpha3ResourceClaimTemplateList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha2ResourceClaimTemplateList(object): """ openapi_types = { 'api_version': 'str', - 'items': 'list[V1alpha2ResourceClaimTemplate]', + 'items': 'list[V1alpha3ResourceClaimTemplate]', 'kind': 'str', 'metadata': 'V1ListMeta' } @@ -47,7 +47,7 @@ class V1alpha2ResourceClaimTemplateList(object): } def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimTemplateList - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3ResourceClaimTemplateList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ class V1alpha2ResourceClaimTemplateList(object): @property def api_version(self): - """Gets the api_version of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + """Gets the api_version of this V1alpha3ResourceClaimTemplateList. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + :return: The api_version of this V1alpha3ResourceClaimTemplateList. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceClaimTemplateList. + """Sets the api_version of this V1alpha3ResourceClaimTemplateList. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + :param api_version: The api_version of this V1alpha3ResourceClaimTemplateList. # noqa: E501 :type: str """ @@ -91,23 +91,23 @@ class V1alpha2ResourceClaimTemplateList(object): @property def items(self): - """Gets the items of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + """Gets the items of this V1alpha3ResourceClaimTemplateList. # noqa: E501 Items is the list of resource claim templates. # noqa: E501 - :return: The items of this V1alpha2ResourceClaimTemplateList. # noqa: E501 - :rtype: list[V1alpha2ResourceClaimTemplate] + :return: The items of this V1alpha3ResourceClaimTemplateList. # noqa: E501 + :rtype: list[V1alpha3ResourceClaimTemplate] """ return self._items @items.setter def items(self, items): - """Sets the items of this V1alpha2ResourceClaimTemplateList. + """Sets the items of this V1alpha3ResourceClaimTemplateList. Items is the list of resource claim templates. # noqa: E501 - :param items: The items of this V1alpha2ResourceClaimTemplateList. # noqa: E501 - :type: list[V1alpha2ResourceClaimTemplate] + :param items: The items of this V1alpha3ResourceClaimTemplateList. # noqa: E501 + :type: list[V1alpha3ResourceClaimTemplate] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 @@ -116,22 +116,22 @@ class V1alpha2ResourceClaimTemplateList(object): @property def kind(self): - """Gets the kind of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + """Gets the kind of this V1alpha3ResourceClaimTemplateList. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + :return: The kind of this V1alpha3ResourceClaimTemplateList. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha2ResourceClaimTemplateList. + """Sets the kind of this V1alpha3ResourceClaimTemplateList. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + :param kind: The kind of this V1alpha3ResourceClaimTemplateList. # noqa: E501 :type: str """ @@ -139,20 +139,20 @@ class V1alpha2ResourceClaimTemplateList(object): @property def metadata(self): - """Gets the metadata of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + """Gets the metadata of this V1alpha3ResourceClaimTemplateList. # noqa: E501 - :return: The metadata of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + :return: The metadata of this V1alpha3ResourceClaimTemplateList. # noqa: E501 :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClaimTemplateList. + """Sets the metadata of this V1alpha3ResourceClaimTemplateList. - :param metadata: The metadata of this V1alpha2ResourceClaimTemplateList. # noqa: E501 + :param metadata: The metadata of this V1alpha3ResourceClaimTemplateList. # noqa: E501 :type: V1ListMeta """ @@ -192,14 +192,14 @@ class V1alpha2ResourceClaimTemplateList(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimTemplateList): + if not isinstance(other, V1alpha3ResourceClaimTemplateList): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimTemplateList): + if not isinstance(other, V1alpha3ResourceClaimTemplateList): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_claim_template_spec.py b/kubernetes/client/models/v1alpha3_resource_claim_template_spec.py similarity index 78% rename from kubernetes/client/models/v1alpha2_resource_claim_template_spec.py rename to kubernetes/client/models/v1alpha3_resource_claim_template_spec.py index c3b26fcd5..2af22db42 100644 --- a/kubernetes/client/models/v1alpha2_resource_claim_template_spec.py +++ b/kubernetes/client/models/v1alpha3_resource_claim_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceClaimTemplateSpec(object): +class V1alpha3ResourceClaimTemplateSpec(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha2ResourceClaimTemplateSpec(object): """ openapi_types = { 'metadata': 'V1ObjectMeta', - 'spec': 'V1alpha2ResourceClaimSpec' + 'spec': 'V1alpha3ResourceClaimSpec' } attribute_map = { @@ -43,7 +43,7 @@ class V1alpha2ResourceClaimTemplateSpec(object): } def __init__(self, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceClaimTemplateSpec - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3ResourceClaimTemplateSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -58,20 +58,20 @@ class V1alpha2ResourceClaimTemplateSpec(object): @property def metadata(self): - """Gets the metadata of this V1alpha2ResourceClaimTemplateSpec. # noqa: E501 + """Gets the metadata of this V1alpha3ResourceClaimTemplateSpec. # noqa: E501 - :return: The metadata of this V1alpha2ResourceClaimTemplateSpec. # noqa: E501 + :return: The metadata of this V1alpha3ResourceClaimTemplateSpec. # noqa: E501 :rtype: V1ObjectMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceClaimTemplateSpec. + """Sets the metadata of this V1alpha3ResourceClaimTemplateSpec. - :param metadata: The metadata of this V1alpha2ResourceClaimTemplateSpec. # noqa: E501 + :param metadata: The metadata of this V1alpha3ResourceClaimTemplateSpec. # noqa: E501 :type: V1ObjectMeta """ @@ -79,21 +79,21 @@ class V1alpha2ResourceClaimTemplateSpec(object): @property def spec(self): - """Gets the spec of this V1alpha2ResourceClaimTemplateSpec. # noqa: E501 + """Gets the spec of this V1alpha3ResourceClaimTemplateSpec. # noqa: E501 - :return: The spec of this V1alpha2ResourceClaimTemplateSpec. # noqa: E501 - :rtype: V1alpha2ResourceClaimSpec + :return: The spec of this V1alpha3ResourceClaimTemplateSpec. # noqa: E501 + :rtype: V1alpha3ResourceClaimSpec """ return self._spec @spec.setter def spec(self, spec): - """Sets the spec of this V1alpha2ResourceClaimTemplateSpec. + """Sets the spec of this V1alpha3ResourceClaimTemplateSpec. - :param spec: The spec of this V1alpha2ResourceClaimTemplateSpec. # noqa: E501 - :type: V1alpha2ResourceClaimSpec + :param spec: The spec of this V1alpha3ResourceClaimTemplateSpec. # noqa: E501 + :type: V1alpha3ResourceClaimSpec """ if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 @@ -134,14 +134,14 @@ class V1alpha2ResourceClaimTemplateSpec(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceClaimTemplateSpec): + if not isinstance(other, V1alpha3ResourceClaimTemplateSpec): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceClaimTemplateSpec): + if not isinstance(other, V1alpha3ResourceClaimTemplateSpec): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_resource_pool.py b/kubernetes/client/models/v1alpha3_resource_pool.py new file mode 100644 index 000000000..8a4637db8 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_resource_pool.py @@ -0,0 +1,181 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3ResourcePool(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'generation': 'int', + 'name': 'str', + 'resource_slice_count': 'int' + } + + attribute_map = { + 'generation': 'generation', + 'name': 'name', + 'resource_slice_count': 'resourceSliceCount' + } + + def __init__(self, generation=None, name=None, resource_slice_count=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3ResourcePool - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._generation = None + self._name = None + self._resource_slice_count = None + self.discriminator = None + + self.generation = generation + self.name = name + self.resource_slice_count = resource_slice_count + + @property + def generation(self): + """Gets the generation of this V1alpha3ResourcePool. # noqa: E501 + + Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted. Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state. # noqa: E501 + + :return: The generation of this V1alpha3ResourcePool. # noqa: E501 + :rtype: int + """ + return self._generation + + @generation.setter + def generation(self, generation): + """Sets the generation of this V1alpha3ResourcePool. + + Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted. Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state. # noqa: E501 + + :param generation: The generation of this V1alpha3ResourcePool. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and generation is None: # noqa: E501 + raise ValueError("Invalid value for `generation`, must not be `None`") # noqa: E501 + + self._generation = generation + + @property + def name(self): + """Gets the name of this V1alpha3ResourcePool. # noqa: E501 + + Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required. It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable. # noqa: E501 + + :return: The name of this V1alpha3ResourcePool. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1alpha3ResourcePool. + + Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required. It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable. # noqa: E501 + + :param name: The name of this V1alpha3ResourcePool. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def resource_slice_count(self): + """Gets the resource_slice_count of this V1alpha3ResourcePool. # noqa: E501 + + ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool. # noqa: E501 + + :return: The resource_slice_count of this V1alpha3ResourcePool. # noqa: E501 + :rtype: int + """ + return self._resource_slice_count + + @resource_slice_count.setter + def resource_slice_count(self, resource_slice_count): + """Sets the resource_slice_count of this V1alpha3ResourcePool. + + ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool. # noqa: E501 + + :param resource_slice_count: The resource_slice_count of this V1alpha3ResourcePool. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and resource_slice_count is None: # noqa: E501 + raise ValueError("Invalid value for `resource_slice_count`, must not be `None`") # noqa: E501 + + self._resource_slice_count = resource_slice_count + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3ResourcePool): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3ResourcePool): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_resource_slice.py b/kubernetes/client/models/v1alpha3_resource_slice.py new file mode 100644 index 000000000..5e86bf2d8 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_resource_slice.py @@ -0,0 +1,203 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3ResourceSlice(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1alpha3ResourceSliceSpec' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3ResourceSlice - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + + @property + def api_version(self): + """Gets the api_version of this V1alpha3ResourceSlice. # noqa: E501 + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1alpha3ResourceSlice. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha3ResourceSlice. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1alpha3ResourceSlice. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1alpha3ResourceSlice. # noqa: E501 + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1alpha3ResourceSlice. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha3ResourceSlice. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1alpha3ResourceSlice. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha3ResourceSlice. # noqa: E501 + + + :return: The metadata of this V1alpha3ResourceSlice. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha3ResourceSlice. + + + :param metadata: The metadata of this V1alpha3ResourceSlice. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1alpha3ResourceSlice. # noqa: E501 + + + :return: The spec of this V1alpha3ResourceSlice. # noqa: E501 + :rtype: V1alpha3ResourceSliceSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1alpha3ResourceSlice. + + + :param spec: The spec of this V1alpha3ResourceSlice. # noqa: E501 + :type: V1alpha3ResourceSliceSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3ResourceSlice): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3ResourceSlice): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha2_resource_slice_list.py b/kubernetes/client/models/v1alpha3_resource_slice_list.py similarity index 77% rename from kubernetes/client/models/v1alpha2_resource_slice_list.py rename to kubernetes/client/models/v1alpha3_resource_slice_list.py index 05a784496..815f072f8 100644 --- a/kubernetes/client/models/v1alpha2_resource_slice_list.py +++ b/kubernetes/client/models/v1alpha3_resource_slice_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceSliceList(object): +class V1alpha3ResourceSliceList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha2ResourceSliceList(object): """ openapi_types = { 'api_version': 'str', - 'items': 'list[V1alpha2ResourceSlice]', + 'items': 'list[V1alpha3ResourceSlice]', 'kind': 'str', 'metadata': 'V1ListMeta' } @@ -47,7 +47,7 @@ class V1alpha2ResourceSliceList(object): } def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceSliceList - a model defined in OpenAPI""" # noqa: E501 + """V1alpha3ResourceSliceList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ class V1alpha2ResourceSliceList(object): @property def api_version(self): - """Gets the api_version of this V1alpha2ResourceSliceList. # noqa: E501 + """Gets the api_version of this V1alpha3ResourceSliceList. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha2ResourceSliceList. # noqa: E501 + :return: The api_version of this V1alpha3ResourceSliceList. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceSliceList. + """Sets the api_version of this V1alpha3ResourceSliceList. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha2ResourceSliceList. # noqa: E501 + :param api_version: The api_version of this V1alpha3ResourceSliceList. # noqa: E501 :type: str """ @@ -91,23 +91,23 @@ class V1alpha2ResourceSliceList(object): @property def items(self): - """Gets the items of this V1alpha2ResourceSliceList. # noqa: E501 + """Gets the items of this V1alpha3ResourceSliceList. # noqa: E501 - Items is the list of node resource capacity objects. # noqa: E501 + Items is the list of resource ResourceSlices. # noqa: E501 - :return: The items of this V1alpha2ResourceSliceList. # noqa: E501 - :rtype: list[V1alpha2ResourceSlice] + :return: The items of this V1alpha3ResourceSliceList. # noqa: E501 + :rtype: list[V1alpha3ResourceSlice] """ return self._items @items.setter def items(self, items): - """Sets the items of this V1alpha2ResourceSliceList. + """Sets the items of this V1alpha3ResourceSliceList. - Items is the list of node resource capacity objects. # noqa: E501 + Items is the list of resource ResourceSlices. # noqa: E501 - :param items: The items of this V1alpha2ResourceSliceList. # noqa: E501 - :type: list[V1alpha2ResourceSlice] + :param items: The items of this V1alpha3ResourceSliceList. # noqa: E501 + :type: list[V1alpha3ResourceSlice] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 @@ -116,22 +116,22 @@ class V1alpha2ResourceSliceList(object): @property def kind(self): - """Gets the kind of this V1alpha2ResourceSliceList. # noqa: E501 + """Gets the kind of this V1alpha3ResourceSliceList. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha2ResourceSliceList. # noqa: E501 + :return: The kind of this V1alpha3ResourceSliceList. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha2ResourceSliceList. + """Sets the kind of this V1alpha3ResourceSliceList. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha2ResourceSliceList. # noqa: E501 + :param kind: The kind of this V1alpha3ResourceSliceList. # noqa: E501 :type: str """ @@ -139,20 +139,20 @@ class V1alpha2ResourceSliceList(object): @property def metadata(self): - """Gets the metadata of this V1alpha2ResourceSliceList. # noqa: E501 + """Gets the metadata of this V1alpha3ResourceSliceList. # noqa: E501 - :return: The metadata of this V1alpha2ResourceSliceList. # noqa: E501 + :return: The metadata of this V1alpha3ResourceSliceList. # noqa: E501 :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceSliceList. + """Sets the metadata of this V1alpha3ResourceSliceList. - :param metadata: The metadata of this V1alpha2ResourceSliceList. # noqa: E501 + :param metadata: The metadata of this V1alpha3ResourceSliceList. # noqa: E501 :type: V1ListMeta """ @@ -192,14 +192,14 @@ class V1alpha2ResourceSliceList(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceSliceList): + if not isinstance(other, V1alpha3ResourceSliceList): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceSliceList): + if not isinstance(other, V1alpha3ResourceSliceList): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha3_resource_slice_spec.py b/kubernetes/client/models/v1alpha3_resource_slice_spec.py new file mode 100644 index 000000000..4205d09b7 --- /dev/null +++ b/kubernetes/client/models/v1alpha3_resource_slice_spec.py @@ -0,0 +1,260 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha3ResourceSliceSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'all_nodes': 'bool', + 'devices': 'list[V1alpha3Device]', + 'driver': 'str', + 'node_name': 'str', + 'node_selector': 'V1NodeSelector', + 'pool': 'V1alpha3ResourcePool' + } + + attribute_map = { + 'all_nodes': 'allNodes', + 'devices': 'devices', + 'driver': 'driver', + 'node_name': 'nodeName', + 'node_selector': 'nodeSelector', + 'pool': 'pool' + } + + def __init__(self, all_nodes=None, devices=None, driver=None, node_name=None, node_selector=None, pool=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3ResourceSliceSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._all_nodes = None + self._devices = None + self._driver = None + self._node_name = None + self._node_selector = None + self._pool = None + self.discriminator = None + + if all_nodes is not None: + self.all_nodes = all_nodes + if devices is not None: + self.devices = devices + self.driver = driver + if node_name is not None: + self.node_name = node_name + if node_selector is not None: + self.node_selector = node_selector + self.pool = pool + + @property + def all_nodes(self): + """Gets the all_nodes of this V1alpha3ResourceSliceSpec. # noqa: E501 + + AllNodes indicates that all nodes have access to the resources in the pool. Exactly one of NodeName, NodeSelector and AllNodes must be set. # noqa: E501 + + :return: The all_nodes of this V1alpha3ResourceSliceSpec. # noqa: E501 + :rtype: bool + """ + return self._all_nodes + + @all_nodes.setter + def all_nodes(self, all_nodes): + """Sets the all_nodes of this V1alpha3ResourceSliceSpec. + + AllNodes indicates that all nodes have access to the resources in the pool. Exactly one of NodeName, NodeSelector and AllNodes must be set. # noqa: E501 + + :param all_nodes: The all_nodes of this V1alpha3ResourceSliceSpec. # noqa: E501 + :type: bool + """ + + self._all_nodes = all_nodes + + @property + def devices(self): + """Gets the devices of this V1alpha3ResourceSliceSpec. # noqa: E501 + + Devices lists some or all of the devices in this pool. Must not have more than 128 entries. # noqa: E501 + + :return: The devices of this V1alpha3ResourceSliceSpec. # noqa: E501 + :rtype: list[V1alpha3Device] + """ + return self._devices + + @devices.setter + def devices(self, devices): + """Sets the devices of this V1alpha3ResourceSliceSpec. + + Devices lists some or all of the devices in this pool. Must not have more than 128 entries. # noqa: E501 + + :param devices: The devices of this V1alpha3ResourceSliceSpec. # noqa: E501 + :type: list[V1alpha3Device] + """ + + self._devices = devices + + @property + def driver(self): + """Gets the driver of this V1alpha3ResourceSliceSpec. # noqa: E501 + + Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable. # noqa: E501 + + :return: The driver of this V1alpha3ResourceSliceSpec. # noqa: E501 + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """Sets the driver of this V1alpha3ResourceSliceSpec. + + Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable. # noqa: E501 + + :param driver: The driver of this V1alpha3ResourceSliceSpec. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and driver is None: # noqa: E501 + raise ValueError("Invalid value for `driver`, must not be `None`") # noqa: E501 + + self._driver = driver + + @property + def node_name(self): + """Gets the node_name of this V1alpha3ResourceSliceSpec. # noqa: E501 + + NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node. This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available. Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable. # noqa: E501 + + :return: The node_name of this V1alpha3ResourceSliceSpec. # noqa: E501 + :rtype: str + """ + return self._node_name + + @node_name.setter + def node_name(self, node_name): + """Sets the node_name of this V1alpha3ResourceSliceSpec. + + NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node. This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available. Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable. # noqa: E501 + + :param node_name: The node_name of this V1alpha3ResourceSliceSpec. # noqa: E501 + :type: str + """ + + self._node_name = node_name + + @property + def node_selector(self): + """Gets the node_selector of this V1alpha3ResourceSliceSpec. # noqa: E501 + + + :return: The node_selector of this V1alpha3ResourceSliceSpec. # noqa: E501 + :rtype: V1NodeSelector + """ + return self._node_selector + + @node_selector.setter + def node_selector(self, node_selector): + """Sets the node_selector of this V1alpha3ResourceSliceSpec. + + + :param node_selector: The node_selector of this V1alpha3ResourceSliceSpec. # noqa: E501 + :type: V1NodeSelector + """ + + self._node_selector = node_selector + + @property + def pool(self): + """Gets the pool of this V1alpha3ResourceSliceSpec. # noqa: E501 + + + :return: The pool of this V1alpha3ResourceSliceSpec. # noqa: E501 + :rtype: V1alpha3ResourcePool + """ + return self._pool + + @pool.setter + def pool(self, pool): + """Sets the pool of this V1alpha3ResourceSliceSpec. + + + :param pool: The pool of this V1alpha3ResourceSliceSpec. # noqa: E501 + :type: V1alpha3ResourcePool + """ + if self.local_vars_configuration.client_side_validation and pool is None: # noqa: E501 + raise ValueError("Invalid value for `pool`, must not be `None`") # noqa: E501 + + self._pool = pool + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha3ResourceSliceSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha3ResourceSliceSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1beta1_audit_annotation.py b/kubernetes/client/models/v1beta1_audit_annotation.py index e4df2b31a..a0b1b572d 100644 --- a/kubernetes/client/models/v1beta1_audit_annotation.py +++ b/kubernetes/client/models/v1beta1_audit_annotation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_expression_warning.py b/kubernetes/client/models/v1beta1_expression_warning.py index 21ab15aef..8e179c0d9 100644 --- a/kubernetes/client/models/v1beta1_expression_warning.py +++ b/kubernetes/client/models/v1beta1_expression_warning.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_ip_address.py b/kubernetes/client/models/v1beta1_ip_address.py similarity index 78% rename from kubernetes/client/models/v1alpha1_ip_address.py rename to kubernetes/client/models/v1beta1_ip_address.py index f7aca23ef..00f6bee0c 100644 --- a/kubernetes/client/models/v1alpha1_ip_address.py +++ b/kubernetes/client/models/v1beta1_ip_address.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha1IPAddress(object): +class V1beta1IPAddress(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,7 +36,7 @@ class V1alpha1IPAddress(object): 'api_version': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', - 'spec': 'V1alpha1IPAddressSpec' + 'spec': 'V1beta1IPAddressSpec' } attribute_map = { @@ -47,7 +47,7 @@ class V1alpha1IPAddress(object): } def __init__(self, api_version=None, kind=None, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1IPAddress - a model defined in OpenAPI""" # noqa: E501 + """V1beta1IPAddress - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -69,22 +69,22 @@ class V1alpha1IPAddress(object): @property def api_version(self): - """Gets the api_version of this V1alpha1IPAddress. # noqa: E501 + """Gets the api_version of this V1beta1IPAddress. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha1IPAddress. # noqa: E501 + :return: The api_version of this V1beta1IPAddress. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha1IPAddress. + """Sets the api_version of this V1beta1IPAddress. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha1IPAddress. # noqa: E501 + :param api_version: The api_version of this V1beta1IPAddress. # noqa: E501 :type: str """ @@ -92,22 +92,22 @@ class V1alpha1IPAddress(object): @property def kind(self): - """Gets the kind of this V1alpha1IPAddress. # noqa: E501 + """Gets the kind of this V1beta1IPAddress. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha1IPAddress. # noqa: E501 + :return: The kind of this V1beta1IPAddress. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha1IPAddress. + """Sets the kind of this V1beta1IPAddress. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha1IPAddress. # noqa: E501 + :param kind: The kind of this V1beta1IPAddress. # noqa: E501 :type: str """ @@ -115,20 +115,20 @@ class V1alpha1IPAddress(object): @property def metadata(self): - """Gets the metadata of this V1alpha1IPAddress. # noqa: E501 + """Gets the metadata of this V1beta1IPAddress. # noqa: E501 - :return: The metadata of this V1alpha1IPAddress. # noqa: E501 + :return: The metadata of this V1beta1IPAddress. # noqa: E501 :rtype: V1ObjectMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha1IPAddress. + """Sets the metadata of this V1beta1IPAddress. - :param metadata: The metadata of this V1alpha1IPAddress. # noqa: E501 + :param metadata: The metadata of this V1beta1IPAddress. # noqa: E501 :type: V1ObjectMeta """ @@ -136,21 +136,21 @@ class V1alpha1IPAddress(object): @property def spec(self): - """Gets the spec of this V1alpha1IPAddress. # noqa: E501 + """Gets the spec of this V1beta1IPAddress. # noqa: E501 - :return: The spec of this V1alpha1IPAddress. # noqa: E501 - :rtype: V1alpha1IPAddressSpec + :return: The spec of this V1beta1IPAddress. # noqa: E501 + :rtype: V1beta1IPAddressSpec """ return self._spec @spec.setter def spec(self, spec): - """Sets the spec of this V1alpha1IPAddress. + """Sets the spec of this V1beta1IPAddress. - :param spec: The spec of this V1alpha1IPAddress. # noqa: E501 - :type: V1alpha1IPAddressSpec + :param spec: The spec of this V1beta1IPAddress. # noqa: E501 + :type: V1beta1IPAddressSpec """ self._spec = spec @@ -189,14 +189,14 @@ class V1alpha1IPAddress(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1IPAddress): + if not isinstance(other, V1beta1IPAddress): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1IPAddress): + if not isinstance(other, V1beta1IPAddress): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_ip_address_list.py b/kubernetes/client/models/v1beta1_ip_address_list.py similarity index 78% rename from kubernetes/client/models/v1alpha1_ip_address_list.py rename to kubernetes/client/models/v1beta1_ip_address_list.py index aa5c5d447..ba1b02521 100644 --- a/kubernetes/client/models/v1alpha1_ip_address_list.py +++ b/kubernetes/client/models/v1beta1_ip_address_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha1IPAddressList(object): +class V1beta1IPAddressList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha1IPAddressList(object): """ openapi_types = { 'api_version': 'str', - 'items': 'list[V1alpha1IPAddress]', + 'items': 'list[V1beta1IPAddress]', 'kind': 'str', 'metadata': 'V1ListMeta' } @@ -47,7 +47,7 @@ class V1alpha1IPAddressList(object): } def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1IPAddressList - a model defined in OpenAPI""" # noqa: E501 + """V1beta1IPAddressList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ class V1alpha1IPAddressList(object): @property def api_version(self): - """Gets the api_version of this V1alpha1IPAddressList. # noqa: E501 + """Gets the api_version of this V1beta1IPAddressList. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha1IPAddressList. # noqa: E501 + :return: The api_version of this V1beta1IPAddressList. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha1IPAddressList. + """Sets the api_version of this V1beta1IPAddressList. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha1IPAddressList. # noqa: E501 + :param api_version: The api_version of this V1beta1IPAddressList. # noqa: E501 :type: str """ @@ -91,23 +91,23 @@ class V1alpha1IPAddressList(object): @property def items(self): - """Gets the items of this V1alpha1IPAddressList. # noqa: E501 + """Gets the items of this V1beta1IPAddressList. # noqa: E501 items is the list of IPAddresses. # noqa: E501 - :return: The items of this V1alpha1IPAddressList. # noqa: E501 - :rtype: list[V1alpha1IPAddress] + :return: The items of this V1beta1IPAddressList. # noqa: E501 + :rtype: list[V1beta1IPAddress] """ return self._items @items.setter def items(self, items): - """Sets the items of this V1alpha1IPAddressList. + """Sets the items of this V1beta1IPAddressList. items is the list of IPAddresses. # noqa: E501 - :param items: The items of this V1alpha1IPAddressList. # noqa: E501 - :type: list[V1alpha1IPAddress] + :param items: The items of this V1beta1IPAddressList. # noqa: E501 + :type: list[V1beta1IPAddress] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 @@ -116,22 +116,22 @@ class V1alpha1IPAddressList(object): @property def kind(self): - """Gets the kind of this V1alpha1IPAddressList. # noqa: E501 + """Gets the kind of this V1beta1IPAddressList. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha1IPAddressList. # noqa: E501 + :return: The kind of this V1beta1IPAddressList. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha1IPAddressList. + """Sets the kind of this V1beta1IPAddressList. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha1IPAddressList. # noqa: E501 + :param kind: The kind of this V1beta1IPAddressList. # noqa: E501 :type: str """ @@ -139,20 +139,20 @@ class V1alpha1IPAddressList(object): @property def metadata(self): - """Gets the metadata of this V1alpha1IPAddressList. # noqa: E501 + """Gets the metadata of this V1beta1IPAddressList. # noqa: E501 - :return: The metadata of this V1alpha1IPAddressList. # noqa: E501 + :return: The metadata of this V1beta1IPAddressList. # noqa: E501 :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha1IPAddressList. + """Sets the metadata of this V1beta1IPAddressList. - :param metadata: The metadata of this V1alpha1IPAddressList. # noqa: E501 + :param metadata: The metadata of this V1beta1IPAddressList. # noqa: E501 :type: V1ListMeta """ @@ -192,14 +192,14 @@ class V1alpha1IPAddressList(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1IPAddressList): + if not isinstance(other, V1beta1IPAddressList): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1IPAddressList): + if not isinstance(other, V1beta1IPAddressList): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_ip_address_spec.py b/kubernetes/client/models/v1beta1_ip_address_spec.py similarity index 80% rename from kubernetes/client/models/v1alpha1_ip_address_spec.py rename to kubernetes/client/models/v1beta1_ip_address_spec.py index 920e24e29..774361a6a 100644 --- a/kubernetes/client/models/v1alpha1_ip_address_spec.py +++ b/kubernetes/client/models/v1beta1_ip_address_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha1IPAddressSpec(object): +class V1beta1IPAddressSpec(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,7 +33,7 @@ class V1alpha1IPAddressSpec(object): and the value is json key in definition. """ openapi_types = { - 'parent_ref': 'V1alpha1ParentReference' + 'parent_ref': 'V1beta1ParentReference' } attribute_map = { @@ -41,7 +41,7 @@ class V1alpha1IPAddressSpec(object): } def __init__(self, parent_ref=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1IPAddressSpec - a model defined in OpenAPI""" # noqa: E501 + """V1beta1IPAddressSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -53,21 +53,21 @@ class V1alpha1IPAddressSpec(object): @property def parent_ref(self): - """Gets the parent_ref of this V1alpha1IPAddressSpec. # noqa: E501 + """Gets the parent_ref of this V1beta1IPAddressSpec. # noqa: E501 - :return: The parent_ref of this V1alpha1IPAddressSpec. # noqa: E501 - :rtype: V1alpha1ParentReference + :return: The parent_ref of this V1beta1IPAddressSpec. # noqa: E501 + :rtype: V1beta1ParentReference """ return self._parent_ref @parent_ref.setter def parent_ref(self, parent_ref): - """Sets the parent_ref of this V1alpha1IPAddressSpec. + """Sets the parent_ref of this V1beta1IPAddressSpec. - :param parent_ref: The parent_ref of this V1alpha1IPAddressSpec. # noqa: E501 - :type: V1alpha1ParentReference + :param parent_ref: The parent_ref of this V1beta1IPAddressSpec. # noqa: E501 + :type: V1beta1ParentReference """ if self.local_vars_configuration.client_side_validation and parent_ref is None: # noqa: E501 raise ValueError("Invalid value for `parent_ref`, must not be `None`") # noqa: E501 @@ -108,14 +108,14 @@ class V1alpha1IPAddressSpec(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1IPAddressSpec): + if not isinstance(other, V1beta1IPAddressSpec): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1IPAddressSpec): + if not isinstance(other, V1beta1IPAddressSpec): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1beta1_match_condition.py b/kubernetes/client/models/v1beta1_match_condition.py index c5e049fb4..618a28d7d 100644 --- a/kubernetes/client/models/v1beta1_match_condition.py +++ b/kubernetes/client/models/v1beta1_match_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_match_resources.py b/kubernetes/client/models/v1beta1_match_resources.py index bdb64b996..5b23d551b 100644 --- a/kubernetes/client/models/v1beta1_match_resources.py +++ b/kubernetes/client/models/v1beta1_match_resources.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_named_rule_with_operations.py b/kubernetes/client/models/v1beta1_named_rule_with_operations.py index 5b84d27a4..c2f204e6f 100644 --- a/kubernetes/client/models/v1beta1_named_rule_with_operations.py +++ b/kubernetes/client/models/v1beta1_named_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_param_kind.py b/kubernetes/client/models/v1beta1_param_kind.py index e8838db9d..32a766179 100644 --- a/kubernetes/client/models/v1beta1_param_kind.py +++ b/kubernetes/client/models/v1beta1_param_kind.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_param_ref.py b/kubernetes/client/models/v1beta1_param_ref.py index 9ac20f78e..6d91ec3df 100644 --- a/kubernetes/client/models/v1beta1_param_ref.py +++ b/kubernetes/client/models/v1beta1_param_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_parent_reference.py b/kubernetes/client/models/v1beta1_parent_reference.py similarity index 77% rename from kubernetes/client/models/v1alpha1_parent_reference.py rename to kubernetes/client/models/v1beta1_parent_reference.py index 4ccb9d5e7..c0cd75370 100644 --- a/kubernetes/client/models/v1alpha1_parent_reference.py +++ b/kubernetes/client/models/v1beta1_parent_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha1ParentReference(object): +class V1beta1ParentReference(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -47,7 +47,7 @@ class V1alpha1ParentReference(object): } def __init__(self, group=None, name=None, namespace=None, resource=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1ParentReference - a model defined in OpenAPI""" # noqa: E501 + """V1beta1ParentReference - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -67,22 +67,22 @@ class V1alpha1ParentReference(object): @property def group(self): - """Gets the group of this V1alpha1ParentReference. # noqa: E501 + """Gets the group of this V1beta1ParentReference. # noqa: E501 Group is the group of the object being referenced. # noqa: E501 - :return: The group of this V1alpha1ParentReference. # noqa: E501 + :return: The group of this V1beta1ParentReference. # noqa: E501 :rtype: str """ return self._group @group.setter def group(self, group): - """Sets the group of this V1alpha1ParentReference. + """Sets the group of this V1beta1ParentReference. Group is the group of the object being referenced. # noqa: E501 - :param group: The group of this V1alpha1ParentReference. # noqa: E501 + :param group: The group of this V1beta1ParentReference. # noqa: E501 :type: str """ @@ -90,22 +90,22 @@ class V1alpha1ParentReference(object): @property def name(self): - """Gets the name of this V1alpha1ParentReference. # noqa: E501 + """Gets the name of this V1beta1ParentReference. # noqa: E501 Name is the name of the object being referenced. # noqa: E501 - :return: The name of this V1alpha1ParentReference. # noqa: E501 + :return: The name of this V1beta1ParentReference. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this V1alpha1ParentReference. + """Sets the name of this V1beta1ParentReference. Name is the name of the object being referenced. # noqa: E501 - :param name: The name of this V1alpha1ParentReference. # noqa: E501 + :param name: The name of this V1beta1ParentReference. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 @@ -115,22 +115,22 @@ class V1alpha1ParentReference(object): @property def namespace(self): - """Gets the namespace of this V1alpha1ParentReference. # noqa: E501 + """Gets the namespace of this V1beta1ParentReference. # noqa: E501 Namespace is the namespace of the object being referenced. # noqa: E501 - :return: The namespace of this V1alpha1ParentReference. # noqa: E501 + :return: The namespace of this V1beta1ParentReference. # noqa: E501 :rtype: str """ return self._namespace @namespace.setter def namespace(self, namespace): - """Sets the namespace of this V1alpha1ParentReference. + """Sets the namespace of this V1beta1ParentReference. Namespace is the namespace of the object being referenced. # noqa: E501 - :param namespace: The namespace of this V1alpha1ParentReference. # noqa: E501 + :param namespace: The namespace of this V1beta1ParentReference. # noqa: E501 :type: str """ @@ -138,22 +138,22 @@ class V1alpha1ParentReference(object): @property def resource(self): - """Gets the resource of this V1alpha1ParentReference. # noqa: E501 + """Gets the resource of this V1beta1ParentReference. # noqa: E501 Resource is the resource of the object being referenced. # noqa: E501 - :return: The resource of this V1alpha1ParentReference. # noqa: E501 + :return: The resource of this V1beta1ParentReference. # noqa: E501 :rtype: str """ return self._resource @resource.setter def resource(self, resource): - """Sets the resource of this V1alpha1ParentReference. + """Sets the resource of this V1beta1ParentReference. Resource is the resource of the object being referenced. # noqa: E501 - :param resource: The resource of this V1alpha1ParentReference. # noqa: E501 + :param resource: The resource of this V1beta1ParentReference. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and resource is None: # noqa: E501 @@ -195,14 +195,14 @@ class V1alpha1ParentReference(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1ParentReference): + if not isinstance(other, V1beta1ParentReference): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1ParentReference): + if not isinstance(other, V1beta1ParentReference): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1beta1_self_subject_review.py b/kubernetes/client/models/v1beta1_self_subject_review.py index e061068db..5b411ae98 100644 --- a/kubernetes/client/models/v1beta1_self_subject_review.py +++ b/kubernetes/client/models/v1beta1_self_subject_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_self_subject_review_status.py b/kubernetes/client/models/v1beta1_self_subject_review_status.py index 61e5838f1..8671c9e0d 100644 --- a/kubernetes/client/models/v1beta1_self_subject_review_status.py +++ b/kubernetes/client/models/v1beta1_self_subject_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_service_cidr.py b/kubernetes/client/models/v1beta1_service_cidr.py similarity index 74% rename from kubernetes/client/models/v1alpha1_service_cidr.py rename to kubernetes/client/models/v1beta1_service_cidr.py index 632090a41..182ab6dea 100644 --- a/kubernetes/client/models/v1alpha1_service_cidr.py +++ b/kubernetes/client/models/v1beta1_service_cidr.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha1ServiceCIDR(object): +class V1beta1ServiceCIDR(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,8 +36,8 @@ class V1alpha1ServiceCIDR(object): 'api_version': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', - 'spec': 'V1alpha1ServiceCIDRSpec', - 'status': 'V1alpha1ServiceCIDRStatus' + 'spec': 'V1beta1ServiceCIDRSpec', + 'status': 'V1beta1ServiceCIDRStatus' } attribute_map = { @@ -49,7 +49,7 @@ class V1alpha1ServiceCIDR(object): } def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1ServiceCIDR - a model defined in OpenAPI""" # noqa: E501 + """V1beta1ServiceCIDR - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -74,22 +74,22 @@ class V1alpha1ServiceCIDR(object): @property def api_version(self): - """Gets the api_version of this V1alpha1ServiceCIDR. # noqa: E501 + """Gets the api_version of this V1beta1ServiceCIDR. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha1ServiceCIDR. # noqa: E501 + :return: The api_version of this V1beta1ServiceCIDR. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha1ServiceCIDR. + """Sets the api_version of this V1beta1ServiceCIDR. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha1ServiceCIDR. # noqa: E501 + :param api_version: The api_version of this V1beta1ServiceCIDR. # noqa: E501 :type: str """ @@ -97,22 +97,22 @@ class V1alpha1ServiceCIDR(object): @property def kind(self): - """Gets the kind of this V1alpha1ServiceCIDR. # noqa: E501 + """Gets the kind of this V1beta1ServiceCIDR. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha1ServiceCIDR. # noqa: E501 + :return: The kind of this V1beta1ServiceCIDR. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha1ServiceCIDR. + """Sets the kind of this V1beta1ServiceCIDR. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha1ServiceCIDR. # noqa: E501 + :param kind: The kind of this V1beta1ServiceCIDR. # noqa: E501 :type: str """ @@ -120,20 +120,20 @@ class V1alpha1ServiceCIDR(object): @property def metadata(self): - """Gets the metadata of this V1alpha1ServiceCIDR. # noqa: E501 + """Gets the metadata of this V1beta1ServiceCIDR. # noqa: E501 - :return: The metadata of this V1alpha1ServiceCIDR. # noqa: E501 + :return: The metadata of this V1beta1ServiceCIDR. # noqa: E501 :rtype: V1ObjectMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha1ServiceCIDR. + """Sets the metadata of this V1beta1ServiceCIDR. - :param metadata: The metadata of this V1alpha1ServiceCIDR. # noqa: E501 + :param metadata: The metadata of this V1beta1ServiceCIDR. # noqa: E501 :type: V1ObjectMeta """ @@ -141,42 +141,42 @@ class V1alpha1ServiceCIDR(object): @property def spec(self): - """Gets the spec of this V1alpha1ServiceCIDR. # noqa: E501 + """Gets the spec of this V1beta1ServiceCIDR. # noqa: E501 - :return: The spec of this V1alpha1ServiceCIDR. # noqa: E501 - :rtype: V1alpha1ServiceCIDRSpec + :return: The spec of this V1beta1ServiceCIDR. # noqa: E501 + :rtype: V1beta1ServiceCIDRSpec """ return self._spec @spec.setter def spec(self, spec): - """Sets the spec of this V1alpha1ServiceCIDR. + """Sets the spec of this V1beta1ServiceCIDR. - :param spec: The spec of this V1alpha1ServiceCIDR. # noqa: E501 - :type: V1alpha1ServiceCIDRSpec + :param spec: The spec of this V1beta1ServiceCIDR. # noqa: E501 + :type: V1beta1ServiceCIDRSpec """ self._spec = spec @property def status(self): - """Gets the status of this V1alpha1ServiceCIDR. # noqa: E501 + """Gets the status of this V1beta1ServiceCIDR. # noqa: E501 - :return: The status of this V1alpha1ServiceCIDR. # noqa: E501 - :rtype: V1alpha1ServiceCIDRStatus + :return: The status of this V1beta1ServiceCIDR. # noqa: E501 + :rtype: V1beta1ServiceCIDRStatus """ return self._status @status.setter def status(self, status): - """Sets the status of this V1alpha1ServiceCIDR. + """Sets the status of this V1beta1ServiceCIDR. - :param status: The status of this V1alpha1ServiceCIDR. # noqa: E501 - :type: V1alpha1ServiceCIDRStatus + :param status: The status of this V1beta1ServiceCIDR. # noqa: E501 + :type: V1beta1ServiceCIDRStatus """ self._status = status @@ -215,14 +215,14 @@ class V1alpha1ServiceCIDR(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1ServiceCIDR): + if not isinstance(other, V1beta1ServiceCIDR): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1ServiceCIDR): + if not isinstance(other, V1beta1ServiceCIDR): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_service_cidr_list.py b/kubernetes/client/models/v1beta1_service_cidr_list.py similarity index 77% rename from kubernetes/client/models/v1alpha1_service_cidr_list.py rename to kubernetes/client/models/v1beta1_service_cidr_list.py index c52129a67..cfbfe08ad 100644 --- a/kubernetes/client/models/v1alpha1_service_cidr_list.py +++ b/kubernetes/client/models/v1beta1_service_cidr_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha1ServiceCIDRList(object): +class V1beta1ServiceCIDRList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha1ServiceCIDRList(object): """ openapi_types = { 'api_version': 'str', - 'items': 'list[V1alpha1ServiceCIDR]', + 'items': 'list[V1beta1ServiceCIDR]', 'kind': 'str', 'metadata': 'V1ListMeta' } @@ -47,7 +47,7 @@ class V1alpha1ServiceCIDRList(object): } def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1ServiceCIDRList - a model defined in OpenAPI""" # noqa: E501 + """V1beta1ServiceCIDRList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ class V1alpha1ServiceCIDRList(object): @property def api_version(self): - """Gets the api_version of this V1alpha1ServiceCIDRList. # noqa: E501 + """Gets the api_version of this V1beta1ServiceCIDRList. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha1ServiceCIDRList. # noqa: E501 + :return: The api_version of this V1beta1ServiceCIDRList. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha1ServiceCIDRList. + """Sets the api_version of this V1beta1ServiceCIDRList. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha1ServiceCIDRList. # noqa: E501 + :param api_version: The api_version of this V1beta1ServiceCIDRList. # noqa: E501 :type: str """ @@ -91,23 +91,23 @@ class V1alpha1ServiceCIDRList(object): @property def items(self): - """Gets the items of this V1alpha1ServiceCIDRList. # noqa: E501 + """Gets the items of this V1beta1ServiceCIDRList. # noqa: E501 items is the list of ServiceCIDRs. # noqa: E501 - :return: The items of this V1alpha1ServiceCIDRList. # noqa: E501 - :rtype: list[V1alpha1ServiceCIDR] + :return: The items of this V1beta1ServiceCIDRList. # noqa: E501 + :rtype: list[V1beta1ServiceCIDR] """ return self._items @items.setter def items(self, items): - """Sets the items of this V1alpha1ServiceCIDRList. + """Sets the items of this V1beta1ServiceCIDRList. items is the list of ServiceCIDRs. # noqa: E501 - :param items: The items of this V1alpha1ServiceCIDRList. # noqa: E501 - :type: list[V1alpha1ServiceCIDR] + :param items: The items of this V1beta1ServiceCIDRList. # noqa: E501 + :type: list[V1beta1ServiceCIDR] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 @@ -116,22 +116,22 @@ class V1alpha1ServiceCIDRList(object): @property def kind(self): - """Gets the kind of this V1alpha1ServiceCIDRList. # noqa: E501 + """Gets the kind of this V1beta1ServiceCIDRList. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha1ServiceCIDRList. # noqa: E501 + :return: The kind of this V1beta1ServiceCIDRList. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha1ServiceCIDRList. + """Sets the kind of this V1beta1ServiceCIDRList. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha1ServiceCIDRList. # noqa: E501 + :param kind: The kind of this V1beta1ServiceCIDRList. # noqa: E501 :type: str """ @@ -139,20 +139,20 @@ class V1alpha1ServiceCIDRList(object): @property def metadata(self): - """Gets the metadata of this V1alpha1ServiceCIDRList. # noqa: E501 + """Gets the metadata of this V1beta1ServiceCIDRList. # noqa: E501 - :return: The metadata of this V1alpha1ServiceCIDRList. # noqa: E501 + :return: The metadata of this V1beta1ServiceCIDRList. # noqa: E501 :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha1ServiceCIDRList. + """Sets the metadata of this V1beta1ServiceCIDRList. - :param metadata: The metadata of this V1alpha1ServiceCIDRList. # noqa: E501 + :param metadata: The metadata of this V1beta1ServiceCIDRList. # noqa: E501 :type: V1ListMeta """ @@ -192,14 +192,14 @@ class V1alpha1ServiceCIDRList(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1ServiceCIDRList): + if not isinstance(other, V1beta1ServiceCIDRList): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1ServiceCIDRList): + if not isinstance(other, V1beta1ServiceCIDRList): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_service_cidr_spec.py b/kubernetes/client/models/v1beta1_service_cidr_spec.py similarity index 85% rename from kubernetes/client/models/v1alpha1_service_cidr_spec.py rename to kubernetes/client/models/v1beta1_service_cidr_spec.py index 0c7f4c702..ef7db41ba 100644 --- a/kubernetes/client/models/v1alpha1_service_cidr_spec.py +++ b/kubernetes/client/models/v1beta1_service_cidr_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha1ServiceCIDRSpec(object): +class V1beta1ServiceCIDRSpec(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -41,7 +41,7 @@ class V1alpha1ServiceCIDRSpec(object): } def __init__(self, cidrs=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1ServiceCIDRSpec - a model defined in OpenAPI""" # noqa: E501 + """V1beta1ServiceCIDRSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -54,22 +54,22 @@ class V1alpha1ServiceCIDRSpec(object): @property def cidrs(self): - """Gets the cidrs of this V1alpha1ServiceCIDRSpec. # noqa: E501 + """Gets the cidrs of this V1beta1ServiceCIDRSpec. # noqa: E501 CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. # noqa: E501 - :return: The cidrs of this V1alpha1ServiceCIDRSpec. # noqa: E501 + :return: The cidrs of this V1beta1ServiceCIDRSpec. # noqa: E501 :rtype: list[str] """ return self._cidrs @cidrs.setter def cidrs(self, cidrs): - """Sets the cidrs of this V1alpha1ServiceCIDRSpec. + """Sets the cidrs of this V1beta1ServiceCIDRSpec. CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. # noqa: E501 - :param cidrs: The cidrs of this V1alpha1ServiceCIDRSpec. # noqa: E501 + :param cidrs: The cidrs of this V1beta1ServiceCIDRSpec. # noqa: E501 :type: list[str] """ @@ -109,14 +109,14 @@ class V1alpha1ServiceCIDRSpec(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1ServiceCIDRSpec): + if not isinstance(other, V1beta1ServiceCIDRSpec): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1ServiceCIDRSpec): + if not isinstance(other, V1beta1ServiceCIDRSpec): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_service_cidr_status.py b/kubernetes/client/models/v1beta1_service_cidr_status.py similarity index 84% rename from kubernetes/client/models/v1alpha1_service_cidr_status.py rename to kubernetes/client/models/v1beta1_service_cidr_status.py index bd31f5a6b..694d31435 100644 --- a/kubernetes/client/models/v1alpha1_service_cidr_status.py +++ b/kubernetes/client/models/v1beta1_service_cidr_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha1ServiceCIDRStatus(object): +class V1beta1ServiceCIDRStatus(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -41,7 +41,7 @@ class V1alpha1ServiceCIDRStatus(object): } def __init__(self, conditions=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1ServiceCIDRStatus - a model defined in OpenAPI""" # noqa: E501 + """V1beta1ServiceCIDRStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -54,22 +54,22 @@ class V1alpha1ServiceCIDRStatus(object): @property def conditions(self): - """Gets the conditions of this V1alpha1ServiceCIDRStatus. # noqa: E501 + """Gets the conditions of this V1beta1ServiceCIDRStatus. # noqa: E501 conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state # noqa: E501 - :return: The conditions of this V1alpha1ServiceCIDRStatus. # noqa: E501 + :return: The conditions of this V1beta1ServiceCIDRStatus. # noqa: E501 :rtype: list[V1Condition] """ return self._conditions @conditions.setter def conditions(self, conditions): - """Sets the conditions of this V1alpha1ServiceCIDRStatus. + """Sets the conditions of this V1beta1ServiceCIDRStatus. conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state # noqa: E501 - :param conditions: The conditions of this V1alpha1ServiceCIDRStatus. # noqa: E501 + :param conditions: The conditions of this V1beta1ServiceCIDRStatus. # noqa: E501 :type: list[V1Condition] """ @@ -109,14 +109,14 @@ class V1alpha1ServiceCIDRStatus(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1ServiceCIDRStatus): + if not isinstance(other, V1beta1ServiceCIDRStatus): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1ServiceCIDRStatus): + if not isinstance(other, V1beta1ServiceCIDRStatus): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1beta1_type_checking.py b/kubernetes/client/models/v1beta1_type_checking.py index a35236732..f3c4ac7f1 100644 --- a/kubernetes/client/models/v1beta1_type_checking.py +++ b/kubernetes/client/models/v1beta1_type_checking.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_validating_admission_policy.py b/kubernetes/client/models/v1beta1_validating_admission_policy.py index 20bbe50e0..4a8f592b2 100644 --- a/kubernetes/client/models/v1beta1_validating_admission_policy.py +++ b/kubernetes/client/models/v1beta1_validating_admission_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_validating_admission_policy_binding.py b/kubernetes/client/models/v1beta1_validating_admission_policy_binding.py index 215d2b531..505d1556b 100644 --- a/kubernetes/client/models/v1beta1_validating_admission_policy_binding.py +++ b/kubernetes/client/models/v1beta1_validating_admission_policy_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_validating_admission_policy_binding_list.py b/kubernetes/client/models/v1beta1_validating_admission_policy_binding_list.py index bfb0581cf..a671c07aa 100644 --- a/kubernetes/client/models/v1beta1_validating_admission_policy_binding_list.py +++ b/kubernetes/client/models/v1beta1_validating_admission_policy_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -60,8 +60,7 @@ class V1beta1ValidatingAdmissionPolicyBindingList(object): if api_version is not None: self.api_version = api_version - if items is not None: - self.items = items + self.items = items if kind is not None: self.kind = kind if metadata is not None: @@ -110,6 +109,8 @@ class V1beta1ValidatingAdmissionPolicyBindingList(object): :param items: The items of this V1beta1ValidatingAdmissionPolicyBindingList. # noqa: E501 :type: list[V1beta1ValidatingAdmissionPolicyBinding] """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 self._items = items diff --git a/kubernetes/client/models/v1beta1_validating_admission_policy_binding_spec.py b/kubernetes/client/models/v1beta1_validating_admission_policy_binding_spec.py index 3d1cce974..b12fff637 100644 --- a/kubernetes/client/models/v1beta1_validating_admission_policy_binding_spec.py +++ b/kubernetes/client/models/v1beta1_validating_admission_policy_binding_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_validating_admission_policy_list.py b/kubernetes/client/models/v1beta1_validating_admission_policy_list.py index 62f6ced86..d67533c47 100644 --- a/kubernetes/client/models/v1beta1_validating_admission_policy_list.py +++ b/kubernetes/client/models/v1beta1_validating_admission_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -60,8 +60,7 @@ class V1beta1ValidatingAdmissionPolicyList(object): if api_version is not None: self.api_version = api_version - if items is not None: - self.items = items + self.items = items if kind is not None: self.kind = kind if metadata is not None: @@ -110,6 +109,8 @@ class V1beta1ValidatingAdmissionPolicyList(object): :param items: The items of this V1beta1ValidatingAdmissionPolicyList. # noqa: E501 :type: list[V1beta1ValidatingAdmissionPolicy] """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 self._items = items diff --git a/kubernetes/client/models/v1beta1_validating_admission_policy_spec.py b/kubernetes/client/models/v1beta1_validating_admission_policy_spec.py index d3a11916b..282f69057 100644 --- a/kubernetes/client/models/v1beta1_validating_admission_policy_spec.py +++ b/kubernetes/client/models/v1beta1_validating_admission_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_validating_admission_policy_status.py b/kubernetes/client/models/v1beta1_validating_admission_policy_status.py index f0dd926f1..ed0a70b4e 100644 --- a/kubernetes/client/models/v1beta1_validating_admission_policy_status.py +++ b/kubernetes/client/models/v1beta1_validating_admission_policy_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_validation.py b/kubernetes/client/models/v1beta1_validation.py index 1c1ea8dd7..0eb9e1795 100644 --- a/kubernetes/client/models/v1beta1_validation.py +++ b/kubernetes/client/models/v1beta1_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_variable.py b/kubernetes/client/models/v1beta1_variable.py index 7278971bb..c6b1cf898 100644 --- a/kubernetes/client/models/v1beta1_variable.py +++ b/kubernetes/client/models/v1beta1_variable.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha2_resource_slice.py b/kubernetes/client/models/v1beta1_volume_attributes_class.py similarity index 57% rename from kubernetes/client/models/v1alpha2_resource_slice.py rename to kubernetes/client/models/v1beta1_volume_attributes_class.py index ba8a23999..36a6262c8 100644 --- a/kubernetes/client/models/v1alpha2_resource_slice.py +++ b/kubernetes/client/models/v1beta1_volume_attributes_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ import six from kubernetes.client.configuration import Configuration -class V1alpha2ResourceSlice(object): +class V1beta1VolumeAttributesClass(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -37,8 +37,7 @@ class V1alpha2ResourceSlice(object): 'driver_name': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', - 'named_resources': 'V1alpha2NamedResourcesResources', - 'node_name': 'str' + 'parameters': 'dict(str, str)' } attribute_map = { @@ -46,12 +45,11 @@ class V1alpha2ResourceSlice(object): 'driver_name': 'driverName', 'kind': 'kind', 'metadata': 'metadata', - 'named_resources': 'namedResources', - 'node_name': 'nodeName' + 'parameters': 'parameters' } - def __init__(self, api_version=None, driver_name=None, kind=None, metadata=None, named_resources=None, node_name=None, local_vars_configuration=None): # noqa: E501 - """V1alpha2ResourceSlice - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, api_version=None, driver_name=None, kind=None, metadata=None, parameters=None, local_vars_configuration=None): # noqa: E501 + """V1beta1VolumeAttributesClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -60,8 +58,7 @@ class V1alpha2ResourceSlice(object): self._driver_name = None self._kind = None self._metadata = None - self._named_resources = None - self._node_name = None + self._parameters = None self.discriminator = None if api_version is not None: @@ -71,29 +68,27 @@ class V1alpha2ResourceSlice(object): self.kind = kind if metadata is not None: self.metadata = metadata - if named_resources is not None: - self.named_resources = named_resources - if node_name is not None: - self.node_name = node_name + if parameters is not None: + self.parameters = parameters @property def api_version(self): - """Gets the api_version of this V1alpha2ResourceSlice. # noqa: E501 + """Gets the api_version of this V1beta1VolumeAttributesClass. # noqa: E501 APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha2ResourceSlice. # noqa: E501 + :return: The api_version of this V1beta1VolumeAttributesClass. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha2ResourceSlice. + """Sets the api_version of this V1beta1VolumeAttributesClass. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha2ResourceSlice. # noqa: E501 + :param api_version: The api_version of this V1beta1VolumeAttributesClass. # noqa: E501 :type: str """ @@ -101,22 +96,22 @@ class V1alpha2ResourceSlice(object): @property def driver_name(self): - """Gets the driver_name of this V1alpha2ResourceSlice. # noqa: E501 + """Gets the driver_name of this V1beta1VolumeAttributesClass. # noqa: E501 - DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. # noqa: E501 + Name of the CSI driver This field is immutable. # noqa: E501 - :return: The driver_name of this V1alpha2ResourceSlice. # noqa: E501 + :return: The driver_name of this V1beta1VolumeAttributesClass. # noqa: E501 :rtype: str """ return self._driver_name @driver_name.setter def driver_name(self, driver_name): - """Sets the driver_name of this V1alpha2ResourceSlice. + """Sets the driver_name of this V1beta1VolumeAttributesClass. - DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. # noqa: E501 + Name of the CSI driver This field is immutable. # noqa: E501 - :param driver_name: The driver_name of this V1alpha2ResourceSlice. # noqa: E501 + :param driver_name: The driver_name of this V1beta1VolumeAttributesClass. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and driver_name is None: # noqa: E501 @@ -126,22 +121,22 @@ class V1alpha2ResourceSlice(object): @property def kind(self): - """Gets the kind of this V1alpha2ResourceSlice. # noqa: E501 + """Gets the kind of this V1beta1VolumeAttributesClass. # noqa: E501 Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha2ResourceSlice. # noqa: E501 + :return: The kind of this V1beta1VolumeAttributesClass. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha2ResourceSlice. + """Sets the kind of this V1beta1VolumeAttributesClass. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha2ResourceSlice. # noqa: E501 + :param kind: The kind of this V1beta1VolumeAttributesClass. # noqa: E501 :type: str """ @@ -149,68 +144,47 @@ class V1alpha2ResourceSlice(object): @property def metadata(self): - """Gets the metadata of this V1alpha2ResourceSlice. # noqa: E501 + """Gets the metadata of this V1beta1VolumeAttributesClass. # noqa: E501 - :return: The metadata of this V1alpha2ResourceSlice. # noqa: E501 + :return: The metadata of this V1beta1VolumeAttributesClass. # noqa: E501 :rtype: V1ObjectMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha2ResourceSlice. + """Sets the metadata of this V1beta1VolumeAttributesClass. - :param metadata: The metadata of this V1alpha2ResourceSlice. # noqa: E501 + :param metadata: The metadata of this V1beta1VolumeAttributesClass. # noqa: E501 :type: V1ObjectMeta """ self._metadata = metadata @property - def named_resources(self): - """Gets the named_resources of this V1alpha2ResourceSlice. # noqa: E501 + def parameters(self): + """Gets the parameters of this V1beta1VolumeAttributesClass. # noqa: E501 + 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. # noqa: E501 - :return: The named_resources of this V1alpha2ResourceSlice. # noqa: E501 - :rtype: V1alpha2NamedResourcesResources + :return: The parameters of this V1beta1VolumeAttributesClass. # noqa: E501 + :rtype: dict(str, str) """ - return self._named_resources + return self._parameters - @named_resources.setter - def named_resources(self, named_resources): - """Sets the named_resources of this V1alpha2ResourceSlice. + @parameters.setter + def parameters(self, parameters): + """Sets the parameters of this V1beta1VolumeAttributesClass. + 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. # noqa: E501 - :param named_resources: The named_resources of this V1alpha2ResourceSlice. # noqa: E501 - :type: V1alpha2NamedResourcesResources + :param parameters: The parameters of this V1beta1VolumeAttributesClass. # noqa: E501 + :type: dict(str, str) """ - self._named_resources = named_resources - - @property - def node_name(self): - """Gets the node_name of this V1alpha2ResourceSlice. # noqa: E501 - - NodeName identifies the node which provides the resources if they are local to a node. A field selector can be used to list only ResourceSlice objects with a certain node name. # noqa: E501 - - :return: The node_name of this V1alpha2ResourceSlice. # noqa: E501 - :rtype: str - """ - return self._node_name - - @node_name.setter - def node_name(self, node_name): - """Sets the node_name of this V1alpha2ResourceSlice. - - NodeName identifies the node which provides the resources if they are local to a node. A field selector can be used to list only ResourceSlice objects with a certain node name. # noqa: E501 - - :param node_name: The node_name of this V1alpha2ResourceSlice. # noqa: E501 - :type: str - """ - - self._node_name = node_name + self._parameters = parameters def to_dict(self): """Returns the model properties as a dict""" @@ -246,14 +220,14 @@ class V1alpha2ResourceSlice(object): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha2ResourceSlice): + if not isinstance(other, V1beta1VolumeAttributesClass): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha2ResourceSlice): + if not isinstance(other, V1beta1VolumeAttributesClass): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1beta1_volume_attributes_class_list.py b/kubernetes/client/models/v1beta1_volume_attributes_class_list.py new file mode 100644 index 000000000..099a67b21 --- /dev/null +++ b/kubernetes/client/models/v1beta1_volume_attributes_class_list.py @@ -0,0 +1,205 @@ +# 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.31 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1beta1VolumeAttributesClassList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1beta1VolumeAttributesClass]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1beta1VolumeAttributesClassList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1beta1VolumeAttributesClassList. # noqa: E501 + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1beta1VolumeAttributesClassList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1beta1VolumeAttributesClassList. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1beta1VolumeAttributesClassList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1beta1VolumeAttributesClassList. # noqa: E501 + + items is the list of VolumeAttributesClass objects. # noqa: E501 + + :return: The items of this V1beta1VolumeAttributesClassList. # noqa: E501 + :rtype: list[V1beta1VolumeAttributesClass] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1beta1VolumeAttributesClassList. + + items is the list of VolumeAttributesClass objects. # noqa: E501 + + :param items: The items of this V1beta1VolumeAttributesClassList. # noqa: E501 + :type: list[V1beta1VolumeAttributesClass] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1beta1VolumeAttributesClassList. # noqa: E501 + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1beta1VolumeAttributesClassList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1beta1VolumeAttributesClassList. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1beta1VolumeAttributesClassList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1beta1VolumeAttributesClassList. # noqa: E501 + + + :return: The metadata of this V1beta1VolumeAttributesClassList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1beta1VolumeAttributesClassList. + + + :param metadata: The metadata of this V1beta1VolumeAttributesClassList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1beta1VolumeAttributesClassList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1beta1VolumeAttributesClassList): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1beta3_exempt_priority_level_configuration.py b/kubernetes/client/models/v1beta3_exempt_priority_level_configuration.py index 0b9e65546..7e75a1f4d 100644 --- a/kubernetes/client/models/v1beta3_exempt_priority_level_configuration.py +++ b/kubernetes/client/models/v1beta3_exempt_priority_level_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_flow_distinguisher_method.py b/kubernetes/client/models/v1beta3_flow_distinguisher_method.py index d72a55f98..573308ef4 100644 --- a/kubernetes/client/models/v1beta3_flow_distinguisher_method.py +++ b/kubernetes/client/models/v1beta3_flow_distinguisher_method.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_flow_schema.py b/kubernetes/client/models/v1beta3_flow_schema.py index b029bda82..705a9bfe1 100644 --- a/kubernetes/client/models/v1beta3_flow_schema.py +++ b/kubernetes/client/models/v1beta3_flow_schema.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_flow_schema_condition.py b/kubernetes/client/models/v1beta3_flow_schema_condition.py index 0f368f072..a1ea1fd66 100644 --- a/kubernetes/client/models/v1beta3_flow_schema_condition.py +++ b/kubernetes/client/models/v1beta3_flow_schema_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_flow_schema_list.py b/kubernetes/client/models/v1beta3_flow_schema_list.py index cd51ed83a..c39b07f13 100644 --- a/kubernetes/client/models/v1beta3_flow_schema_list.py +++ b/kubernetes/client/models/v1beta3_flow_schema_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_flow_schema_spec.py b/kubernetes/client/models/v1beta3_flow_schema_spec.py index 2d919f4b5..bc21ec8e8 100644 --- a/kubernetes/client/models/v1beta3_flow_schema_spec.py +++ b/kubernetes/client/models/v1beta3_flow_schema_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_flow_schema_status.py b/kubernetes/client/models/v1beta3_flow_schema_status.py index a51a49523..791986d38 100644 --- a/kubernetes/client/models/v1beta3_flow_schema_status.py +++ b/kubernetes/client/models/v1beta3_flow_schema_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_group_subject.py b/kubernetes/client/models/v1beta3_group_subject.py index b45f03b8a..8ef66f48a 100644 --- a/kubernetes/client/models/v1beta3_group_subject.py +++ b/kubernetes/client/models/v1beta3_group_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_limit_response.py b/kubernetes/client/models/v1beta3_limit_response.py index e697c01b3..25f750549 100644 --- a/kubernetes/client/models/v1beta3_limit_response.py +++ b/kubernetes/client/models/v1beta3_limit_response.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_limited_priority_level_configuration.py b/kubernetes/client/models/v1beta3_limited_priority_level_configuration.py index 845592506..4224f628a 100644 --- a/kubernetes/client/models/v1beta3_limited_priority_level_configuration.py +++ b/kubernetes/client/models/v1beta3_limited_priority_level_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_non_resource_policy_rule.py b/kubernetes/client/models/v1beta3_non_resource_policy_rule.py index 8129b9537..d5bd8e4db 100644 --- a/kubernetes/client/models/v1beta3_non_resource_policy_rule.py +++ b/kubernetes/client/models/v1beta3_non_resource_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_policy_rules_with_subjects.py b/kubernetes/client/models/v1beta3_policy_rules_with_subjects.py index 253b453e8..f59af2207 100644 --- a/kubernetes/client/models/v1beta3_policy_rules_with_subjects.py +++ b/kubernetes/client/models/v1beta3_policy_rules_with_subjects.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_priority_level_configuration.py b/kubernetes/client/models/v1beta3_priority_level_configuration.py index 49ecee3ba..b5d610f2d 100644 --- a/kubernetes/client/models/v1beta3_priority_level_configuration.py +++ b/kubernetes/client/models/v1beta3_priority_level_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_priority_level_configuration_condition.py b/kubernetes/client/models/v1beta3_priority_level_configuration_condition.py index d24adf491..d087cde3b 100644 --- a/kubernetes/client/models/v1beta3_priority_level_configuration_condition.py +++ b/kubernetes/client/models/v1beta3_priority_level_configuration_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_priority_level_configuration_list.py b/kubernetes/client/models/v1beta3_priority_level_configuration_list.py index a01160b49..9a7dda990 100644 --- a/kubernetes/client/models/v1beta3_priority_level_configuration_list.py +++ b/kubernetes/client/models/v1beta3_priority_level_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_priority_level_configuration_reference.py b/kubernetes/client/models/v1beta3_priority_level_configuration_reference.py index 58055e8f4..94dcff02b 100644 --- a/kubernetes/client/models/v1beta3_priority_level_configuration_reference.py +++ b/kubernetes/client/models/v1beta3_priority_level_configuration_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_priority_level_configuration_spec.py b/kubernetes/client/models/v1beta3_priority_level_configuration_spec.py index 705f0468f..d87ddee0a 100644 --- a/kubernetes/client/models/v1beta3_priority_level_configuration_spec.py +++ b/kubernetes/client/models/v1beta3_priority_level_configuration_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_priority_level_configuration_status.py b/kubernetes/client/models/v1beta3_priority_level_configuration_status.py index cf935be03..71758d136 100644 --- a/kubernetes/client/models/v1beta3_priority_level_configuration_status.py +++ b/kubernetes/client/models/v1beta3_priority_level_configuration_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_queuing_configuration.py b/kubernetes/client/models/v1beta3_queuing_configuration.py index 41c00faf3..fa7d0e8f3 100644 --- a/kubernetes/client/models/v1beta3_queuing_configuration.py +++ b/kubernetes/client/models/v1beta3_queuing_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_resource_policy_rule.py b/kubernetes/client/models/v1beta3_resource_policy_rule.py index 76900a118..6b1b2237e 100644 --- a/kubernetes/client/models/v1beta3_resource_policy_rule.py +++ b/kubernetes/client/models/v1beta3_resource_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_service_account_subject.py b/kubernetes/client/models/v1beta3_service_account_subject.py index a95d68a75..e1b3eee02 100644 --- a/kubernetes/client/models/v1beta3_service_account_subject.py +++ b/kubernetes/client/models/v1beta3_service_account_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_subject.py b/kubernetes/client/models/v1beta3_subject.py index c1b6830e6..7c8dfda84 100644 --- a/kubernetes/client/models/v1beta3_subject.py +++ b/kubernetes/client/models/v1beta3_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta3_user_subject.py b/kubernetes/client/models/v1beta3_user_subject.py index 4590cda6c..3bcb36815 100644 --- a/kubernetes/client/models/v1beta3_user_subject.py +++ b/kubernetes/client/models/v1beta3_user_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_container_resource_metric_source.py b/kubernetes/client/models/v2_container_resource_metric_source.py index 4dfce0c7a..83d8781aa 100644 --- a/kubernetes/client/models/v2_container_resource_metric_source.py +++ b/kubernetes/client/models/v2_container_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_container_resource_metric_status.py b/kubernetes/client/models/v2_container_resource_metric_status.py index a30d8c800..8bb66975b 100644 --- a/kubernetes/client/models/v2_container_resource_metric_status.py +++ b/kubernetes/client/models/v2_container_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_cross_version_object_reference.py b/kubernetes/client/models/v2_cross_version_object_reference.py index b9cc44a15..7e45143a0 100644 --- a/kubernetes/client/models/v2_cross_version_object_reference.py +++ b/kubernetes/client/models/v2_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_external_metric_source.py b/kubernetes/client/models/v2_external_metric_source.py index 29963555c..b2d4429bc 100644 --- a/kubernetes/client/models/v2_external_metric_source.py +++ b/kubernetes/client/models/v2_external_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_external_metric_status.py b/kubernetes/client/models/v2_external_metric_status.py index 8e53b338e..ecb05b9b4 100644 --- a/kubernetes/client/models/v2_external_metric_status.py +++ b/kubernetes/client/models/v2_external_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler.py index 7b60529cf..c7b3e8815 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_behavior.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_behavior.py index 0eb9a2e44..880ca13df 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_behavior.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_behavior.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py index cd47282b0..9b87542ad 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py index 17ddbcfcb..fbd588f3f 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py index e55b7eac7..10ce52f54 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py index c83f6299f..028ebbd78 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_hpa_scaling_policy.py b/kubernetes/client/models/v2_hpa_scaling_policy.py index 713361437..a8aa53503 100644 --- a/kubernetes/client/models/v2_hpa_scaling_policy.py +++ b/kubernetes/client/models/v2_hpa_scaling_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_hpa_scaling_rules.py b/kubernetes/client/models/v2_hpa_scaling_rules.py index 68e982c7d..4b082eded 100644 --- a/kubernetes/client/models/v2_hpa_scaling_rules.py +++ b/kubernetes/client/models/v2_hpa_scaling_rules.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_metric_identifier.py b/kubernetes/client/models/v2_metric_identifier.py index 1f4c32564..79626ef6e 100644 --- a/kubernetes/client/models/v2_metric_identifier.py +++ b/kubernetes/client/models/v2_metric_identifier.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_metric_spec.py b/kubernetes/client/models/v2_metric_spec.py index 513d0ae1a..4f881b731 100644 --- a/kubernetes/client/models/v2_metric_spec.py +++ b/kubernetes/client/models/v2_metric_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_metric_status.py b/kubernetes/client/models/v2_metric_status.py index 1f7b3aa82..f0223ead5 100644 --- a/kubernetes/client/models/v2_metric_status.py +++ b/kubernetes/client/models/v2_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_metric_target.py b/kubernetes/client/models/v2_metric_target.py index 88eec9bc8..16b3f0774 100644 --- a/kubernetes/client/models/v2_metric_target.py +++ b/kubernetes/client/models/v2_metric_target.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_metric_value_status.py b/kubernetes/client/models/v2_metric_value_status.py index 8f6a5200a..4af7e4cd8 100644 --- a/kubernetes/client/models/v2_metric_value_status.py +++ b/kubernetes/client/models/v2_metric_value_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_object_metric_source.py b/kubernetes/client/models/v2_object_metric_source.py index 30f7d85e0..08f035132 100644 --- a/kubernetes/client/models/v2_object_metric_source.py +++ b/kubernetes/client/models/v2_object_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_object_metric_status.py b/kubernetes/client/models/v2_object_metric_status.py index 9b9164a2d..3c6ebb009 100644 --- a/kubernetes/client/models/v2_object_metric_status.py +++ b/kubernetes/client/models/v2_object_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_pods_metric_source.py b/kubernetes/client/models/v2_pods_metric_source.py index 4746e0ffb..671dc1ef5 100644 --- a/kubernetes/client/models/v2_pods_metric_source.py +++ b/kubernetes/client/models/v2_pods_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_pods_metric_status.py b/kubernetes/client/models/v2_pods_metric_status.py index c42ad0a97..5033ebb46 100644 --- a/kubernetes/client/models/v2_pods_metric_status.py +++ b/kubernetes/client/models/v2_pods_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_resource_metric_source.py b/kubernetes/client/models/v2_resource_metric_source.py index ba3ed2589..bb9d19448 100644 --- a/kubernetes/client/models/v2_resource_metric_source.py +++ b/kubernetes/client/models/v2_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2_resource_metric_status.py b/kubernetes/client/models/v2_resource_metric_status.py index 991c9d7af..ceda06400 100644 --- a/kubernetes/client/models/v2_resource_metric_status.py +++ b/kubernetes/client/models/v2_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/version_info.py b/kubernetes/client/models/version_info.py index e0e96bede..51afe7a97 100644 --- a/kubernetes/client/models/version_info.py +++ b/kubernetes/client/models/version_info.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/docs/CoordinationV1alpha1Api.md b/kubernetes/docs/CoordinationV1alpha1Api.md new file mode 100644 index 000000000..22840fb5a --- /dev/null +++ b/kubernetes/docs/CoordinationV1alpha1Api.md @@ -0,0 +1,727 @@ +# kubernetes.client.CoordinationV1alpha1Api + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_namespaced_lease_candidate**](CoordinationV1alpha1Api.md#create_namespaced_lease_candidate) | **POST** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates | +[**delete_collection_namespaced_lease_candidate**](CoordinationV1alpha1Api.md#delete_collection_namespaced_lease_candidate) | **DELETE** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates | +[**delete_namespaced_lease_candidate**](CoordinationV1alpha1Api.md#delete_namespaced_lease_candidate) | **DELETE** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name} | +[**get_api_resources**](CoordinationV1alpha1Api.md#get_api_resources) | **GET** /apis/coordination.k8s.io/v1alpha1/ | +[**list_lease_candidate_for_all_namespaces**](CoordinationV1alpha1Api.md#list_lease_candidate_for_all_namespaces) | **GET** /apis/coordination.k8s.io/v1alpha1/leasecandidates | +[**list_namespaced_lease_candidate**](CoordinationV1alpha1Api.md#list_namespaced_lease_candidate) | **GET** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates | +[**patch_namespaced_lease_candidate**](CoordinationV1alpha1Api.md#patch_namespaced_lease_candidate) | **PATCH** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name} | +[**read_namespaced_lease_candidate**](CoordinationV1alpha1Api.md#read_namespaced_lease_candidate) | **GET** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name} | +[**replace_namespaced_lease_candidate**](CoordinationV1alpha1Api.md#replace_namespaced_lease_candidate) | **PUT** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name} | + + +# **create_namespaced_lease_candidate** +> V1alpha1LeaseCandidate create_namespaced_lease_candidate(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + + + +create a LeaseCandidate + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.CoordinationV1alpha1Api(api_client) + namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = kubernetes.client.V1alpha1LeaseCandidate() # V1alpha1LeaseCandidate | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) + + try: + api_response = api_instance.create_namespaced_lease_candidate(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + pprint(api_response) + except ApiException as e: + print("Exception when calling CoordinationV1alpha1Api->create_namespaced_lease_candidate: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1alpha1LeaseCandidate**](V1alpha1LeaseCandidate.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] + +### Return type + +[**V1alpha1LeaseCandidate**](V1alpha1LeaseCandidate.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_collection_namespaced_lease_candidate** +> V1Status delete_collection_namespaced_lease_candidate(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) + + + +delete collection of LeaseCandidate + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.CoordinationV1alpha1Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) +resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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) +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.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, 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, timeout_seconds=timeout_seconds, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling CoordinationV1alpha1Api->delete_collection_namespaced_lease_candidate: %s\n" % e) +``` + +### Parameters + +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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] + **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_namespaced_lease_candidate** +> V1Status delete_namespaced_lease_candidate(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + + + +delete a LeaseCandidate + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.CoordinationV1alpha1Api(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) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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 = 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) +orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; '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.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, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling CoordinationV1alpha1Api->delete_namespaced_lease_candidate: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the LeaseCandidate | + **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] + **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] + **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] + **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] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_api_resources** +> V1APIResourceList get_api_resources() + + + +get available resources + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.CoordinationV1alpha1Api(api_client) + + try: + api_response = api_instance.get_api_resources() + pprint(api_response) + except ApiException as e: + print("Exception when calling CoordinationV1alpha1Api->get_api_resources: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_lease_candidate_for_all_namespaces** +> V1alpha1LeaseCandidateList list_lease_candidate_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind LeaseCandidate + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.CoordinationV1alpha1Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated 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) +send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (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) +watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + + try: + api_response = api_instance.list_lease_candidate_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) + except ApiException as e: + print("Exception when calling CoordinationV1alpha1Api->list_lease_candidate_for_all_namespaces: %s\n" % e) +``` + +### Parameters + +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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated 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] + **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] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1LeaseCandidateList**](V1alpha1LeaseCandidateList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_namespaced_lease_candidate** +> V1alpha1LeaseCandidateList list_namespaced_lease_candidate(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind LeaseCandidate + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.CoordinationV1alpha1Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) +timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + + try: + api_response = api_instance.list_namespaced_lease_candidate(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) + except ApiException as e: + print("Exception when calling CoordinationV1alpha1Api->list_namespaced_lease_candidate: %s\n" % e) +``` + +### Parameters + +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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1LeaseCandidateList**](V1alpha1LeaseCandidateList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_namespaced_lease_candidate** +> V1alpha1LeaseCandidate patch_namespaced_lease_candidate(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) + + + +partially update the specified LeaseCandidate + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.CoordinationV1alpha1Api(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 | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. 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). (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) +force = True # bool | 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. (optional) + + try: + api_response = api_instance.patch_namespaced_lease_candidate(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) + pprint(api_response) + except ApiException as e: + print("Exception when calling CoordinationV1alpha1Api->patch_namespaced_lease_candidate: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the LeaseCandidate | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. 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). | [optional] + **field_validation** | **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] + **force** | **bool**| 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. | [optional] + +### Return type + +[**V1alpha1LeaseCandidate**](V1alpha1LeaseCandidate.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_namespaced_lease_candidate** +> V1alpha1LeaseCandidate read_namespaced_lease_candidate(name, namespace, pretty=pretty) + + + +read the specified LeaseCandidate + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.CoordinationV1alpha1Api(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) + + try: + api_response = api_instance.read_namespaced_lease_candidate(name, namespace, pretty=pretty) + pprint(api_response) + except ApiException as e: + print("Exception when calling CoordinationV1alpha1Api->read_namespaced_lease_candidate: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the LeaseCandidate | + **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] + +### Return type + +[**V1alpha1LeaseCandidate**](V1alpha1LeaseCandidate.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_namespaced_lease_candidate** +> V1alpha1LeaseCandidate replace_namespaced_lease_candidate(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + + + +replace the specified LeaseCandidate + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.CoordinationV1alpha1Api(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.client.V1alpha1LeaseCandidate() # V1alpha1LeaseCandidate | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) + + try: + api_response = api_instance.replace_namespaced_lease_candidate(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + pprint(api_response) + except ApiException as e: + print("Exception when calling CoordinationV1alpha1Api->replace_namespaced_lease_candidate: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the LeaseCandidate | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1alpha1LeaseCandidate**](V1alpha1LeaseCandidate.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] + +### Return type + +[**V1alpha1LeaseCandidate**](V1alpha1LeaseCandidate.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/kubernetes/docs/NetworkingV1alpha1Api.md b/kubernetes/docs/NetworkingV1beta1Api.md similarity index 93% rename from kubernetes/docs/NetworkingV1alpha1Api.md rename to kubernetes/docs/NetworkingV1beta1Api.md index 0f26f2fc8..19dd51426 100644 --- a/kubernetes/docs/NetworkingV1alpha1Api.md +++ b/kubernetes/docs/NetworkingV1beta1Api.md @@ -1,31 +1,31 @@ -# kubernetes.client.NetworkingV1alpha1Api +# kubernetes.client.NetworkingV1beta1Api All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_ip_address**](NetworkingV1alpha1Api.md#create_ip_address) | **POST** /apis/networking.k8s.io/v1alpha1/ipaddresses | -[**create_service_cidr**](NetworkingV1alpha1Api.md#create_service_cidr) | **POST** /apis/networking.k8s.io/v1alpha1/servicecidrs | -[**delete_collection_ip_address**](NetworkingV1alpha1Api.md#delete_collection_ip_address) | **DELETE** /apis/networking.k8s.io/v1alpha1/ipaddresses | -[**delete_collection_service_cidr**](NetworkingV1alpha1Api.md#delete_collection_service_cidr) | **DELETE** /apis/networking.k8s.io/v1alpha1/servicecidrs | -[**delete_ip_address**](NetworkingV1alpha1Api.md#delete_ip_address) | **DELETE** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -[**delete_service_cidr**](NetworkingV1alpha1Api.md#delete_service_cidr) | **DELETE** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | -[**get_api_resources**](NetworkingV1alpha1Api.md#get_api_resources) | **GET** /apis/networking.k8s.io/v1alpha1/ | -[**list_ip_address**](NetworkingV1alpha1Api.md#list_ip_address) | **GET** /apis/networking.k8s.io/v1alpha1/ipaddresses | -[**list_service_cidr**](NetworkingV1alpha1Api.md#list_service_cidr) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs | -[**patch_ip_address**](NetworkingV1alpha1Api.md#patch_ip_address) | **PATCH** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -[**patch_service_cidr**](NetworkingV1alpha1Api.md#patch_service_cidr) | **PATCH** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | -[**patch_service_cidr_status**](NetworkingV1alpha1Api.md#patch_service_cidr_status) | **PATCH** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | -[**read_ip_address**](NetworkingV1alpha1Api.md#read_ip_address) | **GET** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -[**read_service_cidr**](NetworkingV1alpha1Api.md#read_service_cidr) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | -[**read_service_cidr_status**](NetworkingV1alpha1Api.md#read_service_cidr_status) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | -[**replace_ip_address**](NetworkingV1alpha1Api.md#replace_ip_address) | **PUT** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -[**replace_service_cidr**](NetworkingV1alpha1Api.md#replace_service_cidr) | **PUT** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | -[**replace_service_cidr_status**](NetworkingV1alpha1Api.md#replace_service_cidr_status) | **PUT** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | +[**create_ip_address**](NetworkingV1beta1Api.md#create_ip_address) | **POST** /apis/networking.k8s.io/v1beta1/ipaddresses | +[**create_service_cidr**](NetworkingV1beta1Api.md#create_service_cidr) | **POST** /apis/networking.k8s.io/v1beta1/servicecidrs | +[**delete_collection_ip_address**](NetworkingV1beta1Api.md#delete_collection_ip_address) | **DELETE** /apis/networking.k8s.io/v1beta1/ipaddresses | +[**delete_collection_service_cidr**](NetworkingV1beta1Api.md#delete_collection_service_cidr) | **DELETE** /apis/networking.k8s.io/v1beta1/servicecidrs | +[**delete_ip_address**](NetworkingV1beta1Api.md#delete_ip_address) | **DELETE** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +[**delete_service_cidr**](NetworkingV1beta1Api.md#delete_service_cidr) | **DELETE** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +[**get_api_resources**](NetworkingV1beta1Api.md#get_api_resources) | **GET** /apis/networking.k8s.io/v1beta1/ | +[**list_ip_address**](NetworkingV1beta1Api.md#list_ip_address) | **GET** /apis/networking.k8s.io/v1beta1/ipaddresses | +[**list_service_cidr**](NetworkingV1beta1Api.md#list_service_cidr) | **GET** /apis/networking.k8s.io/v1beta1/servicecidrs | +[**patch_ip_address**](NetworkingV1beta1Api.md#patch_ip_address) | **PATCH** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +[**patch_service_cidr**](NetworkingV1beta1Api.md#patch_service_cidr) | **PATCH** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +[**patch_service_cidr_status**](NetworkingV1beta1Api.md#patch_service_cidr_status) | **PATCH** /apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status | +[**read_ip_address**](NetworkingV1beta1Api.md#read_ip_address) | **GET** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +[**read_service_cidr**](NetworkingV1beta1Api.md#read_service_cidr) | **GET** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +[**read_service_cidr_status**](NetworkingV1beta1Api.md#read_service_cidr_status) | **GET** /apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status | +[**replace_ip_address**](NetworkingV1beta1Api.md#replace_ip_address) | **PUT** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +[**replace_service_cidr**](NetworkingV1beta1Api.md#replace_service_cidr) | **PUT** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +[**replace_service_cidr_status**](NetworkingV1beta1Api.md#replace_service_cidr_status) | **PUT** /apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status | # **create_ip_address** -> V1alpha1IPAddress create_ip_address(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1beta1IPAddress create_ip_address(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -52,8 +52,8 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) - body = kubernetes.client.V1alpha1IPAddress() # V1alpha1IPAddress | + api_instance = kubernetes.client.NetworkingV1beta1Api(api_client) + body = kubernetes.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) @@ -63,14 +63,14 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.create_ip_address(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->create_ip_address: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->create_ip_address: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1alpha1IPAddress**](V1alpha1IPAddress.md)| | + **body** | [**V1beta1IPAddress**](V1beta1IPAddress.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -78,7 +78,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1IPAddress**](V1alpha1IPAddress.md) +[**V1beta1IPAddress**](V1beta1IPAddress.md) ### Authorization @@ -100,7 +100,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_service_cidr** -> V1alpha1ServiceCIDR create_service_cidr(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1beta1ServiceCIDR create_service_cidr(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -127,8 +127,8 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) - body = kubernetes.client.V1alpha1ServiceCIDR() # V1alpha1ServiceCIDR | + api_instance = kubernetes.client.NetworkingV1beta1Api(api_client) + body = kubernetes.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) @@ -138,14 +138,14 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.create_service_cidr(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->create_service_cidr: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->create_service_cidr: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md)| | + **body** | [**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -153,7 +153,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md) +[**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md) ### Authorization @@ -202,7 +202,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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) @@ -222,7 +222,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) 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, 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, timeout_seconds=timeout_seconds, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->delete_collection_ip_address: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->delete_collection_ip_address: %s\n" % e) ``` ### Parameters @@ -293,7 +293,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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) @@ -313,7 +313,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) 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, 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, timeout_seconds=timeout_seconds, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->delete_collection_service_cidr: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->delete_collection_service_cidr: %s\n" % e) ``` ### Parameters @@ -384,7 +384,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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) @@ -397,7 +397,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) api_response = api_instance.delete_ip_address(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->delete_ip_address: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->delete_ip_address: %s\n" % e) ``` ### Parameters @@ -462,7 +462,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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) @@ -475,7 +475,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) api_response = api_instance.delete_service_cidr(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->delete_service_cidr: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->delete_service_cidr: %s\n" % e) ``` ### Parameters @@ -540,13 +540,13 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.client.NetworkingV1beta1Api(api_client) try: api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->get_api_resources: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -574,7 +574,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_ip_address** -> V1alpha1IPAddressList list_ip_address(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) +> V1beta1IPAddressList list_ip_address(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) @@ -601,7 +601,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) @@ -618,7 +618,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_ip_address(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->list_ip_address: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->list_ip_address: %s\n" % e) ``` ### Parameters @@ -639,7 +639,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1IPAddressList**](V1alpha1IPAddressList.md) +[**V1beta1IPAddressList**](V1beta1IPAddressList.md) ### Authorization @@ -659,7 +659,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_service_cidr** -> V1alpha1ServiceCIDRList list_service_cidr(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) +> V1beta1ServiceCIDRList list_service_cidr(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) @@ -686,7 +686,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) @@ -703,7 +703,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_service_cidr(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->list_service_cidr: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->list_service_cidr: %s\n" % e) ``` ### Parameters @@ -724,7 +724,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1ServiceCIDRList**](V1alpha1ServiceCIDRList.md) +[**V1beta1ServiceCIDRList**](V1beta1ServiceCIDRList.md) ### Authorization @@ -744,7 +744,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_ip_address** -> V1alpha1IPAddress patch_ip_address(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) +> V1beta1IPAddress patch_ip_address(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) @@ -771,7 +771,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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) @@ -784,7 +784,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_ip_address(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->patch_ip_address: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->patch_ip_address: %s\n" % e) ``` ### Parameters @@ -801,7 +801,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1IPAddress**](V1alpha1IPAddress.md) +[**V1beta1IPAddress**](V1beta1IPAddress.md) ### Authorization @@ -822,7 +822,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_service_cidr** -> V1alpha1ServiceCIDR patch_service_cidr(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) +> V1beta1ServiceCIDR patch_service_cidr(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) @@ -849,7 +849,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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) @@ -862,7 +862,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_service_cidr(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->patch_service_cidr: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->patch_service_cidr: %s\n" % e) ``` ### Parameters @@ -879,7 +879,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md) +[**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md) ### Authorization @@ -900,7 +900,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_service_cidr_status** -> V1alpha1ServiceCIDR patch_service_cidr_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) +> V1beta1ServiceCIDR patch_service_cidr_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) @@ -927,7 +927,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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) @@ -940,7 +940,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_service_cidr_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->patch_service_cidr_status: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->patch_service_cidr_status: %s\n" % e) ``` ### Parameters @@ -957,7 +957,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md) +[**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md) ### Authorization @@ -978,7 +978,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_ip_address** -> V1alpha1IPAddress read_ip_address(name, pretty=pretty) +> V1beta1IPAddress read_ip_address(name, pretty=pretty) @@ -1005,7 +1005,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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) @@ -1013,7 +1013,7 @@ pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. api_response = api_instance.read_ip_address(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->read_ip_address: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->read_ip_address: %s\n" % e) ``` ### Parameters @@ -1025,7 +1025,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1IPAddress**](V1alpha1IPAddress.md) +[**V1beta1IPAddress**](V1beta1IPAddress.md) ### Authorization @@ -1045,7 +1045,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_service_cidr** -> V1alpha1ServiceCIDR read_service_cidr(name, pretty=pretty) +> V1beta1ServiceCIDR read_service_cidr(name, pretty=pretty) @@ -1072,7 +1072,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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) @@ -1080,7 +1080,7 @@ pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. api_response = api_instance.read_service_cidr(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->read_service_cidr: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->read_service_cidr: %s\n" % e) ``` ### Parameters @@ -1092,7 +1092,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md) +[**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md) ### Authorization @@ -1112,7 +1112,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_service_cidr_status** -> V1alpha1ServiceCIDR read_service_cidr_status(name, pretty=pretty) +> V1beta1ServiceCIDR read_service_cidr_status(name, pretty=pretty) @@ -1139,7 +1139,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.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) @@ -1147,7 +1147,7 @@ pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. api_response = api_instance.read_service_cidr_status(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->read_service_cidr_status: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->read_service_cidr_status: %s\n" % e) ``` ### Parameters @@ -1159,7 +1159,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md) +[**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md) ### Authorization @@ -1179,7 +1179,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_ip_address** -> V1alpha1IPAddress replace_ip_address(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1beta1IPAddress replace_ip_address(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -1206,9 +1206,9 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the IPAddress -body = kubernetes.client.V1alpha1IPAddress() # V1alpha1IPAddress | +body = kubernetes.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) @@ -1218,7 +1218,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.replace_ip_address(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->replace_ip_address: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->replace_ip_address: %s\n" % e) ``` ### Parameters @@ -1226,7 +1226,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the IPAddress | - **body** | [**V1alpha1IPAddress**](V1alpha1IPAddress.md)| | + **body** | [**V1beta1IPAddress**](V1beta1IPAddress.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -1234,7 +1234,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1IPAddress**](V1alpha1IPAddress.md) +[**V1beta1IPAddress**](V1beta1IPAddress.md) ### Authorization @@ -1255,7 +1255,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_service_cidr** -> V1alpha1ServiceCIDR replace_service_cidr(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1beta1ServiceCIDR replace_service_cidr(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -1282,9 +1282,9 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR -body = kubernetes.client.V1alpha1ServiceCIDR() # V1alpha1ServiceCIDR | +body = kubernetes.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) @@ -1294,7 +1294,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.replace_service_cidr(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->replace_service_cidr: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->replace_service_cidr: %s\n" % e) ``` ### Parameters @@ -1302,7 +1302,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ServiceCIDR | - **body** | [**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md)| | + **body** | [**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -1310,7 +1310,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md) +[**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md) ### Authorization @@ -1331,7 +1331,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_service_cidr_status** -> V1alpha1ServiceCIDR replace_service_cidr_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1beta1ServiceCIDR replace_service_cidr_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -1358,9 +1358,9 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.NetworkingV1alpha1Api(api_client) + api_instance = kubernetes.client.NetworkingV1beta1Api(api_client) name = 'name_example' # str | name of the ServiceCIDR -body = kubernetes.client.V1alpha1ServiceCIDR() # V1alpha1ServiceCIDR | +body = kubernetes.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) @@ -1370,7 +1370,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.replace_service_cidr_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkingV1alpha1Api->replace_service_cidr_status: %s\n" % e) + print("Exception when calling NetworkingV1beta1Api->replace_service_cidr_status: %s\n" % e) ``` ### Parameters @@ -1378,7 +1378,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ServiceCIDR | - **body** | [**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md)| | + **body** | [**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -1386,7 +1386,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1ServiceCIDR**](V1alpha1ServiceCIDR.md) +[**V1beta1ServiceCIDR**](V1beta1ServiceCIDR.md) ### Authorization diff --git a/kubernetes/docs/ResourceV1alpha2Api.md b/kubernetes/docs/ResourceV1alpha3Api.md similarity index 67% rename from kubernetes/docs/ResourceV1alpha2Api.md rename to kubernetes/docs/ResourceV1alpha3Api.md index 2cfa39ad1..c64ca52bf 100644 --- a/kubernetes/docs/ResourceV1alpha2Api.md +++ b/kubernetes/docs/ResourceV1alpha3Api.md @@ -1,74 +1,133 @@ -# kubernetes.client.ResourceV1alpha2Api +# kubernetes.client.ResourceV1alpha3Api All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_namespaced_pod_scheduling_context**](ResourceV1alpha2Api.md#create_namespaced_pod_scheduling_context) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts | -[**create_namespaced_resource_claim**](ResourceV1alpha2Api.md#create_namespaced_resource_claim) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims | -[**create_namespaced_resource_claim_parameters**](ResourceV1alpha2Api.md#create_namespaced_resource_claim_parameters) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters | -[**create_namespaced_resource_claim_template**](ResourceV1alpha2Api.md#create_namespaced_resource_claim_template) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates | -[**create_namespaced_resource_class_parameters**](ResourceV1alpha2Api.md#create_namespaced_resource_class_parameters) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters | -[**create_resource_class**](ResourceV1alpha2Api.md#create_resource_class) | **POST** /apis/resource.k8s.io/v1alpha2/resourceclasses | -[**create_resource_slice**](ResourceV1alpha2Api.md#create_resource_slice) | **POST** /apis/resource.k8s.io/v1alpha2/resourceslices | -[**delete_collection_namespaced_pod_scheduling_context**](ResourceV1alpha2Api.md#delete_collection_namespaced_pod_scheduling_context) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts | -[**delete_collection_namespaced_resource_claim**](ResourceV1alpha2Api.md#delete_collection_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims | -[**delete_collection_namespaced_resource_claim_parameters**](ResourceV1alpha2Api.md#delete_collection_namespaced_resource_claim_parameters) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters | -[**delete_collection_namespaced_resource_claim_template**](ResourceV1alpha2Api.md#delete_collection_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates | -[**delete_collection_namespaced_resource_class_parameters**](ResourceV1alpha2Api.md#delete_collection_namespaced_resource_class_parameters) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters | -[**delete_collection_resource_class**](ResourceV1alpha2Api.md#delete_collection_resource_class) | **DELETE** /apis/resource.k8s.io/v1alpha2/resourceclasses | -[**delete_collection_resource_slice**](ResourceV1alpha2Api.md#delete_collection_resource_slice) | **DELETE** /apis/resource.k8s.io/v1alpha2/resourceslices | -[**delete_namespaced_pod_scheduling_context**](ResourceV1alpha2Api.md#delete_namespaced_pod_scheduling_context) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name} | -[**delete_namespaced_resource_claim**](ResourceV1alpha2Api.md#delete_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name} | -[**delete_namespaced_resource_claim_parameters**](ResourceV1alpha2Api.md#delete_namespaced_resource_claim_parameters) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name} | -[**delete_namespaced_resource_claim_template**](ResourceV1alpha2Api.md#delete_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name} | -[**delete_namespaced_resource_class_parameters**](ResourceV1alpha2Api.md#delete_namespaced_resource_class_parameters) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name} | -[**delete_resource_class**](ResourceV1alpha2Api.md#delete_resource_class) | **DELETE** /apis/resource.k8s.io/v1alpha2/resourceclasses/{name} | -[**delete_resource_slice**](ResourceV1alpha2Api.md#delete_resource_slice) | **DELETE** /apis/resource.k8s.io/v1alpha2/resourceslices/{name} | -[**get_api_resources**](ResourceV1alpha2Api.md#get_api_resources) | **GET** /apis/resource.k8s.io/v1alpha2/ | -[**list_namespaced_pod_scheduling_context**](ResourceV1alpha2Api.md#list_namespaced_pod_scheduling_context) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts | -[**list_namespaced_resource_claim**](ResourceV1alpha2Api.md#list_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims | -[**list_namespaced_resource_claim_parameters**](ResourceV1alpha2Api.md#list_namespaced_resource_claim_parameters) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters | -[**list_namespaced_resource_claim_template**](ResourceV1alpha2Api.md#list_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates | -[**list_namespaced_resource_class_parameters**](ResourceV1alpha2Api.md#list_namespaced_resource_class_parameters) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters | -[**list_pod_scheduling_context_for_all_namespaces**](ResourceV1alpha2Api.md#list_pod_scheduling_context_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/podschedulingcontexts | -[**list_resource_claim_for_all_namespaces**](ResourceV1alpha2Api.md#list_resource_claim_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclaims | -[**list_resource_claim_parameters_for_all_namespaces**](ResourceV1alpha2Api.md#list_resource_claim_parameters_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclaimparameters | -[**list_resource_claim_template_for_all_namespaces**](ResourceV1alpha2Api.md#list_resource_claim_template_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclaimtemplates | -[**list_resource_class**](ResourceV1alpha2Api.md#list_resource_class) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclasses | -[**list_resource_class_parameters_for_all_namespaces**](ResourceV1alpha2Api.md#list_resource_class_parameters_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclassparameters | -[**list_resource_slice**](ResourceV1alpha2Api.md#list_resource_slice) | **GET** /apis/resource.k8s.io/v1alpha2/resourceslices | -[**patch_namespaced_pod_scheduling_context**](ResourceV1alpha2Api.md#patch_namespaced_pod_scheduling_context) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name} | -[**patch_namespaced_pod_scheduling_context_status**](ResourceV1alpha2Api.md#patch_namespaced_pod_scheduling_context_status) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status | -[**patch_namespaced_resource_claim**](ResourceV1alpha2Api.md#patch_namespaced_resource_claim) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name} | -[**patch_namespaced_resource_claim_parameters**](ResourceV1alpha2Api.md#patch_namespaced_resource_claim_parameters) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name} | -[**patch_namespaced_resource_claim_status**](ResourceV1alpha2Api.md#patch_namespaced_resource_claim_status) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status | -[**patch_namespaced_resource_claim_template**](ResourceV1alpha2Api.md#patch_namespaced_resource_claim_template) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name} | -[**patch_namespaced_resource_class_parameters**](ResourceV1alpha2Api.md#patch_namespaced_resource_class_parameters) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name} | -[**patch_resource_class**](ResourceV1alpha2Api.md#patch_resource_class) | **PATCH** /apis/resource.k8s.io/v1alpha2/resourceclasses/{name} | -[**patch_resource_slice**](ResourceV1alpha2Api.md#patch_resource_slice) | **PATCH** /apis/resource.k8s.io/v1alpha2/resourceslices/{name} | -[**read_namespaced_pod_scheduling_context**](ResourceV1alpha2Api.md#read_namespaced_pod_scheduling_context) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name} | -[**read_namespaced_pod_scheduling_context_status**](ResourceV1alpha2Api.md#read_namespaced_pod_scheduling_context_status) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status | -[**read_namespaced_resource_claim**](ResourceV1alpha2Api.md#read_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name} | -[**read_namespaced_resource_claim_parameters**](ResourceV1alpha2Api.md#read_namespaced_resource_claim_parameters) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name} | -[**read_namespaced_resource_claim_status**](ResourceV1alpha2Api.md#read_namespaced_resource_claim_status) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status | -[**read_namespaced_resource_claim_template**](ResourceV1alpha2Api.md#read_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name} | -[**read_namespaced_resource_class_parameters**](ResourceV1alpha2Api.md#read_namespaced_resource_class_parameters) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name} | -[**read_resource_class**](ResourceV1alpha2Api.md#read_resource_class) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclasses/{name} | -[**read_resource_slice**](ResourceV1alpha2Api.md#read_resource_slice) | **GET** /apis/resource.k8s.io/v1alpha2/resourceslices/{name} | -[**replace_namespaced_pod_scheduling_context**](ResourceV1alpha2Api.md#replace_namespaced_pod_scheduling_context) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name} | -[**replace_namespaced_pod_scheduling_context_status**](ResourceV1alpha2Api.md#replace_namespaced_pod_scheduling_context_status) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status | -[**replace_namespaced_resource_claim**](ResourceV1alpha2Api.md#replace_namespaced_resource_claim) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name} | -[**replace_namespaced_resource_claim_parameters**](ResourceV1alpha2Api.md#replace_namespaced_resource_claim_parameters) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name} | -[**replace_namespaced_resource_claim_status**](ResourceV1alpha2Api.md#replace_namespaced_resource_claim_status) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status | -[**replace_namespaced_resource_claim_template**](ResourceV1alpha2Api.md#replace_namespaced_resource_claim_template) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name} | -[**replace_namespaced_resource_class_parameters**](ResourceV1alpha2Api.md#replace_namespaced_resource_class_parameters) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name} | -[**replace_resource_class**](ResourceV1alpha2Api.md#replace_resource_class) | **PUT** /apis/resource.k8s.io/v1alpha2/resourceclasses/{name} | -[**replace_resource_slice**](ResourceV1alpha2Api.md#replace_resource_slice) | **PUT** /apis/resource.k8s.io/v1alpha2/resourceslices/{name} | +[**create_device_class**](ResourceV1alpha3Api.md#create_device_class) | **POST** /apis/resource.k8s.io/v1alpha3/deviceclasses | +[**create_namespaced_pod_scheduling_context**](ResourceV1alpha3Api.md#create_namespaced_pod_scheduling_context) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts | +[**create_namespaced_resource_claim**](ResourceV1alpha3Api.md#create_namespaced_resource_claim) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | +[**create_namespaced_resource_claim_template**](ResourceV1alpha3Api.md#create_namespaced_resource_claim_template) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | +[**create_resource_slice**](ResourceV1alpha3Api.md#create_resource_slice) | **POST** /apis/resource.k8s.io/v1alpha3/resourceslices | +[**delete_collection_device_class**](ResourceV1alpha3Api.md#delete_collection_device_class) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses | +[**delete_collection_namespaced_pod_scheduling_context**](ResourceV1alpha3Api.md#delete_collection_namespaced_pod_scheduling_context) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts | +[**delete_collection_namespaced_resource_claim**](ResourceV1alpha3Api.md#delete_collection_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | +[**delete_collection_namespaced_resource_claim_template**](ResourceV1alpha3Api.md#delete_collection_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | +[**delete_collection_resource_slice**](ResourceV1alpha3Api.md#delete_collection_resource_slice) | **DELETE** /apis/resource.k8s.io/v1alpha3/resourceslices | +[**delete_device_class**](ResourceV1alpha3Api.md#delete_device_class) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +[**delete_namespaced_pod_scheduling_context**](ResourceV1alpha3Api.md#delete_namespaced_pod_scheduling_context) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name} | +[**delete_namespaced_resource_claim**](ResourceV1alpha3Api.md#delete_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +[**delete_namespaced_resource_claim_template**](ResourceV1alpha3Api.md#delete_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**delete_resource_slice**](ResourceV1alpha3Api.md#delete_resource_slice) | **DELETE** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +[**get_api_resources**](ResourceV1alpha3Api.md#get_api_resources) | **GET** /apis/resource.k8s.io/v1alpha3/ | +[**list_device_class**](ResourceV1alpha3Api.md#list_device_class) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses | +[**list_namespaced_pod_scheduling_context**](ResourceV1alpha3Api.md#list_namespaced_pod_scheduling_context) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts | +[**list_namespaced_resource_claim**](ResourceV1alpha3Api.md#list_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | +[**list_namespaced_resource_claim_template**](ResourceV1alpha3Api.md#list_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | +[**list_pod_scheduling_context_for_all_namespaces**](ResourceV1alpha3Api.md#list_pod_scheduling_context_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha3/podschedulingcontexts | +[**list_resource_claim_for_all_namespaces**](ResourceV1alpha3Api.md#list_resource_claim_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha3/resourceclaims | +[**list_resource_claim_template_for_all_namespaces**](ResourceV1alpha3Api.md#list_resource_claim_template_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha3/resourceclaimtemplates | +[**list_resource_slice**](ResourceV1alpha3Api.md#list_resource_slice) | **GET** /apis/resource.k8s.io/v1alpha3/resourceslices | +[**patch_device_class**](ResourceV1alpha3Api.md#patch_device_class) | **PATCH** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +[**patch_namespaced_pod_scheduling_context**](ResourceV1alpha3Api.md#patch_namespaced_pod_scheduling_context) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name} | +[**patch_namespaced_pod_scheduling_context_status**](ResourceV1alpha3Api.md#patch_namespaced_pod_scheduling_context_status) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status | +[**patch_namespaced_resource_claim**](ResourceV1alpha3Api.md#patch_namespaced_resource_claim) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +[**patch_namespaced_resource_claim_status**](ResourceV1alpha3Api.md#patch_namespaced_resource_claim_status) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | +[**patch_namespaced_resource_claim_template**](ResourceV1alpha3Api.md#patch_namespaced_resource_claim_template) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**patch_resource_slice**](ResourceV1alpha3Api.md#patch_resource_slice) | **PATCH** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +[**read_device_class**](ResourceV1alpha3Api.md#read_device_class) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +[**read_namespaced_pod_scheduling_context**](ResourceV1alpha3Api.md#read_namespaced_pod_scheduling_context) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name} | +[**read_namespaced_pod_scheduling_context_status**](ResourceV1alpha3Api.md#read_namespaced_pod_scheduling_context_status) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status | +[**read_namespaced_resource_claim**](ResourceV1alpha3Api.md#read_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +[**read_namespaced_resource_claim_status**](ResourceV1alpha3Api.md#read_namespaced_resource_claim_status) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | +[**read_namespaced_resource_claim_template**](ResourceV1alpha3Api.md#read_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**read_resource_slice**](ResourceV1alpha3Api.md#read_resource_slice) | **GET** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +[**replace_device_class**](ResourceV1alpha3Api.md#replace_device_class) | **PUT** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +[**replace_namespaced_pod_scheduling_context**](ResourceV1alpha3Api.md#replace_namespaced_pod_scheduling_context) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name} | +[**replace_namespaced_pod_scheduling_context_status**](ResourceV1alpha3Api.md#replace_namespaced_pod_scheduling_context_status) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status | +[**replace_namespaced_resource_claim**](ResourceV1alpha3Api.md#replace_namespaced_resource_claim) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +[**replace_namespaced_resource_claim_status**](ResourceV1alpha3Api.md#replace_namespaced_resource_claim_status) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | +[**replace_namespaced_resource_claim_template**](ResourceV1alpha3Api.md#replace_namespaced_resource_claim_template) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**replace_resource_slice**](ResourceV1alpha3Api.md#replace_resource_slice) | **PUT** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +# **create_device_class** +> V1alpha3DeviceClass create_device_class(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + + + +create a DeviceClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) + body = kubernetes.client.V1alpha3DeviceClass() # V1alpha3DeviceClass | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) + + try: + api_response = api_instance.create_device_class(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + pprint(api_response) + except ApiException as e: + print("Exception when calling ResourceV1alpha3Api->create_device_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1alpha3DeviceClass**](V1alpha3DeviceClass.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] + +### Return type + +[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_namespaced_pod_scheduling_context** -> V1alpha2PodSchedulingContext create_namespaced_pod_scheduling_context(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3PodSchedulingContext create_namespaced_pod_scheduling_context(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -95,9 +154,9 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha2PodSchedulingContext() # V1alpha2PodSchedulingContext | +body = kubernetes.client.V1alpha3PodSchedulingContext() # V1alpha3PodSchedulingContext | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -107,7 +166,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.create_namespaced_pod_scheduling_context(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->create_namespaced_pod_scheduling_context: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->create_namespaced_pod_scheduling_context: %s\n" % e) ``` ### Parameters @@ -115,7 +174,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md)| | + **body** | [**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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,7 +182,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md) +[**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md) ### Authorization @@ -145,7 +204,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_resource_claim** -> V1alpha2ResourceClaim create_namespaced_resource_claim(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3ResourceClaim create_namespaced_resource_claim(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -172,9 +231,9 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha2ResourceClaim() # V1alpha2ResourceClaim | +body = kubernetes.client.V1alpha3ResourceClaim() # V1alpha3ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -184,7 +243,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.create_namespaced_resource_claim(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->create_namespaced_resource_claim: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->create_namespaced_resource_claim: %s\n" % e) ``` ### Parameters @@ -192,7 +251,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md)| | + **body** | [**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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,84 +259,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**202** | Accepted | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_resource_claim_parameters** -> V1alpha2ResourceClaimParameters create_namespaced_resource_claim_parameters(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - - - -create ResourceClaimParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha2ResourceClaimParameters() # V1alpha2ResourceClaimParameters | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) - - try: - api_response = api_instance.create_namespaced_resource_claim_parameters(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->create_namespaced_resource_claim_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2ResourceClaimParameters**](V1alpha2ResourceClaimParameters.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] - -### Return type - -[**V1alpha2ResourceClaimParameters**](V1alpha2ResourceClaimParameters.md) +[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) ### Authorization @@ -299,7 +281,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_resource_claim_template** -> V1alpha2ResourceClaimTemplate create_namespaced_resource_claim_template(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3ResourceClaimTemplate create_namespaced_resource_claim_template(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -326,9 +308,9 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha2ResourceClaimTemplate() # V1alpha2ResourceClaimTemplate | +body = kubernetes.client.V1alpha3ResourceClaimTemplate() # V1alpha3ResourceClaimTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -338,7 +320,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.create_namespaced_resource_claim_template(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->create_namespaced_resource_claim_template: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->create_namespaced_resource_claim_template: %s\n" % e) ``` ### Parameters @@ -346,7 +328,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2ResourceClaimTemplate**](V1alpha2ResourceClaimTemplate.md)| | + **body** | [**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -354,159 +336,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaimTemplate**](V1alpha2ResourceClaimTemplate.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**202** | Accepted | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_resource_class_parameters** -> V1alpha2ResourceClassParameters create_namespaced_resource_class_parameters(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - - - -create ResourceClassParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha2ResourceClassParameters() # V1alpha2ResourceClassParameters | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) - - try: - api_response = api_instance.create_namespaced_resource_class_parameters(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->create_namespaced_resource_class_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2ResourceClassParameters**](V1alpha2ResourceClassParameters.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] - -### Return type - -[**V1alpha2ResourceClassParameters**](V1alpha2ResourceClassParameters.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**202** | Accepted | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_resource_class** -> V1alpha2ResourceClass create_resource_class(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - - - -create a ResourceClass - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - body = kubernetes.client.V1alpha2ResourceClass() # V1alpha2ResourceClass | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) - - try: - api_response = api_instance.create_resource_class(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->create_resource_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1alpha2ResourceClass**](V1alpha2ResourceClass.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] - -### Return type - -[**V1alpha2ResourceClass**](V1alpha2ResourceClass.md) +[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) ### Authorization @@ -528,7 +358,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_resource_slice** -> V1alpha2ResourceSlice create_resource_slice(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3ResourceSlice create_resource_slice(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -555,8 +385,8 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - body = kubernetes.client.V1alpha2ResourceSlice() # V1alpha2ResourceSlice | + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) + body = kubernetes.client.V1alpha3ResourceSlice() # V1alpha3ResourceSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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,14 +396,14 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.create_resource_slice(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->create_resource_slice: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->create_resource_slice: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1alpha2ResourceSlice**](V1alpha2ResourceSlice.md)| | + **body** | [**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -581,7 +411,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceSlice**](V1alpha2ResourceSlice.md) +[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) ### Authorization @@ -602,6 +432,97 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_collection_device_class** +> V1Status delete_collection_device_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) + + + +delete collection of DeviceClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) +resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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) +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.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, 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, timeout_seconds=timeout_seconds, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling ResourceV1alpha3Api->delete_collection_device_class: %s\n" % e) +``` + +### Parameters + +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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] + **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_collection_namespaced_pod_scheduling_context** > V1Status delete_collection_namespaced_pod_scheduling_context(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) @@ -630,7 +551,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) @@ -651,7 +572,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) api_response = api_instance.delete_collection_namespaced_pod_scheduling_context(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_collection_namespaced_pod_scheduling_context: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->delete_collection_namespaced_pod_scheduling_context: %s\n" % e) ``` ### Parameters @@ -723,7 +644,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) @@ -744,100 +665,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) 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, 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, timeout_seconds=timeout_seconds, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_collection_namespaced_resource_claim: %s\n" % e) -``` - -### Parameters - -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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] - **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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] - **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_resource_claim_parameters** -> V1Status delete_collection_namespaced_resource_claim_parameters(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) - - - -delete collection of ResourceClaimParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) -resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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) -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.client.V1DeleteOptions() # V1DeleteOptions | (optional) - - try: - api_response = api_instance.delete_collection_namespaced_resource_claim_parameters(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_collection_namespaced_resource_claim_parameters: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->delete_collection_namespaced_resource_claim: %s\n" % e) ``` ### Parameters @@ -909,7 +737,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) @@ -930,7 +758,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) 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, 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, timeout_seconds=timeout_seconds, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_collection_namespaced_resource_claim_template: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->delete_collection_namespaced_resource_claim_template: %s\n" % e) ``` ### Parameters @@ -974,190 +802,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_resource_class_parameters** -> V1Status delete_collection_namespaced_resource_class_parameters(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) - - - -delete collection of ResourceClassParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) -resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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) -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.client.V1DeleteOptions() # V1DeleteOptions | (optional) - - try: - api_response = api_instance.delete_collection_namespaced_resource_class_parameters(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_collection_namespaced_resource_class_parameters: %s\n" % e) -``` - -### Parameters - -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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] - **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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] - **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_resource_class** -> V1Status delete_collection_resource_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) - - - -delete collection of ResourceClass - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) -resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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) -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.client.V1DeleteOptions() # V1DeleteOptions | (optional) - - try: - api_response = api_instance.delete_collection_resource_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_collection_resource_class: %s\n" % e) -``` - -### Parameters - -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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] - **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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] - **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **delete_collection_resource_slice** > V1Status delete_collection_resource_slice(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) @@ -1186,7 +830,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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) @@ -1206,7 +850,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) 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, 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, timeout_seconds=timeout_seconds, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_collection_resource_slice: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->delete_collection_resource_slice: %s\n" % e) ``` ### Parameters @@ -1249,8 +893,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_device_class** +> V1alpha3DeviceClass delete_device_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + + + +delete a DeviceClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.ResourceV1alpha3Api(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) +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) +orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; '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.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, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling ResourceV1alpha3Api->delete_device_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the DeviceClass | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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] + **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] + **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] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_namespaced_pod_scheduling_context** -> V1alpha2PodSchedulingContext delete_namespaced_pod_scheduling_context(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> V1alpha3PodSchedulingContext delete_namespaced_pod_scheduling_context(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1277,7 +999,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the PodSchedulingContext namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -1291,7 +1013,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) api_response = api_instance.delete_namespaced_pod_scheduling_context(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_namespaced_pod_scheduling_context: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->delete_namespaced_pod_scheduling_context: %s\n" % e) ``` ### Parameters @@ -1309,7 +1031,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md) +[**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md) ### Authorization @@ -1330,7 +1052,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_resource_claim** -> V1alpha2ResourceClaim delete_namespaced_resource_claim(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> V1alpha3ResourceClaim delete_namespaced_resource_claim(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1357,7 +1079,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -1371,7 +1093,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) api_response = api_instance.delete_namespaced_resource_claim(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_namespaced_resource_claim: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->delete_namespaced_resource_claim: %s\n" % e) ``` ### Parameters @@ -1389,87 +1111,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**202** | Accepted | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_resource_claim_parameters** -> V1alpha2ResourceClaimParameters delete_namespaced_resource_claim_parameters(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) - - - -delete ResourceClaimParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClaimParameters -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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 = 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) -orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) -propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; '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.client.V1DeleteOptions() # V1DeleteOptions | (optional) - - try: - api_response = api_instance.delete_namespaced_resource_claim_parameters(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_namespaced_resource_claim_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClaimParameters | - **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] - **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] - **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] - **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] - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] - -### Return type - -[**V1alpha2ResourceClaimParameters**](V1alpha2ResourceClaimParameters.md) +[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) ### Authorization @@ -1490,7 +1132,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_resource_claim_template** -> V1alpha2ResourceClaimTemplate delete_namespaced_resource_claim_template(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> V1alpha3ResourceClaimTemplate delete_namespaced_resource_claim_template(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1517,7 +1159,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -1531,7 +1173,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) api_response = api_instance.delete_namespaced_resource_claim_template(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_namespaced_resource_claim_template: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->delete_namespaced_resource_claim_template: %s\n" % e) ``` ### Parameters @@ -1549,165 +1191,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaimTemplate**](V1alpha2ResourceClaimTemplate.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**202** | Accepted | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_resource_class_parameters** -> V1alpha2ResourceClassParameters delete_namespaced_resource_class_parameters(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) - - - -delete ResourceClassParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClassParameters -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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 = 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) -orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) -propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; '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.client.V1DeleteOptions() # V1DeleteOptions | (optional) - - try: - api_response = api_instance.delete_namespaced_resource_class_parameters(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_namespaced_resource_class_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClassParameters | - **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] - **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] - **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] - **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] - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] - -### Return type - -[**V1alpha2ResourceClassParameters**](V1alpha2ResourceClassParameters.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**202** | Accepted | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_resource_class** -> V1alpha2ResourceClass delete_resource_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) - - - -delete a ResourceClass - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClass -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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 = 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) -orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) -propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; '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.client.V1DeleteOptions() # V1DeleteOptions | (optional) - - try: - api_response = api_instance.delete_resource_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_resource_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClass | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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] - **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] - **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] - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] - -### Return type - -[**V1alpha2ResourceClass**](V1alpha2ResourceClass.md) +[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) ### Authorization @@ -1728,7 +1212,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_resource_slice** -> V1alpha2ResourceSlice delete_resource_slice(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) +> V1alpha3ResourceSlice delete_resource_slice(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -1755,7 +1239,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -1768,7 +1252,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) api_response = api_instance.delete_resource_slice(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->delete_resource_slice: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->delete_resource_slice: %s\n" % e) ``` ### Parameters @@ -1785,7 +1269,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceSlice**](V1alpha2ResourceSlice.md) +[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) ### Authorization @@ -1833,13 +1317,13 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) try: api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->get_api_resources: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -1866,8 +1350,93 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **list_device_class** +> V1alpha3DeviceClassList list_device_class(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind DeviceClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) +timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + + try: + api_response = api_instance.list_device_class(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) + except ApiException as e: + print("Exception when calling ResourceV1alpha3Api->list_device_class: %s\n" % e) +``` + +### Parameters + +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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha3DeviceClassList**](V1alpha3DeviceClassList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **list_namespaced_pod_scheduling_context** -> V1alpha2PodSchedulingContextList list_namespaced_pod_scheduling_context(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) +> V1alpha3PodSchedulingContextList list_namespaced_pod_scheduling_context(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) @@ -1894,7 +1463,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -1912,7 +1481,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_namespaced_pod_scheduling_context(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_namespaced_pod_scheduling_context: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->list_namespaced_pod_scheduling_context: %s\n" % e) ``` ### Parameters @@ -1934,7 +1503,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContextList**](V1alpha2PodSchedulingContextList.md) +[**V1alpha3PodSchedulingContextList**](V1alpha3PodSchedulingContextList.md) ### Authorization @@ -1954,7 +1523,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_resource_claim** -> V1alpha2ResourceClaimList list_namespaced_resource_claim(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) +> V1alpha3ResourceClaimList list_namespaced_resource_claim(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) @@ -1981,7 +1550,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -1999,7 +1568,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_namespaced_resource_claim(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_namespaced_resource_claim: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->list_namespaced_resource_claim: %s\n" % e) ``` ### Parameters @@ -2021,94 +1590,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaimList**](V1alpha2ResourceClaimList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_resource_claim_parameters** -> V1alpha2ResourceClaimParametersList list_namespaced_resource_claim_parameters(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ResourceClaimParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) -timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - - try: - api_response = api_instance.list_namespaced_resource_claim_parameters(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_namespaced_resource_claim_parameters: %s\n" % e) -``` - -### Parameters - -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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] - **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1alpha2ResourceClaimParametersList**](V1alpha2ResourceClaimParametersList.md) +[**V1alpha3ResourceClaimList**](V1alpha3ResourceClaimList.md) ### Authorization @@ -2128,7 +1610,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_resource_claim_template** -> V1alpha2ResourceClaimTemplateList list_namespaced_resource_claim_template(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) +> V1alpha3ResourceClaimTemplateList list_namespaced_resource_claim_template(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) @@ -2155,7 +1637,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -2173,7 +1655,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_namespaced_resource_claim_template(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_namespaced_resource_claim_template: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->list_namespaced_resource_claim_template: %s\n" % e) ``` ### Parameters @@ -2195,94 +1677,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaimTemplateList**](V1alpha2ResourceClaimTemplateList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_resource_class_parameters** -> V1alpha2ResourceClassParametersList list_namespaced_resource_class_parameters(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ResourceClassParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) -timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - - try: - api_response = api_instance.list_namespaced_resource_class_parameters(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_namespaced_resource_class_parameters: %s\n" % e) -``` - -### Parameters - -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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] - **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1alpha2ResourceClassParametersList**](V1alpha2ResourceClassParametersList.md) +[**V1alpha3ResourceClaimTemplateList**](V1alpha3ResourceClaimTemplateList.md) ### Authorization @@ -2302,7 +1697,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_pod_scheduling_context_for_all_namespaces** -> V1alpha2PodSchedulingContextList list_pod_scheduling_context_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) +> V1alpha3PodSchedulingContextList list_pod_scheduling_context_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) @@ -2329,7 +1724,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) @@ -2346,7 +1741,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_pod_scheduling_context_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_pod_scheduling_context_for_all_namespaces: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->list_pod_scheduling_context_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -2367,7 +1762,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContextList**](V1alpha2PodSchedulingContextList.md) +[**V1alpha3PodSchedulingContextList**](V1alpha3PodSchedulingContextList.md) ### Authorization @@ -2387,7 +1782,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_resource_claim_for_all_namespaces** -> V1alpha2ResourceClaimList list_resource_claim_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) +> V1alpha3ResourceClaimList list_resource_claim_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) @@ -2414,7 +1809,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) @@ -2431,7 +1826,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_resource_claim_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_resource_claim_for_all_namespaces: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->list_resource_claim_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -2452,92 +1847,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaimList**](V1alpha2ResourceClaimList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_resource_claim_parameters_for_all_namespaces** -> V1alpha2ResourceClaimParametersList list_resource_claim_parameters_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ResourceClaimParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated 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) -send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (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) -watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - - try: - api_response = api_instance.list_resource_claim_parameters_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_resource_claim_parameters_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated 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] - **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] - **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1alpha2ResourceClaimParametersList**](V1alpha2ResourceClaimParametersList.md) +[**V1alpha3ResourceClaimList**](V1alpha3ResourceClaimList.md) ### Authorization @@ -2557,7 +1867,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_resource_claim_template_for_all_namespaces** -> V1alpha2ResourceClaimTemplateList list_resource_claim_template_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) +> V1alpha3ResourceClaimTemplateList list_resource_claim_template_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) @@ -2584,7 +1894,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) @@ -2601,7 +1911,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_resource_claim_template_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_resource_claim_template_for_all_namespaces: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->list_resource_claim_template_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -2622,177 +1932,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaimTemplateList**](V1alpha2ResourceClaimTemplateList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_resource_class** -> V1alpha2ResourceClassList list_resource_class(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ResourceClass - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) -timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) -watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - - try: - api_response = api_instance.list_resource_class(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_resource_class: %s\n" % e) -``` - -### Parameters - -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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] - **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1alpha2ResourceClassList**](V1alpha2ResourceClassList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_resource_class_parameters_for_all_namespaces** -> V1alpha2ResourceClassParametersList list_resource_class_parameters_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ResourceClassParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated 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) -send_initial_events = True # bool | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (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) -watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - - try: - api_response = api_instance.list_resource_class_parameters_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_resource_class_parameters_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated 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] - **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] - **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1alpha2ResourceClassParametersList**](V1alpha2ResourceClassParametersList.md) +[**V1alpha3ResourceClaimTemplateList**](V1alpha3ResourceClaimTemplateList.md) ### Authorization @@ -2812,7 +1952,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_resource_slice** -> V1alpha2ResourceSliceList list_resource_slice(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) +> V1alpha3ResourceSliceList list_resource_slice(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) @@ -2839,7 +1979,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) @@ -2856,7 +1996,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_resource_slice(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->list_resource_slice: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->list_resource_slice: %s\n" % e) ``` ### Parameters @@ -2877,7 +2017,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceSliceList**](V1alpha2ResourceSliceList.md) +[**V1alpha3ResourceSliceList**](V1alpha3ResourceSliceList.md) ### Authorization @@ -2896,8 +2036,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **patch_device_class** +> V1alpha3DeviceClass patch_device_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) + + + +partially update the specified DeviceClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.ResourceV1alpha3Api(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) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. 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). (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) +force = True # bool | 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. (optional) + + try: + api_response = api_instance.patch_device_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) + pprint(api_response) + except ApiException as e: + print("Exception when calling ResourceV1alpha3Api->patch_device_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the DeviceClass | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. 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). | [optional] + **field_validation** | **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] + **force** | **bool**| 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. | [optional] + +### Return type + +[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **patch_namespaced_pod_scheduling_context** -> V1alpha2PodSchedulingContext patch_namespaced_pod_scheduling_context(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) +> V1alpha3PodSchedulingContext patch_namespaced_pod_scheduling_context(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) @@ -2924,7 +2142,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the PodSchedulingContext namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -2938,7 +2156,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_namespaced_pod_scheduling_context(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->patch_namespaced_pod_scheduling_context: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->patch_namespaced_pod_scheduling_context: %s\n" % e) ``` ### Parameters @@ -2956,7 +2174,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md) +[**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md) ### Authorization @@ -2977,7 +2195,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_namespaced_pod_scheduling_context_status** -> V1alpha2PodSchedulingContext patch_namespaced_pod_scheduling_context_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) +> V1alpha3PodSchedulingContext patch_namespaced_pod_scheduling_context_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) @@ -3004,7 +2222,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the PodSchedulingContext namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -3018,7 +2236,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_namespaced_pod_scheduling_context_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->patch_namespaced_pod_scheduling_context_status: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->patch_namespaced_pod_scheduling_context_status: %s\n" % e) ``` ### Parameters @@ -3036,7 +2254,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md) +[**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md) ### Authorization @@ -3057,7 +2275,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_namespaced_resource_claim** -> V1alpha2ResourceClaim patch_namespaced_resource_claim(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) +> V1alpha3ResourceClaim patch_namespaced_resource_claim(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) @@ -3084,7 +2302,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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 | @@ -3098,7 +2316,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_namespaced_resource_claim(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->patch_namespaced_resource_claim: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->patch_namespaced_resource_claim: %s\n" % e) ``` ### Parameters @@ -3116,87 +2334,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_resource_claim_parameters** -> V1alpha2ResourceClaimParameters patch_namespaced_resource_claim_parameters(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) - - - -partially update the specified ResourceClaimParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClaimParameters -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -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) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. 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). (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) -force = True # bool | 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. (optional) - - try: - api_response = api_instance.patch_namespaced_resource_claim_parameters(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->patch_namespaced_resource_claim_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClaimParameters | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | **object**| | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. 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). | [optional] - **field_validation** | **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] - **force** | **bool**| 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. | [optional] - -### Return type - -[**V1alpha2ResourceClaimParameters**](V1alpha2ResourceClaimParameters.md) +[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) ### Authorization @@ -3217,7 +2355,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_namespaced_resource_claim_status** -> V1alpha2ResourceClaim patch_namespaced_resource_claim_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) +> V1alpha3ResourceClaim patch_namespaced_resource_claim_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) @@ -3244,7 +2382,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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 | @@ -3258,7 +2396,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_namespaced_resource_claim_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->patch_namespaced_resource_claim_status: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->patch_namespaced_resource_claim_status: %s\n" % e) ``` ### Parameters @@ -3276,7 +2414,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md) +[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) ### Authorization @@ -3297,7 +2435,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_namespaced_resource_claim_template** -> V1alpha2ResourceClaimTemplate patch_namespaced_resource_claim_template(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) +> V1alpha3ResourceClaimTemplate patch_namespaced_resource_claim_template(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) @@ -3324,7 +2462,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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 | @@ -3338,7 +2476,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_namespaced_resource_claim_template(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->patch_namespaced_resource_claim_template: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->patch_namespaced_resource_claim_template: %s\n" % e) ``` ### Parameters @@ -3356,165 +2494,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaimTemplate**](V1alpha2ResourceClaimTemplate.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_resource_class_parameters** -> V1alpha2ResourceClassParameters patch_namespaced_resource_class_parameters(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) - - - -partially update the specified ResourceClassParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClassParameters -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -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) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. 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). (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) -force = True # bool | 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. (optional) - - try: - api_response = api_instance.patch_namespaced_resource_class_parameters(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->patch_namespaced_resource_class_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClassParameters | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | **object**| | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. 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). | [optional] - **field_validation** | **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] - **force** | **bool**| 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. | [optional] - -### Return type - -[**V1alpha2ResourceClassParameters**](V1alpha2ResourceClassParameters.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_resource_class** -> V1alpha2ResourceClass patch_resource_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) - - - -partially update the specified ResourceClass - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClass -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) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. 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). (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) -force = True # bool | 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. (optional) - - try: - api_response = api_instance.patch_resource_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->patch_resource_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClass | - **body** | **object**| | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. 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). | [optional] - **field_validation** | **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] - **force** | **bool**| 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. | [optional] - -### Return type - -[**V1alpha2ResourceClass**](V1alpha2ResourceClass.md) +[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) ### Authorization @@ -3535,7 +2515,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_resource_slice** -> V1alpha2ResourceSlice patch_resource_slice(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) +> V1alpha3ResourceSlice patch_resource_slice(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) @@ -3562,7 +2542,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -3575,7 +2555,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_resource_slice(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->patch_resource_slice: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->patch_resource_slice: %s\n" % e) ``` ### Parameters @@ -3592,7 +2572,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceSlice**](V1alpha2ResourceSlice.md) +[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) ### Authorization @@ -3612,8 +2592,75 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **read_device_class** +> V1alpha3DeviceClass read_device_class(name, pretty=pretty) + + + +read the specified DeviceClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.ResourceV1alpha3Api(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) + + try: + api_response = api_instance.read_device_class(name, pretty=pretty) + pprint(api_response) + except ApiException as e: + print("Exception when calling ResourceV1alpha3Api->read_device_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the DeviceClass | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] + +### Return type + +[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **read_namespaced_pod_scheduling_context** -> V1alpha2PodSchedulingContext read_namespaced_pod_scheduling_context(name, namespace, pretty=pretty) +> V1alpha3PodSchedulingContext read_namespaced_pod_scheduling_context(name, namespace, pretty=pretty) @@ -3640,7 +2687,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the PodSchedulingContext namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3649,7 +2696,7 @@ pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. api_response = api_instance.read_namespaced_pod_scheduling_context(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->read_namespaced_pod_scheduling_context: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->read_namespaced_pod_scheduling_context: %s\n" % e) ``` ### Parameters @@ -3662,7 +2709,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md) +[**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md) ### Authorization @@ -3682,7 +2729,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_pod_scheduling_context_status** -> V1alpha2PodSchedulingContext read_namespaced_pod_scheduling_context_status(name, namespace, pretty=pretty) +> V1alpha3PodSchedulingContext read_namespaced_pod_scheduling_context_status(name, namespace, pretty=pretty) @@ -3709,7 +2756,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the PodSchedulingContext namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -3718,7 +2765,7 @@ pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. api_response = api_instance.read_namespaced_pod_scheduling_context_status(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->read_namespaced_pod_scheduling_context_status: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->read_namespaced_pod_scheduling_context_status: %s\n" % e) ``` ### Parameters @@ -3731,7 +2778,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md) +[**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md) ### Authorization @@ -3751,7 +2798,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_resource_claim** -> V1alpha2ResourceClaim read_namespaced_resource_claim(name, namespace, pretty=pretty) +> V1alpha3ResourceClaim read_namespaced_resource_claim(name, namespace, pretty=pretty) @@ -3778,7 +2825,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -3787,7 +2834,7 @@ pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. api_response = api_instance.read_namespaced_resource_claim(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->read_namespaced_resource_claim: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->read_namespaced_resource_claim: %s\n" % e) ``` ### Parameters @@ -3800,76 +2847,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_resource_claim_parameters** -> V1alpha2ResourceClaimParameters read_namespaced_resource_claim_parameters(name, namespace, pretty=pretty) - - - -read the specified ResourceClaimParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClaimParameters -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - - try: - api_response = api_instance.read_namespaced_resource_claim_parameters(name, namespace, pretty=pretty) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->read_namespaced_resource_claim_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClaimParameters | - **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] - -### Return type - -[**V1alpha2ResourceClaimParameters**](V1alpha2ResourceClaimParameters.md) +[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) ### Authorization @@ -3889,7 +2867,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_resource_claim_status** -> V1alpha2ResourceClaim read_namespaced_resource_claim_status(name, namespace, pretty=pretty) +> V1alpha3ResourceClaim read_namespaced_resource_claim_status(name, namespace, pretty=pretty) @@ -3916,7 +2894,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -3925,7 +2903,7 @@ pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. api_response = api_instance.read_namespaced_resource_claim_status(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->read_namespaced_resource_claim_status: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->read_namespaced_resource_claim_status: %s\n" % e) ``` ### Parameters @@ -3938,7 +2916,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md) +[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) ### Authorization @@ -3958,7 +2936,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_resource_claim_template** -> V1alpha2ResourceClaimTemplate read_namespaced_resource_claim_template(name, namespace, pretty=pretty) +> V1alpha3ResourceClaimTemplate read_namespaced_resource_claim_template(name, namespace, pretty=pretty) @@ -3985,7 +2963,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -3994,7 +2972,7 @@ pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. api_response = api_instance.read_namespaced_resource_claim_template(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->read_namespaced_resource_claim_template: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->read_namespaced_resource_claim_template: %s\n" % e) ``` ### Parameters @@ -4007,143 +2985,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaimTemplate**](V1alpha2ResourceClaimTemplate.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_resource_class_parameters** -> V1alpha2ResourceClassParameters read_namespaced_resource_class_parameters(name, namespace, pretty=pretty) - - - -read the specified ResourceClassParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClassParameters -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - - try: - api_response = api_instance.read_namespaced_resource_class_parameters(name, namespace, pretty=pretty) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->read_namespaced_resource_class_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClassParameters | - **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] - -### Return type - -[**V1alpha2ResourceClassParameters**](V1alpha2ResourceClassParameters.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_resource_class** -> V1alpha2ResourceClass read_resource_class(name, pretty=pretty) - - - -read the specified ResourceClass - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClass -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - - try: - api_response = api_instance.read_resource_class(name, pretty=pretty) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->read_resource_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClass | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] - -### Return type - -[**V1alpha2ResourceClass**](V1alpha2ResourceClass.md) +[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) ### Authorization @@ -4163,7 +3005,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_resource_slice** -> V1alpha2ResourceSlice read_resource_slice(name, pretty=pretty) +> V1alpha3ResourceSlice read_resource_slice(name, pretty=pretty) @@ -4190,7 +3032,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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) @@ -4198,7 +3040,7 @@ pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. api_response = api_instance.read_resource_slice(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->read_resource_slice: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->read_resource_slice: %s\n" % e) ``` ### Parameters @@ -4210,7 +3052,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceSlice**](V1alpha2ResourceSlice.md) +[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) ### Authorization @@ -4229,8 +3071,84 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **replace_device_class** +> V1alpha3DeviceClass replace_device_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + + + +replace the specified DeviceClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) + name = 'name_example' # str | name of the DeviceClass +body = kubernetes.client.V1alpha3DeviceClass() # V1alpha3DeviceClass | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) + + try: + api_response = api_instance.replace_device_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + pprint(api_response) + except ApiException as e: + print("Exception when calling ResourceV1alpha3Api->replace_device_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the DeviceClass | + **body** | [**V1alpha3DeviceClass**](V1alpha3DeviceClass.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] + +### Return type + +[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **replace_namespaced_pod_scheduling_context** -> V1alpha2PodSchedulingContext replace_namespaced_pod_scheduling_context(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3PodSchedulingContext replace_namespaced_pod_scheduling_context(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -4257,10 +3175,10 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the PodSchedulingContext namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha2PodSchedulingContext() # V1alpha2PodSchedulingContext | +body = kubernetes.client.V1alpha3PodSchedulingContext() # V1alpha3PodSchedulingContext | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4270,7 +3188,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.replace_namespaced_pod_scheduling_context(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->replace_namespaced_pod_scheduling_context: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->replace_namespaced_pod_scheduling_context: %s\n" % e) ``` ### Parameters @@ -4279,7 +3197,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PodSchedulingContext | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md)| | + **body** | [**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -4287,7 +3205,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md) +[**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md) ### Authorization @@ -4308,7 +3226,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_namespaced_pod_scheduling_context_status** -> V1alpha2PodSchedulingContext replace_namespaced_pod_scheduling_context_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3PodSchedulingContext replace_namespaced_pod_scheduling_context_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -4335,10 +3253,10 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the PodSchedulingContext namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha2PodSchedulingContext() # V1alpha2PodSchedulingContext | +body = kubernetes.client.V1alpha3PodSchedulingContext() # V1alpha3PodSchedulingContext | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4348,7 +3266,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.replace_namespaced_pod_scheduling_context_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->replace_namespaced_pod_scheduling_context_status: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->replace_namespaced_pod_scheduling_context_status: %s\n" % e) ``` ### Parameters @@ -4357,7 +3275,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PodSchedulingContext | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md)| | + **body** | [**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -4365,7 +3283,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2PodSchedulingContext**](V1alpha2PodSchedulingContext.md) +[**V1alpha3PodSchedulingContext**](V1alpha3PodSchedulingContext.md) ### Authorization @@ -4386,7 +3304,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_namespaced_resource_claim** -> V1alpha2ResourceClaim replace_namespaced_resource_claim(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3ResourceClaim replace_namespaced_resource_claim(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -4413,10 +3331,10 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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.client.V1alpha2ResourceClaim() # V1alpha2ResourceClaim | +body = kubernetes.client.V1alpha3ResourceClaim() # V1alpha3ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4426,7 +3344,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.replace_namespaced_resource_claim(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->replace_namespaced_resource_claim: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->replace_namespaced_resource_claim: %s\n" % e) ``` ### Parameters @@ -4435,7 +3353,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ResourceClaim | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md)| | + **body** | [**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -4443,85 +3361,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_resource_claim_parameters** -> V1alpha2ResourceClaimParameters replace_namespaced_resource_claim_parameters(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - - - -replace the specified ResourceClaimParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClaimParameters -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha2ResourceClaimParameters() # V1alpha2ResourceClaimParameters | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) - - try: - api_response = api_instance.replace_namespaced_resource_claim_parameters(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->replace_namespaced_resource_claim_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClaimParameters | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2ResourceClaimParameters**](V1alpha2ResourceClaimParameters.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] - -### Return type - -[**V1alpha2ResourceClaimParameters**](V1alpha2ResourceClaimParameters.md) +[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) ### Authorization @@ -4542,7 +3382,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_namespaced_resource_claim_status** -> V1alpha2ResourceClaim replace_namespaced_resource_claim_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3ResourceClaim replace_namespaced_resource_claim_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -4569,10 +3409,10 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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.client.V1alpha2ResourceClaim() # V1alpha2ResourceClaim | +body = kubernetes.client.V1alpha3ResourceClaim() # V1alpha3ResourceClaim | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4582,7 +3422,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.replace_namespaced_resource_claim_status(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->replace_namespaced_resource_claim_status: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->replace_namespaced_resource_claim_status: %s\n" % e) ``` ### Parameters @@ -4591,7 +3431,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ResourceClaim | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md)| | + **body** | [**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -4599,7 +3439,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaim**](V1alpha2ResourceClaim.md) +[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) ### Authorization @@ -4620,7 +3460,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_namespaced_resource_claim_template** -> V1alpha2ResourceClaimTemplate replace_namespaced_resource_claim_template(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3ResourceClaimTemplate replace_namespaced_resource_claim_template(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -4647,10 +3487,10 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(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.client.V1alpha2ResourceClaimTemplate() # V1alpha2ResourceClaimTemplate | +body = kubernetes.client.V1alpha3ResourceClaimTemplate() # V1alpha3ResourceClaimTemplate | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4660,7 +3500,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.replace_namespaced_resource_claim_template(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->replace_namespaced_resource_claim_template: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->replace_namespaced_resource_claim_template: %s\n" % e) ``` ### Parameters @@ -4669,7 +3509,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ResourceClaimTemplate | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2ResourceClaimTemplate**](V1alpha2ResourceClaimTemplate.md)| | + **body** | [**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -4677,161 +3517,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceClaimTemplate**](V1alpha2ResourceClaimTemplate.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_resource_class_parameters** -> V1alpha2ResourceClassParameters replace_namespaced_resource_class_parameters(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - - - -replace the specified ResourceClassParameters - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClassParameters -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha2ResourceClassParameters() # V1alpha2ResourceClassParameters | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) - - try: - api_response = api_instance.replace_namespaced_resource_class_parameters(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->replace_namespaced_resource_class_parameters: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClassParameters | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha2ResourceClassParameters**](V1alpha2ResourceClassParameters.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] - -### Return type - -[**V1alpha2ResourceClassParameters**](V1alpha2ResourceClassParameters.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_resource_class** -> V1alpha2ResourceClass replace_resource_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - - - -replace the specified ResourceClass - -### Example - -* Api Key Authentication (BearerToken): -```python -from __future__ import print_function -import time -import kubernetes.client -from kubernetes.client.rest import ApiException -from pprint import pprint -configuration = kubernetes.client.Configuration() -# Configure API key authorization: BearerToken -configuration.api_key['authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['authorization'] = 'Bearer' - -# Defining host is optional and default to http://localhost -configuration.host = "http://localhost" - -# Enter a context with an instance of the API kubernetes.client -with kubernetes.client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) - name = 'name_example' # str | name of the ResourceClass -body = kubernetes.client.V1alpha2ResourceClass() # V1alpha2ResourceClass | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) -field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The 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) - - try: - api_response = api_instance.replace_resource_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) - pprint(api_response) - except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->replace_resource_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceClass | - **body** | [**V1alpha2ResourceClass**](V1alpha2ResourceClass.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] - -### Return type - -[**V1alpha2ResourceClass**](V1alpha2ResourceClass.md) +[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) ### Authorization @@ -4852,7 +3538,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_resource_slice** -> V1alpha2ResourceSlice replace_resource_slice(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) +> V1alpha3ResourceSlice replace_resource_slice(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) @@ -4879,9 +3565,9 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.ResourceV1alpha2Api(api_client) + api_instance = kubernetes.client.ResourceV1alpha3Api(api_client) name = 'name_example' # str | name of the ResourceSlice -body = kubernetes.client.V1alpha2ResourceSlice() # V1alpha2ResourceSlice | +body = kubernetes.client.V1alpha3ResourceSlice() # V1alpha3ResourceSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -4891,7 +3577,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs api_response = api_instance.replace_resource_slice(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) pprint(api_response) except ApiException as e: - print("Exception when calling ResourceV1alpha2Api->replace_resource_slice: %s\n" % e) + print("Exception when calling ResourceV1alpha3Api->replace_resource_slice: %s\n" % e) ``` ### Parameters @@ -4899,7 +3585,7 @@ field_validation = 'field_validation_example' # str | fieldValidation instructs Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ResourceSlice | - **body** | [**V1alpha2ResourceSlice**](V1alpha2ResourceSlice.md)| | + **body** | [**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] @@ -4907,7 +3593,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha2ResourceSlice**](V1alpha2ResourceSlice.md) +[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) ### Authorization diff --git a/kubernetes/docs/StorageV1beta1Api.md b/kubernetes/docs/StorageV1beta1Api.md new file mode 100644 index 000000000..1ff342ad7 --- /dev/null +++ b/kubernetes/docs/StorageV1beta1Api.md @@ -0,0 +1,627 @@ +# kubernetes.client.StorageV1beta1Api + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_volume_attributes_class**](StorageV1beta1Api.md#create_volume_attributes_class) | **POST** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | +[**delete_collection_volume_attributes_class**](StorageV1beta1Api.md#delete_collection_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | +[**delete_volume_attributes_class**](StorageV1beta1Api.md#delete_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | +[**get_api_resources**](StorageV1beta1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1beta1/ | +[**list_volume_attributes_class**](StorageV1beta1Api.md#list_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | +[**patch_volume_attributes_class**](StorageV1beta1Api.md#patch_volume_attributes_class) | **PATCH** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | +[**read_volume_attributes_class**](StorageV1beta1Api.md#read_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | +[**replace_volume_attributes_class**](StorageV1beta1Api.md#replace_volume_attributes_class) | **PUT** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | + + +# **create_volume_attributes_class** +> V1beta1VolumeAttributesClass create_volume_attributes_class(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + + + +create a VolumeAttributesClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1beta1Api(api_client) + body = kubernetes.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) +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) + + try: + api_response = api_instance.create_volume_attributes_class(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1beta1Api->create_volume_attributes_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1beta1VolumeAttributesClass**](V1beta1VolumeAttributesClass.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] + +### Return type + +[**V1beta1VolumeAttributesClass**](V1beta1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_collection_volume_attributes_class** +> V1Status delete_collection_volume_attributes_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, 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, timeout_seconds=timeout_seconds, body=body) + + + +delete collection of VolumeAttributesClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) +resource_version_match = 'resource_version_match_example' # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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) +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.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, 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, timeout_seconds=timeout_seconds, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1beta1Api->delete_collection_volume_attributes_class: %s\n" % e) +``` + +### Parameters + +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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch 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] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] + **resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where 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] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_volume_attributes_class** +> V1beta1VolumeAttributesClass delete_volume_attributes_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + + + +delete a VolumeAttributesClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.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) +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) +orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; '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.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, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1beta1Api->delete_volume_attributes_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttributesClass | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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] + **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] + **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] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1beta1VolumeAttributesClass**](V1beta1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_api_resources** +> V1APIResourceList get_api_resources() + + + +get available resources + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1beta1Api(api_client) + + try: + api_response = api_instance.get_api_resources() + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1beta1Api->get_api_resources: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_volume_attributes_class** +> V1beta1VolumeAttributesClassList list_volume_attributes_class(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind VolumeAttributesClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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) +timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + + try: + api_response = api_instance.list_volume_attributes_class(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, send_initial_events=send_initial_events, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1beta1Api->list_volume_attributes_class: %s\n" % e) +``` + +### Parameters + +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.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a 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] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1VolumeAttributesClassList**](V1beta1VolumeAttributesClassList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_volume_attributes_class** +> V1beta1VolumeAttributesClass patch_volume_attributes_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) + + + +partially update the specified VolumeAttributesClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.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) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. 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). (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) +force = True # bool | 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. (optional) + + try: + api_response = api_instance.patch_volume_attributes_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation, force=force) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1beta1Api->patch_volume_attributes_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttributesClass | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. 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). | [optional] + **field_validation** | **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] + **force** | **bool**| 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. | [optional] + +### Return type + +[**V1beta1VolumeAttributesClass**](V1beta1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_volume_attributes_class** +> V1beta1VolumeAttributesClass read_volume_attributes_class(name, pretty=pretty) + + + +read the specified VolumeAttributesClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.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) + + try: + api_response = api_instance.read_volume_attributes_class(name, pretty=pretty) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1beta1Api->read_volume_attributes_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttributesClass | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] + +### Return type + +[**V1beta1VolumeAttributesClass**](V1beta1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_volume_attributes_class** +> V1beta1VolumeAttributesClass replace_volume_attributes_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + + + +replace the specified VolumeAttributesClass + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1beta1Api(api_client) + name = 'name_example' # str | name of the VolumeAttributesClass +body = kubernetes.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) +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) + + try: + api_response = api_instance.replace_volume_attributes_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, field_validation=field_validation) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1beta1Api->replace_volume_attributes_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttributesClass | + **body** | [**V1beta1VolumeAttributesClass**](V1beta1VolumeAttributesClass.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [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_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The 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** | **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] + +### Return type + +[**V1beta1VolumeAttributesClass**](V1beta1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/kubernetes/docs/V1ClaimSource.md b/kubernetes/docs/V1ClaimSource.md deleted file mode 100644 index d2d381fff..000000000 --- a/kubernetes/docs/V1ClaimSource.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1ClaimSource - -ClaimSource describes a reference to a ResourceClaim. Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**resource_claim_name** | **str** | ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. | [optional] -**resource_claim_template_name** | **str** | ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. | [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/docs/V1ContainerStatus.md b/kubernetes/docs/V1ContainerStatus.md index f87d9b947..e4cc85490 100644 --- a/kubernetes/docs/V1ContainerStatus.md +++ b/kubernetes/docs/V1ContainerStatus.md @@ -5,6 +5,7 @@ ContainerStatus contains details for the current status of this container. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **allocated_resources** | **dict(str, str)** | AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize. | [optional] +**allocated_resources_status** | [**list[V1ResourceStatus]**](V1ResourceStatus.md) | AllocatedResourcesStatus represents the status of various resources allocated for this Pod. | [optional] **container_id** | **str** | ContainerID is the ID of the container in the format '<type>://<container_id>'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\"). | [optional] **image** | **str** | Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images. | **image_id** | **str** | ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime. | @@ -15,6 +16,7 @@ Name | Type | Description | Notes **restart_count** | **int** | RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative. | **started** | **bool** | Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false. | [optional] **state** | [**V1ContainerState**](V1ContainerState.md) | | [optional] +**user** | [**V1ContainerUser**](V1ContainerUser.md) | | [optional] **volume_mounts** | [**list[V1VolumeMountStatus]**](V1VolumeMountStatus.md) | Status of volume mounts. | [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/docs/V1alpha2NamedResourcesStringSlice.md b/kubernetes/docs/V1ContainerUser.md similarity index 63% rename from kubernetes/docs/V1alpha2NamedResourcesStringSlice.md rename to kubernetes/docs/V1ContainerUser.md index 0f07dcc08..9bdb615d9 100644 --- a/kubernetes/docs/V1alpha2NamedResourcesStringSlice.md +++ b/kubernetes/docs/V1ContainerUser.md @@ -1,10 +1,10 @@ -# V1alpha2NamedResourcesStringSlice +# V1ContainerUser -NamedResourcesStringSlice contains a slice of strings. +ContainerUser represents user identity information ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**strings** | **list[str]** | Strings is the slice of strings. | +**linux** | [**V1LinuxContainerUser**](V1LinuxContainerUser.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/docs/V1FieldSelectorAttributes.md b/kubernetes/docs/V1FieldSelectorAttributes.md new file mode 100644 index 000000000..8af0bbdf9 --- /dev/null +++ b/kubernetes/docs/V1FieldSelectorAttributes.md @@ -0,0 +1,12 @@ +# V1FieldSelectorAttributes + +FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**raw_selector** | **str** | rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present. | [optional] +**requirements** | [**list[V1FieldSelectorRequirement]**](V1FieldSelectorRequirement.md) | requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood. | [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/docs/V1FieldSelectorRequirement.md b/kubernetes/docs/V1FieldSelectorRequirement.md new file mode 100644 index 000000000..0175d1491 --- /dev/null +++ b/kubernetes/docs/V1FieldSelectorRequirement.md @@ -0,0 +1,13 @@ +# V1FieldSelectorRequirement + +FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**key** | **str** | key is the field selector key that the requirement applies to. | +**operator** | **str** | operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future. | +**values** | **list[str]** | values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. | [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/docs/V1HostIP.md b/kubernetes/docs/V1HostIP.md index b1f292014..7435ae75e 100644 --- a/kubernetes/docs/V1HostIP.md +++ b/kubernetes/docs/V1HostIP.md @@ -4,7 +4,7 @@ HostIP represents a single IP address allocated to the host. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ip** | **str** | IP is the IP address assigned to the host | [optional] +**ip** | **str** | IP is the IP address assigned to the host | [[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/docs/V1ImageVolumeSource.md b/kubernetes/docs/V1ImageVolumeSource.md new file mode 100644 index 000000000..8ceef6fbe --- /dev/null +++ b/kubernetes/docs/V1ImageVolumeSource.md @@ -0,0 +1,12 @@ +# V1ImageVolumeSource + +ImageVolumeSource represents a image volume resource. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pull_policy** | **str** | Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. | [optional] +**reference** | **str** | Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. | [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/docs/V1JSONSchemaProps.md b/kubernetes/docs/V1JSONSchemaProps.md index f72897d5e..fd4e51a17 100644 --- a/kubernetes/docs/V1JSONSchemaProps.md +++ b/kubernetes/docs/V1JSONSchemaProps.md @@ -47,7 +47,7 @@ Name | Type | Description | Notes **x_kubernetes_list_type** | **str** | x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values: 1) `atomic`: the list is treated as a single entity, like a scalar. Atomic lists will be entirely replaced when updated. This extension may be used on any type of list (struct, scalar, ...). 2) `set`: Sets are lists that must not have multiple items with the same value. Each value must be a scalar, an object with x-kubernetes-map-type `atomic` or an array with x-kubernetes-list-type `atomic`. 3) `map`: These lists are like maps in that their elements have a non-index key used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays. | [optional] **x_kubernetes_map_type** | **str** | x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. | [optional] **x_kubernetes_preserve_unknown_fields** | **bool** | x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden. | [optional] -**x_kubernetes_validations** | [**list[V1ValidationRule]**](V1ValidationRule.md) | x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled. | [optional] +**x_kubernetes_validations** | [**list[V1ValidationRule]**](V1ValidationRule.md) | x-kubernetes-validations describes a list of validation rules written in the CEL expression language. | [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/docs/V1JobSpec.md b/kubernetes/docs/V1JobSpec.md index c6cc31bcc..d4c181077 100644 --- a/kubernetes/docs/V1JobSpec.md +++ b/kubernetes/docs/V1JobSpec.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **backoff_limit_per_index** | **int** | Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). | [optional] **completion_mode** | **str** | completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other. `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job. | [optional] **completions** | **int** | Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] -**managed_by** | **str** | ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters. This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default). | [optional] +**managed_by** | **str** | ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable. This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default). | [optional] **manual_selector** | **bool** | manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector | [optional] **max_failed_indexes** | **int** | Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). | [optional] **parallelism** | **int** | Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] diff --git a/kubernetes/docs/V1JobStatus.md b/kubernetes/docs/V1JobStatus.md index c52493769..ca225e215 100644 --- a/kubernetes/docs/V1JobStatus.md +++ b/kubernetes/docs/V1JobStatus.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **conditions** | [**list[V1JobCondition]**](V1JobCondition.md) | The latest available observations of an object's current state. When a Job fails, one of the conditions will have type \"Failed\" and status true. When a Job is suspended, one of the conditions will have type \"Suspended\" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type \"Complete\" and status true. A job is considered finished when it is in a terminal condition, either \"Complete\" or \"Failed\". A Job cannot have both the \"Complete\" and \"Failed\" conditions. Additionally, it cannot be in the \"Complete\" and \"FailureTarget\" conditions. The \"Complete\", \"Failed\" and \"FailureTarget\" conditions cannot be disabled. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] **failed** | **int** | The number of pods which reached phase Failed. The value increases monotonically. | [optional] **failed_indexes** | **str** | FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). | [optional] -**ready** | **int** | The number of pods which have a Ready condition. | [optional] +**ready** | **int** | The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp). | [optional] **start_time** | **datetime** | Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished. | [optional] **succeeded** | **int** | The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs. | [optional] **terminating** | **int** | The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp). This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default). | [optional] diff --git a/kubernetes/docs/V1LabelSelectorAttributes.md b/kubernetes/docs/V1LabelSelectorAttributes.md new file mode 100644 index 000000000..43f23d41f --- /dev/null +++ b/kubernetes/docs/V1LabelSelectorAttributes.md @@ -0,0 +1,12 @@ +# V1LabelSelectorAttributes + +LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**raw_selector** | **str** | rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present. | [optional] +**requirements** | [**list[V1LabelSelectorRequirement]**](V1LabelSelectorRequirement.md) | requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood. | [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/docs/V1LeaseSpec.md b/kubernetes/docs/V1LeaseSpec.md index c5855d79f..61662d31d 100644 --- a/kubernetes/docs/V1LeaseSpec.md +++ b/kubernetes/docs/V1LeaseSpec.md @@ -5,10 +5,12 @@ LeaseSpec is a specification of a Lease. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **acquire_time** | **datetime** | acquireTime is a time when the current lease was acquired. | [optional] -**holder_identity** | **str** | holderIdentity contains the identity of the holder of a current lease. | [optional] -**lease_duration_seconds** | **int** | leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime. | [optional] +**holder_identity** | **str** | holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field. | [optional] +**lease_duration_seconds** | **int** | leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime. | [optional] **lease_transitions** | **int** | leaseTransitions is the number of transitions of a lease between holders. | [optional] +**preferred_holder** | **str** | PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set. | [optional] **renew_time** | **datetime** | renewTime is a time when the current holder of a lease has last updated the lease. | [optional] +**strategy** | **str** | Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. | [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/docs/V1LinuxContainerUser.md b/kubernetes/docs/V1LinuxContainerUser.md new file mode 100644 index 000000000..dc7f5e9b1 --- /dev/null +++ b/kubernetes/docs/V1LinuxContainerUser.md @@ -0,0 +1,13 @@ +# V1LinuxContainerUser + +LinuxContainerUser represents user identity information in Linux containers +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**gid** | **int** | GID is the primary gid initially attached to the first process in the container | +**supplemental_groups** | **list[int]** | SupplementalGroups are the supplemental groups initially attached to the first process in the container | [optional] +**uid** | **int** | UID is the primary uid initially attached to the first process in the container | + +[[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/docs/V1NodeFeatures.md b/kubernetes/docs/V1NodeFeatures.md new file mode 100644 index 000000000..d6c93bc36 --- /dev/null +++ b/kubernetes/docs/V1NodeFeatures.md @@ -0,0 +1,11 @@ +# V1NodeFeatures + +NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**supplemental_groups_policy** | **bool** | SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser. | [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/docs/V1NodeRuntimeHandlerFeatures.md b/kubernetes/docs/V1NodeRuntimeHandlerFeatures.md index c36a35073..007da6bf2 100644 --- a/kubernetes/docs/V1NodeRuntimeHandlerFeatures.md +++ b/kubernetes/docs/V1NodeRuntimeHandlerFeatures.md @@ -1,10 +1,11 @@ # V1NodeRuntimeHandlerFeatures -NodeRuntimeHandlerFeatures is a set of runtime features. +NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **recursive_read_only_mounts** | **bool** | RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts. | [optional] +**user_namespaces** | **bool** | UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes. | [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/docs/V1NodeStatus.md b/kubernetes/docs/V1NodeStatus.md index 15401bc09..c86403d9a 100644 --- a/kubernetes/docs/V1NodeStatus.md +++ b/kubernetes/docs/V1NodeStatus.md @@ -6,10 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **addresses** | [**list[V1NodeAddress]**](V1NodeAddress.md) | List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP). | [optional] **allocatable** | **dict(str, str)** | Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. | [optional] -**capacity** | **dict(str, str)** | Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity | [optional] +**capacity** | **dict(str, str)** | Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity | [optional] **conditions** | [**list[V1NodeCondition]**](V1NodeCondition.md) | Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition | [optional] **config** | [**V1NodeConfigStatus**](V1NodeConfigStatus.md) | | [optional] **daemon_endpoints** | [**V1NodeDaemonEndpoints**](V1NodeDaemonEndpoints.md) | | [optional] +**features** | [**V1NodeFeatures**](V1NodeFeatures.md) | | [optional] **images** | [**list[V1ContainerImage]**](V1ContainerImage.md) | List of container images on this node | [optional] **node_info** | [**V1NodeSystemInfo**](V1NodeSystemInfo.md) | | [optional] **phase** | **str** | NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. | [optional] diff --git a/kubernetes/docs/V1NodeSystemInfo.md b/kubernetes/docs/V1NodeSystemInfo.md index d976bc8b8..e2a2f8f6b 100644 --- a/kubernetes/docs/V1NodeSystemInfo.md +++ b/kubernetes/docs/V1NodeSystemInfo.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **boot_id** | **str** | Boot ID reported by the node. | **container_runtime_version** | **str** | ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2). | **kernel_version** | **str** | Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). | -**kube_proxy_version** | **str** | KubeProxy Version reported by the node. | +**kube_proxy_version** | **str** | Deprecated: KubeProxy Version reported by the node. | **kubelet_version** | **str** | Kubelet Version reported by the node. | **machine_id** | **str** | MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html | **operating_system** | **str** | The Operating System reported by the node | diff --git a/kubernetes/docs/V1PersistentVolumeClaimSpec.md b/kubernetes/docs/V1PersistentVolumeClaimSpec.md index 60808ceb8..78f0d6c9f 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimSpec.md +++ b/kubernetes/docs/V1PersistentVolumeClaimSpec.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **resources** | [**V1VolumeResourceRequirements**](V1VolumeResourceRequirements.md) | | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] **storage_class_name** | **str** | storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 | [optional] -**volume_attributes_class_name** | **str** | volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. | [optional] +**volume_attributes_class_name** | **str** | volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). | [optional] **volume_mode** | **str** | volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. | [optional] **volume_name** | **str** | volumeName is the binding reference to the PersistentVolume backing this claim. | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaimStatus.md b/kubernetes/docs/V1PersistentVolumeClaimStatus.md index e104408a1..23b37145e 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimStatus.md +++ b/kubernetes/docs/V1PersistentVolumeClaimStatus.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **allocated_resources** | **dict(str, str)** | allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. | [optional] **capacity** | **dict(str, str)** | capacity represents the actual resources of the underlying volume. | [optional] **conditions** | [**list[V1PersistentVolumeClaimCondition]**](V1PersistentVolumeClaimCondition.md) | conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'. | [optional] -**current_volume_attributes_class_name** | **str** | currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature. | [optional] +**current_volume_attributes_class_name** | **str** | currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default). | [optional] **modify_volume_status** | [**V1ModifyVolumeStatus**](V1ModifyVolumeStatus.md) | | [optional] **phase** | **str** | phase represents the current phase of PersistentVolumeClaim. | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeSpec.md b/kubernetes/docs/V1PersistentVolumeSpec.md index 19903ab41..6e5384777 100644 --- a/kubernetes/docs/V1PersistentVolumeSpec.md +++ b/kubernetes/docs/V1PersistentVolumeSpec.md @@ -32,7 +32,7 @@ Name | Type | Description | Notes **scale_io** | [**V1ScaleIOPersistentVolumeSource**](V1ScaleIOPersistentVolumeSource.md) | | [optional] **storage_class_name** | **str** | storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. | [optional] **storageos** | [**V1StorageOSPersistentVolumeSource**](V1StorageOSPersistentVolumeSource.md) | | [optional] -**volume_attributes_class_name** | **str** | Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature. | [optional] +**volume_attributes_class_name** | **str** | Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default). | [optional] **volume_mode** | **str** | volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. | [optional] **vsphere_volume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeStatus.md b/kubernetes/docs/V1PersistentVolumeStatus.md index 9f01369a7..2085e91d3 100644 --- a/kubernetes/docs/V1PersistentVolumeStatus.md +++ b/kubernetes/docs/V1PersistentVolumeStatus.md @@ -4,7 +4,7 @@ PersistentVolumeStatus is the current status of a persistent volume. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**last_phase_transition_time** | **datetime** | lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default). | [optional] +**last_phase_transition_time** | **datetime** | lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. | [optional] **message** | **str** | message is a human-readable message indicating details about why the volume is in this state. | [optional] **phase** | **str** | phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase | [optional] **reason** | **str** | reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. | [optional] diff --git a/kubernetes/docs/V1PodAffinityTerm.md b/kubernetes/docs/V1PodAffinityTerm.md index ae69aceed..836cd6bca 100644 --- a/kubernetes/docs/V1PodAffinityTerm.md +++ b/kubernetes/docs/V1PodAffinityTerm.md @@ -5,8 +5,8 @@ Defines a set of pods (namely those matching the labelSelector relative to the g Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **label_selector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] -**match_label_keys** | **list[str]** | MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. | [optional] -**mismatch_label_keys** | **list[str]** | MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. | [optional] +**match_label_keys** | **list[str]** | MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). | [optional] +**mismatch_label_keys** | **list[str]** | MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). | [optional] **namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] **namespaces** | **list[str]** | namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\". | [optional] **topology_key** | **str** | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. | diff --git a/kubernetes/docs/V1PodIP.md b/kubernetes/docs/V1PodIP.md index f40fa12c6..fc8b645e7 100644 --- a/kubernetes/docs/V1PodIP.md +++ b/kubernetes/docs/V1PodIP.md @@ -4,7 +4,7 @@ PodIP represents a single IP address allocated to the pod. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ip** | **str** | IP is the IP address assigned to the pod | [optional] +**ip** | **str** | IP is the IP address assigned to the pod | [[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/docs/V1PodResourceClaim.md b/kubernetes/docs/V1PodResourceClaim.md index c8a2398a0..884416338 100644 --- a/kubernetes/docs/V1PodResourceClaim.md +++ b/kubernetes/docs/V1PodResourceClaim.md @@ -1,11 +1,12 @@ # V1PodResourceClaim -PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. +PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. | -**source** | [**V1ClaimSource**](V1ClaimSource.md) | | [optional] +**resource_claim_name** | **str** | ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. | [optional] +**resource_claim_template_name** | **str** | ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. | [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/docs/V1PodResourceClaimStatus.md b/kubernetes/docs/V1PodResourceClaimStatus.md index 5ecf105ab..9cc79d351 100644 --- a/kubernetes/docs/V1PodResourceClaimStatus.md +++ b/kubernetes/docs/V1PodResourceClaimStatus.md @@ -5,7 +5,7 @@ PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim whic Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL. | -**resource_claim_name** | **str** | ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. | [optional] +**resource_claim_name** | **str** | ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. | [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/docs/V1PodSecurityContext.md b/kubernetes/docs/V1PodSecurityContext.md index 363864a94..a364c07d8 100644 --- a/kubernetes/docs/V1PodSecurityContext.md +++ b/kubernetes/docs/V1PodSecurityContext.md @@ -12,7 +12,8 @@ Name | Type | Description | Notes **run_as_user** | **int** | The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. | [optional] **se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | | [optional] **seccomp_profile** | [**V1SeccompProfile**](V1SeccompProfile.md) | | [optional] -**supplemental_groups** | **list[int]** | A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows. | [optional] +**supplemental_groups** | **list[int]** | A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows. | [optional] +**supplemental_groups_policy** | **str** | Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows. | [optional] **sysctls** | [**list[V1Sysctl]**](V1Sysctl.md) | Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. | [optional] **windows_options** | [**V1WindowsSecurityContextOptions**](V1WindowsSecurityContextOptions.md) | | [optional] diff --git a/kubernetes/docs/V1PodSpec.md b/kubernetes/docs/V1PodSpec.md index 1787aa76c..e4bddf3ab 100644 --- a/kubernetes/docs/V1PodSpec.md +++ b/kubernetes/docs/V1PodSpec.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes **hostname** | **str** | Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. | [optional] **image_pull_secrets** | [**list[V1LocalObjectReference]**](V1LocalObjectReference.md) | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod | [optional] **init_containers** | [**list[V1Container]**](V1Container.md) | List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ | [optional] -**node_name** | **str** | NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. | [optional] +**node_name** | **str** | NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename | [optional] **node_selector** | **dict(str, str)** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | [optional] **os** | [**V1PodOS**](V1PodOS.md) | | [optional] **overhead** | **dict(str, str)** | Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md | [optional] diff --git a/kubernetes/docs/V1ProjectedVolumeSource.md b/kubernetes/docs/V1ProjectedVolumeSource.md index 6335932ee..70472d9a2 100644 --- a/kubernetes/docs/V1ProjectedVolumeSource.md +++ b/kubernetes/docs/V1ProjectedVolumeSource.md @@ -5,7 +5,7 @@ Represents a projected volume source Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **default_mode** | **int** | defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] -**sources** | [**list[V1VolumeProjection]**](V1VolumeProjection.md) | sources is the list of volume projections | [optional] +**sources** | [**list[V1VolumeProjection]**](V1VolumeProjection.md) | sources is the list of volume projections. Each entry in this list handles one source. | [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/docs/V1ResourceAttributes.md b/kubernetes/docs/V1ResourceAttributes.md index b49d5dcd6..2f0b5096a 100644 --- a/kubernetes/docs/V1ResourceAttributes.md +++ b/kubernetes/docs/V1ResourceAttributes.md @@ -4,7 +4,9 @@ ResourceAttributes includes the authorization attributes available for resource ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**field_selector** | [**V1FieldSelectorAttributes**](V1FieldSelectorAttributes.md) | | [optional] **group** | **str** | Group is the API Group of the Resource. \"*\" means all. | [optional] +**label_selector** | [**V1LabelSelectorAttributes**](V1LabelSelectorAttributes.md) | | [optional] **name** | **str** | Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all. | [optional] **namespace** | **str** | Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview | [optional] **resource** | **str** | Resource is one of the existing resource types. \"*\" means all. | [optional] diff --git a/kubernetes/docs/V1ResourceClaim.md b/kubernetes/docs/V1ResourceClaim.md index 8e96130fb..56254ebb3 100644 --- a/kubernetes/docs/V1ResourceClaim.md +++ b/kubernetes/docs/V1ResourceClaim.md @@ -5,6 +5,7 @@ ResourceClaim references one entry in PodSpec.ResourceClaims. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. | +**request** | **str** | Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. | [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/docs/V1ResourceHealth.md b/kubernetes/docs/V1ResourceHealth.md new file mode 100644 index 000000000..b3efcde8a --- /dev/null +++ b/kubernetes/docs/V1ResourceHealth.md @@ -0,0 +1,12 @@ +# V1ResourceHealth + +ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680 and historical health changes are planned to be added in future iterations of a KEP. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**health** | **str** | Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn't been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status. | [optional] +**resource_id** | **str** | ResourceID is the unique identifier of the resource. See the ResourceID type for more information. | + +[[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/docs/V1ResourceStatus.md b/kubernetes/docs/V1ResourceStatus.md new file mode 100644 index 000000000..6b4a9ee5c --- /dev/null +++ b/kubernetes/docs/V1ResourceStatus.md @@ -0,0 +1,11 @@ +# V1ResourceStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the resource. Must be unique within the pod and match one of the resources from the pod spec. | +**resources** | [**list[V1ResourceHealth]**](V1ResourceHealth.md) | List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition. | [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/docs/V1SecurityContext.md b/kubernetes/docs/V1SecurityContext.md index f91215f86..1f19e18fe 100644 --- a/kubernetes/docs/V1SecurityContext.md +++ b/kubernetes/docs/V1SecurityContext.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **app_armor_profile** | [**V1AppArmorProfile**](V1AppArmorProfile.md) | | [optional] **capabilities** | [**V1Capabilities**](V1Capabilities.md) | | [optional] **privileged** | **bool** | Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows. | [optional] -**proc_mount** | **str** | procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows. | [optional] +**proc_mount** | **str** | procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows. | [optional] **read_only_root_filesystem** | **bool** | Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows. | [optional] **run_as_group** | **int** | The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. | [optional] **run_as_non_root** | **bool** | Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional] diff --git a/kubernetes/docs/V1ValidatingAdmissionPolicyBindingList.md b/kubernetes/docs/V1ValidatingAdmissionPolicyBindingList.md index 541503446..17b94089d 100644 --- a/kubernetes/docs/V1ValidatingAdmissionPolicyBindingList.md +++ b/kubernetes/docs/V1ValidatingAdmissionPolicyBindingList.md @@ -5,7 +5,7 @@ ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBindi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the 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. | [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.client submits requests 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] diff --git a/kubernetes/docs/V1ValidatingAdmissionPolicyList.md b/kubernetes/docs/V1ValidatingAdmissionPolicyList.md index 20d313cc6..5c996bf0b 100644 --- a/kubernetes/docs/V1ValidatingAdmissionPolicyList.md +++ b/kubernetes/docs/V1ValidatingAdmissionPolicyList.md @@ -5,7 +5,7 @@ ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the 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. | [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.client submits requests 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] diff --git a/kubernetes/docs/V1Volume.md b/kubernetes/docs/V1Volume.md index 96c580f98..e9fae2a80 100644 --- a/kubernetes/docs/V1Volume.md +++ b/kubernetes/docs/V1Volume.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **git_repo** | [**V1GitRepoVolumeSource**](V1GitRepoVolumeSource.md) | | [optional] **glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | | [optional] **host_path** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | | [optional] +**image** | [**V1ImageVolumeSource**](V1ImageVolumeSource.md) | | [optional] **iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | | [optional] **name** | **str** | name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | **nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | | [optional] diff --git a/kubernetes/docs/V1VolumeProjection.md b/kubernetes/docs/V1VolumeProjection.md index 50cc0ed0b..fc11641a2 100644 --- a/kubernetes/docs/V1VolumeProjection.md +++ b/kubernetes/docs/V1VolumeProjection.md @@ -1,6 +1,6 @@ # V1VolumeProjection -Projection that may be projected along with other supported volume types +Projection that may be projected along with other supported volume types. Exactly one of these fields must be set. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1alpha1LeaseCandidate.md b/kubernetes/docs/V1alpha1LeaseCandidate.md new file mode 100644 index 000000000..a2ccef9f7 --- /dev/null +++ b/kubernetes/docs/V1alpha1LeaseCandidate.md @@ -0,0 +1,14 @@ +# V1alpha1LeaseCandidate + +LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates. +## 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.client submits requests 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** | [**V1alpha1LeaseCandidateSpec**](V1alpha1LeaseCandidateSpec.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/docs/V1alpha2ResourceClassList.md b/kubernetes/docs/V1alpha1LeaseCandidateList.md similarity index 84% rename from kubernetes/docs/V1alpha2ResourceClassList.md rename to kubernetes/docs/V1alpha1LeaseCandidateList.md index 98f0e2c9f..dd086e02c 100644 --- a/kubernetes/docs/V1alpha2ResourceClassList.md +++ b/kubernetes/docs/V1alpha1LeaseCandidateList.md @@ -1,11 +1,11 @@ -# V1alpha2ResourceClassList +# V1alpha1LeaseCandidateList -ResourceClassList is a collection of classes. +LeaseCandidateList is a list of Lease objects. ## 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] -**items** | [**list[V1alpha2ResourceClass]**](V1alpha2ResourceClass.md) | Items is the list of resource classes. | +**items** | [**list[V1alpha1LeaseCandidate]**](V1alpha1LeaseCandidate.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.client submits requests 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] diff --git a/kubernetes/docs/V1alpha1LeaseCandidateSpec.md b/kubernetes/docs/V1alpha1LeaseCandidateSpec.md new file mode 100644 index 000000000..78e698717 --- /dev/null +++ b/kubernetes/docs/V1alpha1LeaseCandidateSpec.md @@ -0,0 +1,16 @@ +# V1alpha1LeaseCandidateSpec + +LeaseCandidateSpec is a specification of a Lease. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**binary_version** | **str** | BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required when strategy is \"OldestEmulationVersion\" | [optional] +**emulation_version** | **str** | EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\" | [optional] +**lease_name** | **str** | LeaseName is the name of the lease for which this candidate is contending. This field is immutable. | +**ping_time** | **datetime** | PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime. | [optional] +**preferred_strategies** | **list[str]** | PreferredStrategies indicates the list of strategies for picking the leader for coordinated leader election. The list is ordered, and the first strategy supersedes all other strategies. The list is used by coordinated leader election to make a decision about the final election strategy. This follows as - If all kubernetes.clients have strategy X as the first element in this list, strategy X will be used. - If a candidate has strategy [X] and another candidate has strategy [Y, X], Y supersedes X and strategy Y will be used. - If a candidate has strategy [X, Y] and another candidate has strategy [Y, X], this is a user error and leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. | +**renew_time** | **datetime** | RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates. | [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/docs/V1alpha1ValidatingAdmissionPolicyBindingList.md b/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyBindingList.md index c91b539cf..882548041 100644 --- a/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyBindingList.md +++ b/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyBindingList.md @@ -5,7 +5,7 @@ ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBindi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the 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[V1alpha1ValidatingAdmissionPolicyBinding]**](V1alpha1ValidatingAdmissionPolicyBinding.md) | List of PolicyBinding. | [optional] +**items** | [**list[V1alpha1ValidatingAdmissionPolicyBinding]**](V1alpha1ValidatingAdmissionPolicyBinding.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.client submits requests 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] diff --git a/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyList.md b/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyList.md index 736ab745f..3bda60b80 100644 --- a/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyList.md +++ b/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyList.md @@ -5,7 +5,7 @@ ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the 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[V1alpha1ValidatingAdmissionPolicy]**](V1alpha1ValidatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | [optional] +**items** | [**list[V1alpha1ValidatingAdmissionPolicy]**](V1alpha1ValidatingAdmissionPolicy.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.client submits requests 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] diff --git a/kubernetes/docs/V1alpha2AllocationResult.md b/kubernetes/docs/V1alpha2AllocationResult.md deleted file mode 100644 index 510fe3057..000000000 --- a/kubernetes/docs/V1alpha2AllocationResult.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1alpha2AllocationResult - -AllocationResult contains attributes of an allocated resource. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**available_on_nodes** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] -**resource_handles** | [**list[V1alpha2ResourceHandle]**](V1alpha2ResourceHandle.md) | ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed. Setting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in. | [optional] -**shareable** | **bool** | Shareable determines whether the resource supports more than one consumer at a time. | [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/docs/V1alpha2DriverAllocationResult.md b/kubernetes/docs/V1alpha2DriverAllocationResult.md deleted file mode 100644 index 3fbed0710..000000000 --- a/kubernetes/docs/V1alpha2DriverAllocationResult.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1alpha2DriverAllocationResult - -DriverAllocationResult contains vendor parameters and the allocation result for one request. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**named_resources** | [**V1alpha2NamedResourcesAllocationResult**](V1alpha2NamedResourcesAllocationResult.md) | | [optional] -**vendor_request_parameters** | [**object**](.md) | VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated. | [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/docs/V1alpha2DriverRequests.md b/kubernetes/docs/V1alpha2DriverRequests.md deleted file mode 100644 index b69ccaf84..000000000 --- a/kubernetes/docs/V1alpha2DriverRequests.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1alpha2DriverRequests - -DriverRequests describes all resources that are needed from one particular driver. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**driver_name** | **str** | DriverName is the name used by the DRA driver kubelet plugin. | [optional] -**requests** | [**list[V1alpha2ResourceRequest]**](V1alpha2ResourceRequest.md) | Requests describes all resources that are needed from the driver. | [optional] -**vendor_parameters** | [**object**](.md) | VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim. | [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/docs/V1alpha2NamedResourcesAttribute.md b/kubernetes/docs/V1alpha2NamedResourcesAttribute.md deleted file mode 100644 index 378b05d74..000000000 --- a/kubernetes/docs/V1alpha2NamedResourcesAttribute.md +++ /dev/null @@ -1,18 +0,0 @@ -# V1alpha2NamedResourcesAttribute - -NamedResourcesAttribute is a combination of an attribute name and its value. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bool** | **bool** | BoolValue is a true/false value. | [optional] -**int** | **int** | IntValue is a 64-bit integer. | [optional] -**int_slice** | [**V1alpha2NamedResourcesIntSlice**](V1alpha2NamedResourcesIntSlice.md) | | [optional] -**name** | **str** | Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain. | -**quantity** | **str** | QuantityValue is a quantity. | [optional] -**string** | **str** | StringValue is a string. | [optional] -**string_slice** | [**V1alpha2NamedResourcesStringSlice**](V1alpha2NamedResourcesStringSlice.md) | | [optional] -**version** | **str** | VersionValue is a semantic version according to semver.org spec 2.0.0. | [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/docs/V1alpha2NamedResourcesFilter.md b/kubernetes/docs/V1alpha2NamedResourcesFilter.md deleted file mode 100644 index 13a8a0410..000000000 --- a/kubernetes/docs/V1alpha2NamedResourcesFilter.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1alpha2NamedResourcesFilter - -NamedResourcesFilter is used in ResourceFilterModel. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**selector** | **str** | Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example: attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) && attributes.stringslice[\"b\"].isSorted() | - -[[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/docs/V1alpha2NamedResourcesInstance.md b/kubernetes/docs/V1alpha2NamedResourcesInstance.md deleted file mode 100644 index 963e36899..000000000 --- a/kubernetes/docs/V1alpha2NamedResourcesInstance.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1alpha2NamedResourcesInstance - -NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attributes** | [**list[V1alpha2NamedResourcesAttribute]**](V1alpha2NamedResourcesAttribute.md) | Attributes defines the attributes of this resource instance. The name of each attribute must be unique. | [optional] -**name** | **str** | Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain. | - -[[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/docs/V1alpha2NamedResourcesRequest.md b/kubernetes/docs/V1alpha2NamedResourcesRequest.md deleted file mode 100644 index ef7bec40e..000000000 --- a/kubernetes/docs/V1alpha2NamedResourcesRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1alpha2NamedResourcesRequest - -NamedResourcesRequest is used in ResourceRequestModel. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**selector** | **str** | Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example: attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) && attributes.stringslice[\"b\"].isSorted() | - -[[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/docs/V1alpha2NamedResourcesResources.md b/kubernetes/docs/V1alpha2NamedResourcesResources.md deleted file mode 100644 index 1b4bf15f5..000000000 --- a/kubernetes/docs/V1alpha2NamedResourcesResources.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1alpha2NamedResourcesResources - -NamedResourcesResources is used in ResourceModel. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**instances** | [**list[V1alpha2NamedResourcesInstance]**](V1alpha2NamedResourcesInstance.md) | The list of all individual resources instances currently 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/docs/V1alpha2ResourceClaimParameters.md b/kubernetes/docs/V1alpha2ResourceClaimParameters.md deleted file mode 100644 index 2cbaad103..000000000 --- a/kubernetes/docs/V1alpha2ResourceClaimParameters.md +++ /dev/null @@ -1,16 +0,0 @@ -# V1alpha2ResourceClaimParameters - -ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes. -## 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] -**driver_requests** | [**list[V1alpha2DriverRequests]**](V1alpha2DriverRequests.md) | DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests. May be empty, in which case the claim can always be allocated. | [optional] -**generated_from** | [**V1alpha2ResourceClaimParametersReference**](V1alpha2ResourceClaimParametersReference.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.client submits requests 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] -**shareable** | **bool** | Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time. | [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/docs/V1alpha2ResourceClaimParametersList.md b/kubernetes/docs/V1alpha2ResourceClaimParametersList.md deleted file mode 100644 index 350f00ba7..000000000 --- a/kubernetes/docs/V1alpha2ResourceClaimParametersList.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1alpha2ResourceClaimParametersList - -ResourceClaimParametersList is a collection of ResourceClaimParameters. -## 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] -**items** | [**list[V1alpha2ResourceClaimParameters]**](V1alpha2ResourceClaimParameters.md) | Items is the list of node resource capacity objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests 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/docs/V1alpha2ResourceClaimParametersReference.md b/kubernetes/docs/V1alpha2ResourceClaimParametersReference.md deleted file mode 100644 index 9581d306e..000000000 --- a/kubernetes/docs/V1alpha2ResourceClaimParametersReference.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1alpha2ResourceClaimParametersReference - -ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_group** | **str** | APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. | [optional] -**kind** | **str** | Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\". | -**name** | **str** | Name is the name of resource being referenced. | - -[[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/docs/V1alpha2ResourceClaimSpec.md b/kubernetes/docs/V1alpha2ResourceClaimSpec.md deleted file mode 100644 index 18ab339ff..000000000 --- a/kubernetes/docs/V1alpha2ResourceClaimSpec.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1alpha2ResourceClaimSpec - -ResourceClaimSpec defines how a resource is to be allocated. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allocation_mode** | **str** | Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default. | [optional] -**parameters_ref** | [**V1alpha2ResourceClaimParametersReference**](V1alpha2ResourceClaimParametersReference.md) | | [optional] -**resource_class_name** | **str** | ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment. | - -[[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/docs/V1alpha2ResourceClaimStatus.md b/kubernetes/docs/V1alpha2ResourceClaimStatus.md deleted file mode 100644 index 07d25c4bb..000000000 --- a/kubernetes/docs/V1alpha2ResourceClaimStatus.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1alpha2ResourceClaimStatus - -ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allocation** | [**V1alpha2AllocationResult**](V1alpha2AllocationResult.md) | | [optional] -**deallocation_requested** | **bool** | DeallocationRequested indicates that a ResourceClaim is to be deallocated. The driver then must deallocate this claim and reset the field together with clearing the Allocation field. While DeallocationRequested is set, no new consumers may be added to ReservedFor. | [optional] -**driver_name** | **str** | DriverName is a copy of the driver name from the ResourceClass at the time when allocation started. | [optional] -**reserved_for** | [**list[V1alpha2ResourceClaimConsumerReference]**](V1alpha2ResourceClaimConsumerReference.md) | ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. There can be at most 32 such reservations. This may get increased in the future, but not reduced. | [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/docs/V1alpha2ResourceClass.md b/kubernetes/docs/V1alpha2ResourceClass.md deleted file mode 100644 index 1b73fc9c2..000000000 --- a/kubernetes/docs/V1alpha2ResourceClass.md +++ /dev/null @@ -1,17 +0,0 @@ -# V1alpha2ResourceClass - -ResourceClass is used by administrators to influence how resources are allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. -## 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] -**driver_name** | **str** | DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class. Resource drivers have a unique name in forward domain order (acme.example.com). | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests 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_ref** | [**V1alpha2ResourceClassParametersReference**](V1alpha2ResourceClassParametersReference.md) | | [optional] -**structured_parameters** | **bool** | If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true. | [optional] -**suitable_nodes** | [**V1NodeSelector**](V1NodeSelector.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/docs/V1alpha2ResourceClassParameters.md b/kubernetes/docs/V1alpha2ResourceClassParameters.md deleted file mode 100644 index 78e1eeca8..000000000 --- a/kubernetes/docs/V1alpha2ResourceClassParameters.md +++ /dev/null @@ -1,16 +0,0 @@ -# V1alpha2ResourceClassParameters - -ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes. -## 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] -**filters** | [**list[V1alpha2ResourceFilter]**](V1alpha2ResourceFilter.md) | Filters describes additional contraints that must be met when using the class. | [optional] -**generated_from** | [**V1alpha2ResourceClassParametersReference**](V1alpha2ResourceClassParametersReference.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.client submits requests 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] -**vendor_parameters** | [**list[V1alpha2VendorParameters]**](V1alpha2VendorParameters.md) | VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver. | [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/docs/V1alpha2ResourceClassParametersList.md b/kubernetes/docs/V1alpha2ResourceClassParametersList.md deleted file mode 100644 index 1f17824f6..000000000 --- a/kubernetes/docs/V1alpha2ResourceClassParametersList.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1alpha2ResourceClassParametersList - -ResourceClassParametersList is a collection of ResourceClassParameters. -## 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] -**items** | [**list[V1alpha2ResourceClassParameters]**](V1alpha2ResourceClassParameters.md) | Items is the list of node resource capacity objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests 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/docs/V1alpha2ResourceClassParametersReference.md b/kubernetes/docs/V1alpha2ResourceClassParametersReference.md deleted file mode 100644 index 07469ec91..000000000 --- a/kubernetes/docs/V1alpha2ResourceClassParametersReference.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1alpha2ResourceClassParametersReference - -ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_group** | **str** | APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. | [optional] -**kind** | **str** | Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata. | -**name** | **str** | Name is the name of resource being referenced. | -**namespace** | **str** | Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources. | [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/docs/V1alpha2ResourceFilter.md b/kubernetes/docs/V1alpha2ResourceFilter.md deleted file mode 100644 index 02adf9284..000000000 --- a/kubernetes/docs/V1alpha2ResourceFilter.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1alpha2ResourceFilter - -ResourceFilter is a filter for resources from one particular driver. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**driver_name** | **str** | DriverName is the name used by the DRA driver kubelet plugin. | [optional] -**named_resources** | [**V1alpha2NamedResourcesFilter**](V1alpha2NamedResourcesFilter.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/docs/V1alpha2ResourceHandle.md b/kubernetes/docs/V1alpha2ResourceHandle.md deleted file mode 100644 index 2a21a28d5..000000000 --- a/kubernetes/docs/V1alpha2ResourceHandle.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1alpha2ResourceHandle - -ResourceHandle holds opaque resource data for processing by a specific kubelet plugin. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | **str** | Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle. The maximum size of this field is 16KiB. This may get increased in the future, but not reduced. | [optional] -**driver_name** | **str** | DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in. | [optional] -**structured_data** | [**V1alpha2StructuredResourceHandle**](V1alpha2StructuredResourceHandle.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/docs/V1alpha2ResourceRequest.md b/kubernetes/docs/V1alpha2ResourceRequest.md deleted file mode 100644 index c0c144525..000000000 --- a/kubernetes/docs/V1alpha2ResourceRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1alpha2ResourceRequest - -ResourceRequest is a request for resources from one particular driver. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**named_resources** | [**V1alpha2NamedResourcesRequest**](V1alpha2NamedResourcesRequest.md) | | [optional] -**vendor_parameters** | [**object**](.md) | VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim. | [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/docs/V1alpha2ResourceSlice.md b/kubernetes/docs/V1alpha2ResourceSlice.md deleted file mode 100644 index 1ec4376bc..000000000 --- a/kubernetes/docs/V1alpha2ResourceSlice.md +++ /dev/null @@ -1,16 +0,0 @@ -# V1alpha2ResourceSlice - -ResourceSlice provides information about available resources on individual nodes. -## 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] -**driver_name** | **str** | DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests 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] -**named_resources** | [**V1alpha2NamedResourcesResources**](V1alpha2NamedResourcesResources.md) | | [optional] -**node_name** | **str** | NodeName identifies the node which provides the resources if they are local to a node. A field selector can be used to list only ResourceSlice objects with a certain node name. | [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/docs/V1alpha2StructuredResourceHandle.md b/kubernetes/docs/V1alpha2StructuredResourceHandle.md deleted file mode 100644 index 6810a2856..000000000 --- a/kubernetes/docs/V1alpha2StructuredResourceHandle.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1alpha2StructuredResourceHandle - -StructuredResourceHandle is the in-tree representation of the allocation result. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**node_name** | **str** | NodeName is the name of the node providing the necessary resources if the resources are local to a node. | [optional] -**results** | [**list[V1alpha2DriverAllocationResult]**](V1alpha2DriverAllocationResult.md) | Results lists all allocated driver resources. | -**vendor_claim_parameters** | [**object**](.md) | VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated. | [optional] -**vendor_class_parameters** | [**object**](.md) | VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated. | [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/docs/V1alpha2VendorParameters.md b/kubernetes/docs/V1alpha2VendorParameters.md deleted file mode 100644 index f523644bc..000000000 --- a/kubernetes/docs/V1alpha2VendorParameters.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1alpha2VendorParameters - -VendorParameters are opaque parameters for one particular driver. -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**driver_name** | **str** | DriverName is the name used by the DRA driver kubelet plugin. | [optional] -**parameters** | [**object**](.md) | Parameters can be arbitrary setup parameters. They are ignored while allocating a claim. | [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/docs/V1alpha3AllocationResult.md b/kubernetes/docs/V1alpha3AllocationResult.md new file mode 100644 index 000000000..035b584ab --- /dev/null +++ b/kubernetes/docs/V1alpha3AllocationResult.md @@ -0,0 +1,13 @@ +# V1alpha3AllocationResult + +AllocationResult contains attributes of an allocated resource. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**controller** | **str** | Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver. A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. | [optional] +**devices** | [**V1alpha3DeviceAllocationResult**](V1alpha3DeviceAllocationResult.md) | | [optional] +**node_selector** | [**V1NodeSelector**](V1NodeSelector.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/docs/V1alpha3BasicDevice.md b/kubernetes/docs/V1alpha3BasicDevice.md new file mode 100644 index 000000000..0d98c4a39 --- /dev/null +++ b/kubernetes/docs/V1alpha3BasicDevice.md @@ -0,0 +1,12 @@ +# V1alpha3BasicDevice + +BasicDevice defines one device instance. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**dict(str, V1alpha3DeviceAttribute)**](V1alpha3DeviceAttribute.md) | Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. | [optional] +**capacity** | **dict(str, str)** | Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. | [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/docs/V1alpha3CELDeviceSelector.md b/kubernetes/docs/V1alpha3CELDeviceSelector.md new file mode 100644 index 000000000..65f7b6744 --- /dev/null +++ b/kubernetes/docs/V1alpha3CELDeviceSelector.md @@ -0,0 +1,11 @@ +# V1alpha3CELDeviceSelector + +CELDeviceSelector contains a CEL expression for selecting a device. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**expression** | **str** | Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) | + +[[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/docs/V1alpha3Device.md b/kubernetes/docs/V1alpha3Device.md new file mode 100644 index 000000000..a95482c0c --- /dev/null +++ b/kubernetes/docs/V1alpha3Device.md @@ -0,0 +1,12 @@ +# V1alpha3Device + +Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**basic** | [**V1alpha3BasicDevice**](V1alpha3BasicDevice.md) | | [optional] +**name** | **str** | Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. | + +[[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/docs/V1alpha3DeviceAllocationConfiguration.md b/kubernetes/docs/V1alpha3DeviceAllocationConfiguration.md new file mode 100644 index 000000000..6000aa7da --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceAllocationConfiguration.md @@ -0,0 +1,13 @@ +# V1alpha3DeviceAllocationConfiguration + +DeviceAllocationConfiguration gets embedded in an AllocationResult. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**opaque** | [**V1alpha3OpaqueDeviceConfiguration**](V1alpha3OpaqueDeviceConfiguration.md) | | [optional] +**requests** | **list[str]** | Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. | [optional] +**source** | **str** | Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. | + +[[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/docs/V1alpha3DeviceAllocationResult.md b/kubernetes/docs/V1alpha3DeviceAllocationResult.md new file mode 100644 index 000000000..d5b4ba56e --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceAllocationResult.md @@ -0,0 +1,12 @@ +# V1alpha3DeviceAllocationResult + +DeviceAllocationResult is the result of allocating devices. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config** | [**list[V1alpha3DeviceAllocationConfiguration]**](V1alpha3DeviceAllocationConfiguration.md) | This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. | [optional] +**results** | [**list[V1alpha3DeviceRequestAllocationResult]**](V1alpha3DeviceRequestAllocationResult.md) | Results lists all allocated devices. | [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/docs/V1alpha3DeviceAttribute.md b/kubernetes/docs/V1alpha3DeviceAttribute.md new file mode 100644 index 000000000..3966bd2c2 --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceAttribute.md @@ -0,0 +1,14 @@ +# V1alpha3DeviceAttribute + +DeviceAttribute must have exactly one field set. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bool** | **bool** | BoolValue is a true/false value. | [optional] +**int** | **int** | IntValue is a number. | [optional] +**string** | **str** | StringValue is a string. Must not be longer than 64 characters. | [optional] +**version** | **str** | VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. | [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/docs/V1alpha3DeviceClaim.md b/kubernetes/docs/V1alpha3DeviceClaim.md new file mode 100644 index 000000000..d0b23c505 --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceClaim.md @@ -0,0 +1,13 @@ +# V1alpha3DeviceClaim + +DeviceClaim defines how to request devices with a ResourceClaim. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config** | [**list[V1alpha3DeviceClaimConfiguration]**](V1alpha3DeviceClaimConfiguration.md) | This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. | [optional] +**constraints** | [**list[V1alpha3DeviceConstraint]**](V1alpha3DeviceConstraint.md) | These constraints must be satisfied by the set of devices that get allocated for the claim. | [optional] +**requests** | [**list[V1alpha3DeviceRequest]**](V1alpha3DeviceRequest.md) | Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. | [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/docs/V1alpha3DeviceClaimConfiguration.md b/kubernetes/docs/V1alpha3DeviceClaimConfiguration.md new file mode 100644 index 000000000..f6fc832cb --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceClaimConfiguration.md @@ -0,0 +1,12 @@ +# V1alpha3DeviceClaimConfiguration + +DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**opaque** | [**V1alpha3OpaqueDeviceConfiguration**](V1alpha3OpaqueDeviceConfiguration.md) | | [optional] +**requests** | **list[str]** | Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. | [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/docs/V1alpha2ResourceClaim.md b/kubernetes/docs/V1alpha3DeviceClass.md similarity index 68% rename from kubernetes/docs/V1alpha2ResourceClaim.md rename to kubernetes/docs/V1alpha3DeviceClass.md index 161e3af27..f996c96a7 100644 --- a/kubernetes/docs/V1alpha2ResourceClaim.md +++ b/kubernetes/docs/V1alpha3DeviceClass.md @@ -1,14 +1,13 @@ -# V1alpha2ResourceClaim +# V1alpha3DeviceClass -ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. ## 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.client submits requests 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** | [**V1alpha2ResourceClaimSpec**](V1alpha2ResourceClaimSpec.md) | | -**status** | [**V1alpha2ResourceClaimStatus**](V1alpha2ResourceClaimStatus.md) | | [optional] +**spec** | [**V1alpha3DeviceClassSpec**](V1alpha3DeviceClassSpec.md) | | [[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/docs/V1alpha2NamedResourcesAllocationResult.md b/kubernetes/docs/V1alpha3DeviceClassConfiguration.md similarity index 58% rename from kubernetes/docs/V1alpha2NamedResourcesAllocationResult.md rename to kubernetes/docs/V1alpha3DeviceClassConfiguration.md index 464f648d0..4afa27135 100644 --- a/kubernetes/docs/V1alpha2NamedResourcesAllocationResult.md +++ b/kubernetes/docs/V1alpha3DeviceClassConfiguration.md @@ -1,10 +1,10 @@ -# V1alpha2NamedResourcesAllocationResult +# V1alpha3DeviceClassConfiguration -NamedResourcesAllocationResult is used in AllocationResultModel. +DeviceClassConfiguration is used in DeviceClass. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | Name is the name of the selected resource instance. | +**opaque** | [**V1alpha3OpaqueDeviceConfiguration**](V1alpha3OpaqueDeviceConfiguration.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/docs/V1alpha3DeviceClassList.md b/kubernetes/docs/V1alpha3DeviceClassList.md new file mode 100644 index 000000000..b7d532884 --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceClassList.md @@ -0,0 +1,14 @@ +# V1alpha3DeviceClassList + +DeviceClassList is a collection of classes. +## 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] +**items** | [**list[V1alpha3DeviceClass]**](V1alpha3DeviceClass.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.client submits requests 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/docs/V1alpha3DeviceClassSpec.md b/kubernetes/docs/V1alpha3DeviceClassSpec.md new file mode 100644 index 000000000..fd9ce8d0f --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceClassSpec.md @@ -0,0 +1,13 @@ +# V1alpha3DeviceClassSpec + +DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config** | [**list[V1alpha3DeviceClassConfiguration]**](V1alpha3DeviceClassConfiguration.md) | Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim. | [optional] +**selectors** | [**list[V1alpha3DeviceSelector]**](V1alpha3DeviceSelector.md) | Each selector must be satisfied by a device which is claimed via this class. | [optional] +**suitable_nodes** | [**V1NodeSelector**](V1NodeSelector.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/docs/V1alpha3DeviceConstraint.md b/kubernetes/docs/V1alpha3DeviceConstraint.md new file mode 100644 index 000000000..7db8de1d0 --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceConstraint.md @@ -0,0 +1,12 @@ +# V1alpha3DeviceConstraint + +DeviceConstraint must have exactly one field set besides Requests. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**match_attribute** | **str** | MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. | [optional] +**requests** | **list[str]** | Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. | [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/docs/V1alpha3DeviceRequest.md b/kubernetes/docs/V1alpha3DeviceRequest.md new file mode 100644 index 000000000..b09e5d81b --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceRequest.md @@ -0,0 +1,16 @@ +# V1alpha3DeviceRequest + +DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the kubernetes.client yet, in which case it must refuse to handle the request. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**admin_access** | **bool** | AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. | [optional] +**allocation_mode** | **str** | AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. | [optional] +**count** | **int** | Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one. | [optional] +**device_class_name** | **str** | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. | +**name** | **str** | Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label. | +**selectors** | [**list[V1alpha3DeviceSelector]**](V1alpha3DeviceSelector.md) | Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. | [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/docs/V1alpha3DeviceRequestAllocationResult.md b/kubernetes/docs/V1alpha3DeviceRequestAllocationResult.md new file mode 100644 index 000000000..7bf3479da --- /dev/null +++ b/kubernetes/docs/V1alpha3DeviceRequestAllocationResult.md @@ -0,0 +1,14 @@ +# V1alpha3DeviceRequestAllocationResult + +DeviceRequestAllocationResult contains the allocation result for one request. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**device** | **str** | Device references one device instance via its name in the driver's resource pool. It must be a DNS label. | +**driver** | **str** | Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. | +**pool** | **str** | This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. | +**request** | **str** | Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request. | + +[[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/docs/V1alpha2NamedResourcesIntSlice.md b/kubernetes/docs/V1alpha3DeviceSelector.md similarity index 62% rename from kubernetes/docs/V1alpha2NamedResourcesIntSlice.md rename to kubernetes/docs/V1alpha3DeviceSelector.md index ac0620caa..038383e7b 100644 --- a/kubernetes/docs/V1alpha2NamedResourcesIntSlice.md +++ b/kubernetes/docs/V1alpha3DeviceSelector.md @@ -1,10 +1,10 @@ -# V1alpha2NamedResourcesIntSlice +# V1alpha3DeviceSelector -NamedResourcesIntSlice contains a slice of 64-bit integers. +DeviceSelector must have exactly one field set. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ints** | **list[int]** | Ints is the slice of 64-bit integers. | +**cel** | [**V1alpha3CELDeviceSelector**](V1alpha3CELDeviceSelector.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/docs/V1alpha3OpaqueDeviceConfiguration.md b/kubernetes/docs/V1alpha3OpaqueDeviceConfiguration.md new file mode 100644 index 000000000..d15b49a00 --- /dev/null +++ b/kubernetes/docs/V1alpha3OpaqueDeviceConfiguration.md @@ -0,0 +1,12 @@ +# V1alpha3OpaqueDeviceConfiguration + +OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**driver** | **str** | Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. An admission policy provided by the driver developer could use this to decide whether it needs to validate them. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. | +**parameters** | [**object**](.md) | Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions. | + +[[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/docs/V1alpha2PodSchedulingContext.md b/kubernetes/docs/V1alpha3PodSchedulingContext.md similarity index 86% rename from kubernetes/docs/V1alpha2PodSchedulingContext.md rename to kubernetes/docs/V1alpha3PodSchedulingContext.md index 32b72f45e..00492b445 100644 --- a/kubernetes/docs/V1alpha2PodSchedulingContext.md +++ b/kubernetes/docs/V1alpha3PodSchedulingContext.md @@ -1,14 +1,14 @@ -# V1alpha2PodSchedulingContext +# V1alpha3PodSchedulingContext -PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode. This is an alpha type and requires enabling the DRAControlPlaneController feature gate. ## 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.client submits requests 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** | [**V1alpha2PodSchedulingContextSpec**](V1alpha2PodSchedulingContextSpec.md) | | -**status** | [**V1alpha2PodSchedulingContextStatus**](V1alpha2PodSchedulingContextStatus.md) | | [optional] +**spec** | [**V1alpha3PodSchedulingContextSpec**](V1alpha3PodSchedulingContextSpec.md) | | +**status** | [**V1alpha3PodSchedulingContextStatus**](V1alpha3PodSchedulingContextStatus.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/docs/V1alpha2PodSchedulingContextList.md b/kubernetes/docs/V1alpha3PodSchedulingContextList.md similarity index 92% rename from kubernetes/docs/V1alpha2PodSchedulingContextList.md rename to kubernetes/docs/V1alpha3PodSchedulingContextList.md index c26b55c86..906f75dc1 100644 --- a/kubernetes/docs/V1alpha2PodSchedulingContextList.md +++ b/kubernetes/docs/V1alpha3PodSchedulingContextList.md @@ -1,11 +1,11 @@ -# V1alpha2PodSchedulingContextList +# V1alpha3PodSchedulingContextList PodSchedulingContextList is a collection of Pod scheduling objects. ## 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] -**items** | [**list[V1alpha2PodSchedulingContext]**](V1alpha2PodSchedulingContext.md) | Items is the list of PodSchedulingContext objects. | +**items** | [**list[V1alpha3PodSchedulingContext]**](V1alpha3PodSchedulingContext.md) | Items is the list of PodSchedulingContext objects. | **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests 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] diff --git a/kubernetes/docs/V1alpha2PodSchedulingContextSpec.md b/kubernetes/docs/V1alpha3PodSchedulingContextSpec.md similarity index 96% rename from kubernetes/docs/V1alpha2PodSchedulingContextSpec.md rename to kubernetes/docs/V1alpha3PodSchedulingContextSpec.md index 1932d76c2..11bf79d83 100644 --- a/kubernetes/docs/V1alpha2PodSchedulingContextSpec.md +++ b/kubernetes/docs/V1alpha3PodSchedulingContextSpec.md @@ -1,4 +1,4 @@ -# V1alpha2PodSchedulingContextSpec +# V1alpha3PodSchedulingContextSpec PodSchedulingContextSpec describes where resources for the Pod are needed. ## Properties diff --git a/kubernetes/docs/V1alpha2PodSchedulingContextStatus.md b/kubernetes/docs/V1alpha3PodSchedulingContextStatus.md similarity index 76% rename from kubernetes/docs/V1alpha2PodSchedulingContextStatus.md rename to kubernetes/docs/V1alpha3PodSchedulingContextStatus.md index 3b0d9691b..1d12d6e24 100644 --- a/kubernetes/docs/V1alpha2PodSchedulingContextStatus.md +++ b/kubernetes/docs/V1alpha3PodSchedulingContextStatus.md @@ -1,10 +1,10 @@ -# V1alpha2PodSchedulingContextStatus +# V1alpha3PodSchedulingContextStatus PodSchedulingContextStatus describes where resources for the Pod can be allocated. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**resource_claims** | [**list[V1alpha2ResourceClaimSchedulingStatus]**](V1alpha2ResourceClaimSchedulingStatus.md) | ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode. | [optional] +**resource_claims** | [**list[V1alpha3ResourceClaimSchedulingStatus]**](V1alpha3ResourceClaimSchedulingStatus.md) | ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode. | [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/docs/V1alpha3ResourceClaim.md b/kubernetes/docs/V1alpha3ResourceClaim.md new file mode 100644 index 000000000..48895d44e --- /dev/null +++ b/kubernetes/docs/V1alpha3ResourceClaim.md @@ -0,0 +1,15 @@ +# V1alpha3ResourceClaim + +ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +## 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.client submits requests 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** | [**V1alpha3ResourceClaimSpec**](V1alpha3ResourceClaimSpec.md) | | +**status** | [**V1alpha3ResourceClaimStatus**](V1alpha3ResourceClaimStatus.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/docs/V1alpha2ResourceClaimConsumerReference.md b/kubernetes/docs/V1alpha3ResourceClaimConsumerReference.md similarity index 95% rename from kubernetes/docs/V1alpha2ResourceClaimConsumerReference.md rename to kubernetes/docs/V1alpha3ResourceClaimConsumerReference.md index ee176f639..63cd4d2e9 100644 --- a/kubernetes/docs/V1alpha2ResourceClaimConsumerReference.md +++ b/kubernetes/docs/V1alpha3ResourceClaimConsumerReference.md @@ -1,4 +1,4 @@ -# V1alpha2ResourceClaimConsumerReference +# V1alpha3ResourceClaimConsumerReference ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim. ## Properties diff --git a/kubernetes/docs/V1alpha2ResourceClaimList.md b/kubernetes/docs/V1alpha3ResourceClaimList.md similarity index 92% rename from kubernetes/docs/V1alpha2ResourceClaimList.md rename to kubernetes/docs/V1alpha3ResourceClaimList.md index f5b2de7cd..99b33e67f 100644 --- a/kubernetes/docs/V1alpha2ResourceClaimList.md +++ b/kubernetes/docs/V1alpha3ResourceClaimList.md @@ -1,11 +1,11 @@ -# V1alpha2ResourceClaimList +# V1alpha3ResourceClaimList ResourceClaimList is a collection of claims. ## 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] -**items** | [**list[V1alpha2ResourceClaim]**](V1alpha2ResourceClaim.md) | Items is the list of resource claims. | +**items** | [**list[V1alpha3ResourceClaim]**](V1alpha3ResourceClaim.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.client submits requests 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] diff --git a/kubernetes/docs/V1alpha2ResourceClaimSchedulingStatus.md b/kubernetes/docs/V1alpha3ResourceClaimSchedulingStatus.md similarity index 91% rename from kubernetes/docs/V1alpha2ResourceClaimSchedulingStatus.md rename to kubernetes/docs/V1alpha3ResourceClaimSchedulingStatus.md index 1277af763..a1683a665 100644 --- a/kubernetes/docs/V1alpha2ResourceClaimSchedulingStatus.md +++ b/kubernetes/docs/V1alpha3ResourceClaimSchedulingStatus.md @@ -1,10 +1,10 @@ -# V1alpha2ResourceClaimSchedulingStatus +# V1alpha3ResourceClaimSchedulingStatus ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | Name matches the pod.spec.resourceClaims[*].Name field. | [optional] +**name** | **str** | Name matches the pod.spec.resourceClaims[*].Name field. | **unsuitable_nodes** | **list[str]** | UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for. The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced. | [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/docs/V1alpha3ResourceClaimSpec.md b/kubernetes/docs/V1alpha3ResourceClaimSpec.md new file mode 100644 index 000000000..4a6dc51b4 --- /dev/null +++ b/kubernetes/docs/V1alpha3ResourceClaimSpec.md @@ -0,0 +1,12 @@ +# V1alpha3ResourceClaimSpec + +ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**controller** | **str** | Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. | [optional] +**devices** | [**V1alpha3DeviceClaim**](V1alpha3DeviceClaim.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/docs/V1alpha3ResourceClaimStatus.md b/kubernetes/docs/V1alpha3ResourceClaimStatus.md new file mode 100644 index 000000000..285f0d934 --- /dev/null +++ b/kubernetes/docs/V1alpha3ResourceClaimStatus.md @@ -0,0 +1,13 @@ +# V1alpha3ResourceClaimStatus + +ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**allocation** | [**V1alpha3AllocationResult**](V1alpha3AllocationResult.md) | | [optional] +**deallocation_requested** | **bool** | Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor. This is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field. This is an alpha field and requires enabling the DRAControlPlaneController feature gate. | [optional] +**reserved_for** | [**list[V1alpha3ResourceClaimConsumerReference]**](V1alpha3ResourceClaimConsumerReference.md) | ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled. Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again. There can be at most 32 such reservations. This may get increased in the future, but not reduced. | [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/docs/V1alpha2ResourceClaimTemplate.md b/kubernetes/docs/V1alpha3ResourceClaimTemplate.md similarity index 80% rename from kubernetes/docs/V1alpha2ResourceClaimTemplate.md rename to kubernetes/docs/V1alpha3ResourceClaimTemplate.md index 82eb03214..59d15c88a 100644 --- a/kubernetes/docs/V1alpha2ResourceClaimTemplate.md +++ b/kubernetes/docs/V1alpha3ResourceClaimTemplate.md @@ -1,13 +1,13 @@ -# V1alpha2ResourceClaimTemplate +# V1alpha3ResourceClaimTemplate -ResourceClaimTemplate is used to produce ResourceClaim objects. +ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. ## 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.client submits requests 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** | [**V1alpha2ResourceClaimTemplateSpec**](V1alpha2ResourceClaimTemplateSpec.md) | | +**spec** | [**V1alpha3ResourceClaimTemplateSpec**](V1alpha3ResourceClaimTemplateSpec.md) | | [[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/docs/V1alpha2ResourceClaimTemplateList.md b/kubernetes/docs/V1alpha3ResourceClaimTemplateList.md similarity index 91% rename from kubernetes/docs/V1alpha2ResourceClaimTemplateList.md rename to kubernetes/docs/V1alpha3ResourceClaimTemplateList.md index 751b76c67..07c17a3ee 100644 --- a/kubernetes/docs/V1alpha2ResourceClaimTemplateList.md +++ b/kubernetes/docs/V1alpha3ResourceClaimTemplateList.md @@ -1,11 +1,11 @@ -# V1alpha2ResourceClaimTemplateList +# V1alpha3ResourceClaimTemplateList ResourceClaimTemplateList is a collection of claim templates. ## 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] -**items** | [**list[V1alpha2ResourceClaimTemplate]**](V1alpha2ResourceClaimTemplate.md) | Items is the list of resource claim templates. | +**items** | [**list[V1alpha3ResourceClaimTemplate]**](V1alpha3ResourceClaimTemplate.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.client submits requests 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] diff --git a/kubernetes/docs/V1alpha2ResourceClaimTemplateSpec.md b/kubernetes/docs/V1alpha3ResourceClaimTemplateSpec.md similarity index 81% rename from kubernetes/docs/V1alpha2ResourceClaimTemplateSpec.md rename to kubernetes/docs/V1alpha3ResourceClaimTemplateSpec.md index bfff86197..2e8b6b61c 100644 --- a/kubernetes/docs/V1alpha2ResourceClaimTemplateSpec.md +++ b/kubernetes/docs/V1alpha3ResourceClaimTemplateSpec.md @@ -1,11 +1,11 @@ -# V1alpha2ResourceClaimTemplateSpec +# V1alpha3ResourceClaimTemplateSpec ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] -**spec** | [**V1alpha2ResourceClaimSpec**](V1alpha2ResourceClaimSpec.md) | | +**spec** | [**V1alpha3ResourceClaimSpec**](V1alpha3ResourceClaimSpec.md) | | [[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/docs/V1alpha3ResourcePool.md b/kubernetes/docs/V1alpha3ResourcePool.md new file mode 100644 index 000000000..db572749f --- /dev/null +++ b/kubernetes/docs/V1alpha3ResourcePool.md @@ -0,0 +1,13 @@ +# V1alpha3ResourcePool + +ResourcePool describes the pool that ResourceSlices belong to. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**generation** | **int** | Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted. Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state. | +**name** | **str** | Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required. It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable. | +**resource_slice_count** | **int** | ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool. | + +[[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/docs/V1alpha3ResourceSlice.md b/kubernetes/docs/V1alpha3ResourceSlice.md new file mode 100644 index 000000000..aa1db5c44 --- /dev/null +++ b/kubernetes/docs/V1alpha3ResourceSlice.md @@ -0,0 +1,14 @@ +# V1alpha3ResourceSlice + +ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +## 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.client submits requests 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** | [**V1alpha3ResourceSliceSpec**](V1alpha3ResourceSliceSpec.md) | | + +[[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/docs/V1alpha2ResourceSliceList.md b/kubernetes/docs/V1alpha3ResourceSliceList.md similarity index 87% rename from kubernetes/docs/V1alpha2ResourceSliceList.md rename to kubernetes/docs/V1alpha3ResourceSliceList.md index 023f72177..93696665a 100644 --- a/kubernetes/docs/V1alpha2ResourceSliceList.md +++ b/kubernetes/docs/V1alpha3ResourceSliceList.md @@ -1,11 +1,11 @@ -# V1alpha2ResourceSliceList +# V1alpha3ResourceSliceList ResourceSliceList is a collection of ResourceSlices. ## 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] -**items** | [**list[V1alpha2ResourceSlice]**](V1alpha2ResourceSlice.md) | Items is the list of node resource capacity objects. | +**items** | [**list[V1alpha3ResourceSlice]**](V1alpha3ResourceSlice.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.client submits requests 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] diff --git a/kubernetes/docs/V1alpha3ResourceSliceSpec.md b/kubernetes/docs/V1alpha3ResourceSliceSpec.md new file mode 100644 index 000000000..bc07840fa --- /dev/null +++ b/kubernetes/docs/V1alpha3ResourceSliceSpec.md @@ -0,0 +1,16 @@ +# V1alpha3ResourceSliceSpec + +ResourceSliceSpec contains the information published by the driver in one ResourceSlice. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**all_nodes** | **bool** | AllNodes indicates that all nodes have access to the resources in the pool. Exactly one of NodeName, NodeSelector and AllNodes must be set. | [optional] +**devices** | [**list[V1alpha3Device]**](V1alpha3Device.md) | Devices lists some or all of the devices in this pool. Must not have more than 128 entries. | [optional] +**driver** | **str** | Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable. | +**node_name** | **str** | NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node. This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available. Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable. | [optional] +**node_selector** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] +**pool** | [**V1alpha3ResourcePool**](V1alpha3ResourcePool.md) | | + +[[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/docs/V1alpha1IPAddress.md b/kubernetes/docs/V1beta1IPAddress.md similarity index 94% rename from kubernetes/docs/V1alpha1IPAddress.md rename to kubernetes/docs/V1beta1IPAddress.md index 48b4ff876..8e8e09567 100644 --- a/kubernetes/docs/V1alpha1IPAddress.md +++ b/kubernetes/docs/V1beta1IPAddress.md @@ -1,4 +1,4 @@ -# V1alpha1IPAddress +# V1beta1IPAddress IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1 ## Properties @@ -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] **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests 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** | [**V1alpha1IPAddressSpec**](V1alpha1IPAddressSpec.md) | | [optional] +**spec** | [**V1beta1IPAddressSpec**](V1beta1IPAddressSpec.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/docs/V1alpha1IPAddressList.md b/kubernetes/docs/V1beta1IPAddressList.md similarity index 89% rename from kubernetes/docs/V1alpha1IPAddressList.md rename to kubernetes/docs/V1beta1IPAddressList.md index 2c5c5743f..c6b0017d2 100644 --- a/kubernetes/docs/V1alpha1IPAddressList.md +++ b/kubernetes/docs/V1beta1IPAddressList.md @@ -1,11 +1,11 @@ -# V1alpha1IPAddressList +# V1beta1IPAddressList IPAddressList contains a list of IPAddress. ## 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] -**items** | [**list[V1alpha1IPAddress]**](V1alpha1IPAddress.md) | items is the list of IPAddresses. | +**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.client submits requests 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] diff --git a/kubernetes/docs/V1alpha1IPAddressSpec.md b/kubernetes/docs/V1beta1IPAddressSpec.md similarity index 75% rename from kubernetes/docs/V1alpha1IPAddressSpec.md rename to kubernetes/docs/V1beta1IPAddressSpec.md index 69688cf65..7aabe52c5 100644 --- a/kubernetes/docs/V1alpha1IPAddressSpec.md +++ b/kubernetes/docs/V1beta1IPAddressSpec.md @@ -1,10 +1,10 @@ -# V1alpha1IPAddressSpec +# V1beta1IPAddressSpec IPAddressSpec describe the attributes in an IP Address. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**parent_ref** | [**V1alpha1ParentReference**](V1alpha1ParentReference.md) | | +**parent_ref** | [**V1beta1ParentReference**](V1beta1ParentReference.md) | | [[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/docs/V1alpha1ParentReference.md b/kubernetes/docs/V1beta1ParentReference.md similarity index 96% rename from kubernetes/docs/V1alpha1ParentReference.md rename to kubernetes/docs/V1beta1ParentReference.md index 0f7240844..b527fd1ad 100644 --- a/kubernetes/docs/V1alpha1ParentReference.md +++ b/kubernetes/docs/V1beta1ParentReference.md @@ -1,4 +1,4 @@ -# V1alpha1ParentReference +# V1beta1ParentReference ParentReference describes a reference to a parent object. ## Properties diff --git a/kubernetes/docs/V1alpha1ServiceCIDR.md b/kubernetes/docs/V1beta1ServiceCIDR.md similarity index 85% rename from kubernetes/docs/V1alpha1ServiceCIDR.md rename to kubernetes/docs/V1beta1ServiceCIDR.md index 1e3e01b98..6caed6ac6 100644 --- a/kubernetes/docs/V1alpha1ServiceCIDR.md +++ b/kubernetes/docs/V1beta1ServiceCIDR.md @@ -1,4 +1,4 @@ -# V1alpha1ServiceCIDR +# V1beta1ServiceCIDR ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects. ## Properties @@ -7,8 +7,8 @@ Name | Type | Description | Notes **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the 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.client submits requests 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** | [**V1alpha1ServiceCIDRSpec**](V1alpha1ServiceCIDRSpec.md) | | [optional] -**status** | [**V1alpha1ServiceCIDRStatus**](V1alpha1ServiceCIDRStatus.md) | | [optional] +**spec** | [**V1beta1ServiceCIDRSpec**](V1beta1ServiceCIDRSpec.md) | | [optional] +**status** | [**V1beta1ServiceCIDRStatus**](V1beta1ServiceCIDRStatus.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/docs/V1alpha1ServiceCIDRList.md b/kubernetes/docs/V1beta1ServiceCIDRList.md similarity index 88% rename from kubernetes/docs/V1alpha1ServiceCIDRList.md rename to kubernetes/docs/V1beta1ServiceCIDRList.md index ce2b26a79..2e6d26470 100644 --- a/kubernetes/docs/V1alpha1ServiceCIDRList.md +++ b/kubernetes/docs/V1beta1ServiceCIDRList.md @@ -1,11 +1,11 @@ -# V1alpha1ServiceCIDRList +# V1beta1ServiceCIDRList ServiceCIDRList contains a list of ServiceCIDR objects. ## 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] -**items** | [**list[V1alpha1ServiceCIDR]**](V1alpha1ServiceCIDR.md) | items is the list of ServiceCIDRs. | +**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.client submits requests 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] diff --git a/kubernetes/docs/V1alpha1ServiceCIDRSpec.md b/kubernetes/docs/V1beta1ServiceCIDRSpec.md similarity index 96% rename from kubernetes/docs/V1alpha1ServiceCIDRSpec.md rename to kubernetes/docs/V1beta1ServiceCIDRSpec.md index 538dae06f..72cb38d06 100644 --- a/kubernetes/docs/V1alpha1ServiceCIDRSpec.md +++ b/kubernetes/docs/V1beta1ServiceCIDRSpec.md @@ -1,4 +1,4 @@ -# V1alpha1ServiceCIDRSpec +# V1beta1ServiceCIDRSpec ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services. ## Properties diff --git a/kubernetes/docs/V1alpha1ServiceCIDRStatus.md b/kubernetes/docs/V1beta1ServiceCIDRStatus.md similarity index 94% rename from kubernetes/docs/V1alpha1ServiceCIDRStatus.md rename to kubernetes/docs/V1beta1ServiceCIDRStatus.md index aefbc43da..0474cc4ee 100644 --- a/kubernetes/docs/V1alpha1ServiceCIDRStatus.md +++ b/kubernetes/docs/V1beta1ServiceCIDRStatus.md @@ -1,4 +1,4 @@ -# V1alpha1ServiceCIDRStatus +# V1beta1ServiceCIDRStatus ServiceCIDRStatus describes the current state of the ServiceCIDR. ## Properties diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md index cbd828095..4b73883aa 100644 --- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md +++ b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md @@ -5,7 +5,7 @@ ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBindi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the 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[V1beta1ValidatingAdmissionPolicyBinding]**](V1beta1ValidatingAdmissionPolicyBinding.md) | List of PolicyBinding. | [optional] +**items** | [**list[V1beta1ValidatingAdmissionPolicyBinding]**](V1beta1ValidatingAdmissionPolicyBinding.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.client submits requests 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] diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md index 9d8252efc..e17ab7305 100644 --- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md +++ b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md @@ -5,7 +5,7 @@ ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the 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[V1beta1ValidatingAdmissionPolicy]**](V1beta1ValidatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | [optional] +**items** | [**list[V1beta1ValidatingAdmissionPolicy]**](V1beta1ValidatingAdmissionPolicy.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.client submits requests 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] diff --git a/kubernetes/docs/V1beta1VolumeAttributesClass.md b/kubernetes/docs/V1beta1VolumeAttributesClass.md new file mode 100644 index 000000000..22cfe198e --- /dev/null +++ b/kubernetes/docs/V1beta1VolumeAttributesClass.md @@ -0,0 +1,15 @@ +# V1beta1VolumeAttributesClass + +VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning. +## 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] +**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.client submits requests 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] + +[[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/docs/V1beta1VolumeAttributesClassList.md b/kubernetes/docs/V1beta1VolumeAttributesClassList.md new file mode 100644 index 000000000..d59e6fe58 --- /dev/null +++ b/kubernetes/docs/V1beta1VolumeAttributesClassList.md @@ -0,0 +1,14 @@ +# V1beta1VolumeAttributesClassList + +VolumeAttributesClassList is a collection of VolumeAttributesClass objects. +## 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] +**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.client submits requests 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/swagger.json.unprocessed b/kubernetes/swagger.json.unprocessed index 38a0006c3..a2631d957 100644 --- a/kubernetes/swagger.json.unprocessed +++ b/kubernetes/swagger.json.unprocessed @@ -497,6 +497,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -555,6 +558,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1136,6 +1142,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1194,6 +1203,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1609,6 +1621,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1667,6 +1682,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -2832,11 +2850,11 @@ }, "ordinals": { "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetOrdinals", - "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta." + "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested." }, "persistentVolumeClaimRetentionPolicy": { "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy", - "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional" + "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is beta." }, "podManagementPolicy": { "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", @@ -3294,6 +3312,42 @@ }, "type": "object" }, + "io.k8s.api.authorization.v1.FieldSelectorAttributes": { + "description": "FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", + "properties": { + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", + "type": "string" + }, + "requirements": { + "description": "requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.authorization.v1.LabelSelectorAttributes": { + "description": "LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", + "properties": { + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", + "type": "string" + }, + "requirements": { + "description": "requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, "io.k8s.api.authorization.v1.LocalSubjectAccessReview": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", "properties": { @@ -3372,10 +3426,18 @@ "io.k8s.api.authorization.v1.ResourceAttributes": { "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { + "fieldSelector": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.FieldSelectorAttributes", + "description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + }, "group": { "description": "Group is the API Group of the Resource. \"*\" means all.", "type": "string" }, + "labelSelector": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LabelSelectorAttributes", + "description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + }, "name": { "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", "type": "string" @@ -4752,7 +4814,7 @@ "type": "integer" }, "managedBy": { - "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).", + "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).", "type": "string" }, "manualSelector": { @@ -4771,7 +4833,7 @@ }, "podFailurePolicy": { "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", @@ -4783,7 +4845,7 @@ }, "successPolicy": { "$ref": "#/definitions/io.k8s.api.batch.v1.SuccessPolicy", - "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default)." + "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default)." }, "suspend": { "description": "suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.", @@ -4840,7 +4902,7 @@ "type": "string" }, "ready": { - "description": "The number of pods which have a Ready condition.", + "description": "The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).", "format": "int32", "type": "integer" }, @@ -5361,11 +5423,11 @@ "description": "acquireTime is a time when the current lease was acquired." }, "holderIdentity": { - "description": "holderIdentity contains the identity of the holder of a current lease.", + "description": "holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.", "type": "string" }, "leaseDurationSeconds": { - "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime.", + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.", "format": "int32", "type": "integer" }, @@ -5374,13 +5436,123 @@ "format": "int32", "type": "integer" }, + "preferredHolder": { + "description": "PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.", + "type": "string" + }, "renewTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", "description": "renewTime is a time when the current holder of a lease has last updated the lease." + }, + "strategy": { + "description": "Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.", + "type": "string" } }, "type": "object" }, + "io.k8s.api.coordination.v1alpha1.LeaseCandidate": { + "description": "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidateSpec", + "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.coordination.v1alpha1.LeaseCandidateList": { + "description": "LeaseCandidateList is a list of Lease objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is a list of schema objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseCandidateList", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.coordination.v1alpha1.LeaseCandidateSpec": { + "description": "LeaseCandidateSpec is a specification of a Lease.", + "properties": { + "binaryVersion": { + "description": "BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required when strategy is \"OldestEmulationVersion\"", + "type": "string" + }, + "emulationVersion": { + "description": "EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"", + "type": "string" + }, + "leaseName": { + "description": "LeaseName is the name of the lease for which this candidate is contending. This field is immutable.", + "type": "string" + }, + "pingTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime." + }, + "preferredStrategies": { + "description": "PreferredStrategies indicates the list of strategies for picking the leader for coordinated leader election. The list is ordered, and the first strategy supersedes all other strategies. The list is used by coordinated leader election to make a decision about the final election strategy. This follows as - If all clients have strategy X as the first element in this list, strategy X will be used. - If a candidate has strategy [X] and another candidate has strategy [Y, X], Y supersedes X and strategy Y\n will be used.\n- If a candidate has strategy [X, Y] and another candidate has strategy [Y, X], this is a user error and leader\n election will not operate the Lease until resolved.\n(Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "renewTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates." + } + }, + "required": [ + "leaseName", + "preferredStrategies" + ], + "type": "object" + }, "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource": { "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", "properties": { @@ -5813,20 +5985,6 @@ ], "type": "object" }, - "io.k8s.api.core.v1.ClaimSource": { - "description": "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.", - "properties": { - "resourceClaimName": { - "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.", - "type": "string" - }, - "resourceClaimTemplateName": { - "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.", - "type": "string" - } - }, - "type": "object" - }, "io.k8s.api.core.v1.ClientIPConfig": { "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "properties": { @@ -6478,6 +6636,19 @@ "description": "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.", "type": "object" }, + "allocatedResourcesStatus": { + "description": "AllocatedResourcesStatus represents the status of various resources allocated for this Pod.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceStatus" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, "containerID": { "description": "ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\").", "type": "string" @@ -6519,6 +6690,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState", "description": "State holds details about the container's current condition." }, + "user": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerUser", + "description": "User represents user identity information initially attached to the first process of the container" + }, "volumeMounts": { "description": "Status of volume mounts.", "items": { @@ -6542,6 +6717,16 @@ ], "type": "object" }, + "io.k8s.api.core.v1.ContainerUser": { + "description": "ContainerUser represents user identity information", + "properties": { + "linux": { + "$ref": "#/definitions/io.k8s.api.core.v1.LinuxContainerUser", + "description": "Linux holds user identity information initially attached to the first process of the containers in Linux. Note that the actual running identity can be changed if the process has enough privilege to do so." + } + }, + "type": "object" + }, "io.k8s.api.core.v1.DaemonEndpoint": { "description": "DaemonEndpoint contains information about a single Daemon endpoint.", "properties": { @@ -7482,6 +7667,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.HostPathVolumeSource": { @@ -7621,6 +7809,20 @@ ], "type": "object" }, + "io.k8s.api.core.v1.ImageVolumeSource": { + "description": "ImageVolumeSource represents a image volume resource.", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + }, + "type": "object" + }, "io.k8s.api.core.v1.KeyToPath": { "description": "Maps a string key to a path within a volume.", "properties": { @@ -7809,6 +8011,35 @@ ], "type": "object" }, + "io.k8s.api.core.v1.LinuxContainerUser": { + "description": "LinuxContainerUser represents user identity information in Linux containers", + "properties": { + "gid": { + "description": "GID is the primary gid initially attached to the first process in the container", + "format": "int64", + "type": "integer" + }, + "supplementalGroups": { + "description": "SupplementalGroups are the supplemental groups initially attached to the first process in the container", + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "uid": { + "description": "UID is the primary uid initially attached to the first process in the container", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "uid", + "gid" + ], + "type": "object" + }, "io.k8s.api.core.v1.LoadBalancerIngress": { "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", "properties": { @@ -8193,6 +8424,16 @@ }, "type": "object" }, + "io.k8s.api.core.v1.NodeFeatures": { + "description": "NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.", + "properties": { + "supplementalGroupsPolicy": { + "description": "SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.", + "type": "boolean" + } + }, + "type": "object" + }, "io.k8s.api.core.v1.NodeList": { "description": "NodeList is the whole list of all Nodes which have been registered with master.", "properties": { @@ -8243,11 +8484,15 @@ "type": "object" }, "io.k8s.api.core.v1.NodeRuntimeHandlerFeatures": { - "description": "NodeRuntimeHandlerFeatures is a set of runtime features.", + "description": "NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler.", "properties": { "recursiveReadOnlyMounts": { "description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.", "type": "boolean" + }, + "userNamespaces": { + "description": "UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.", + "type": "boolean" } }, "type": "object" @@ -8389,7 +8634,7 @@ "additionalProperties": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" }, - "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", + "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity", "type": "object" }, "conditions": { @@ -8413,6 +8658,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.NodeDaemonEndpoints", "description": "Endpoints of daemons running on the Node." }, + "features": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeFeatures", + "description": "Features describes the set of features implemented by the CRI implementation." + }, "images": { "description": "List of container images on this node", "items": { @@ -8476,7 +8725,7 @@ "type": "string" }, "kubeProxyVersion": { - "description": "KubeProxy Version reported by the node.", + "description": "Deprecated: KubeProxy Version reported by the node.", "type": "string" }, "kubeletVersion": { @@ -8732,7 +8981,7 @@ "type": "string" }, "volumeAttributesClassName": { - "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.", + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", "type": "string" }, "volumeMode": { @@ -8793,12 +9042,12 @@ "x-kubernetes-patch-strategy": "merge" }, "currentVolumeAttributesClassName": { - "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.", + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", "type": "string" }, "modifyVolumeStatus": { "$ref": "#/definitions/io.k8s.api.core.v1.ModifyVolumeStatus", - "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature." + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default)." }, "phase": { "description": "phase represents the current phase of PersistentVolumeClaim.", @@ -9004,7 +9253,7 @@ "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" }, "volumeAttributesClassName": { - "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.", + "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", "type": "string" }, "volumeMode": { @@ -9023,7 +9272,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", @@ -9120,7 +9369,7 @@ "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods." }, "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", "items": { "type": "string" }, @@ -9128,7 +9377,7 @@ "x-kubernetes-list-type": "atomic" }, "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", "items": { "type": "string" }, @@ -9264,6 +9513,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.PodList": { @@ -9328,15 +9580,19 @@ "type": "object" }, "io.k8s.api.core.v1.PodResourceClaim": { - "description": "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", + "description": "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", "properties": { "name": { "description": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.", "type": "string" }, - "source": { - "$ref": "#/definitions/io.k8s.api.core.v1.ClaimSource", - "description": "Source describes where to find the ResourceClaim." + "resourceClaimName": { + "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" + }, + "resourceClaimTemplateName": { + "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" } }, "required": [ @@ -9352,7 +9608,7 @@ "type": "string" }, "resourceClaimName": { - "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", + "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", "type": "string" } }, @@ -9413,7 +9669,7 @@ "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." }, "supplementalGroups": { - "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.", + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.", "items": { "format": "int64", "type": "integer" @@ -9421,6 +9677,10 @@ "type": "array", "x-kubernetes-list-type": "atomic" }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, "sysctls": { "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.", "items": { @@ -9550,7 +9810,7 @@ "x-kubernetes-patch-strategy": "merge" }, "nodeName": { - "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.", + "description": "NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename", "type": "string" }, "nodeSelector": { @@ -9563,7 +9823,7 @@ }, "os": { "$ref": "#/definitions/io.k8s.api.core.v1.PodOS", - "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" + "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" }, "overhead": { "additionalProperties": { @@ -10017,7 +10277,7 @@ "type": "integer" }, "sources": { - "description": "sources is the list of volume projections", + "description": "sources is the list of volume projections. Each entry in this list handles one source.", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.VolumeProjection" }, @@ -10332,6 +10592,10 @@ "name": { "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "type": "string" } }, "required": [ @@ -10361,6 +10625,23 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, + "io.k8s.api.core.v1.ResourceHealth": { + "description": "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680 and historical health changes are planned to be added in future iterations of a KEP.", + "properties": { + "health": { + "description": "Health of the resource. can be one of:\n - Healthy: operates as normal\n - Unhealthy: reported unhealthy. We consider this a temporary health issue\n since we do not have a mechanism today to distinguish\n temporary and permanent issues.\n - Unknown: The status cannot be determined.\n For example, Device Plugin got unregistered and hasn't been re-registered since.\n\nIn future we may want to introduce the PermanentlyUnhealthy Status.", + "type": "string" + }, + "resourceID": { + "description": "ResourceID is the unique identifier of the resource. See the ResourceID type for more information.", + "type": "string" + } + }, + "required": [ + "resourceID" + ], + "type": "object" + }, "io.k8s.api.core.v1.ResourceQuota": { "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { @@ -10505,6 +10786,29 @@ }, "type": "object" }, + "io.k8s.api.core.v1.ResourceStatus": { + "properties": { + "name": { + "description": "Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.", + "type": "string" + }, + "resources": { + "description": "List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceHealth" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "resourceID" + ], + "x-kubernetes-list-type": "map" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "io.k8s.api.core.v1.SELinuxOptions": { "description": "SELinuxOptions are the labels to be applied to the container", "properties": { @@ -10898,7 +11202,7 @@ "type": "boolean" }, "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", "type": "string" }, "readOnlyRootFilesystem": { @@ -11653,6 +11957,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource", "description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" }, + "image": { + "$ref": "#/definitions/io.k8s.api.core.v1.ImageVolumeSource", + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type." + }, "iscsi": { "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource", "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md" @@ -11804,7 +12112,7 @@ "type": "object" }, "io.k8s.api.core.v1.VolumeProjection": { - "description": "Projection that may be projected along with other supported volume types", + "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", "properties": { "clusterTrustBundle": { "$ref": "#/definitions/io.k8s.api.core.v1.ClusterTrustBundleProjection", @@ -14015,9 +14323,10 @@ "type": "integer" } }, - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "io.k8s.api.networking.v1alpha1.IPAddress": { + "io.k8s.api.networking.v1beta1.IPAddress": { "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { "apiVersion": { @@ -14033,7 +14342,7 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressSpec", + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddressSpec", "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, @@ -14042,11 +14351,11 @@ { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "io.k8s.api.networking.v1alpha1.IPAddressList": { + "io.k8s.api.networking.v1beta1.IPAddressList": { "description": "IPAddressList contains a list of IPAddress.", "properties": { "apiVersion": { @@ -14056,7 +14365,7 @@ "items": { "description": "items is the list of IPAddresses.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" }, "type": "array" }, @@ -14077,15 +14386,15 @@ { "group": "networking.k8s.io", "kind": "IPAddressList", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "io.k8s.api.networking.v1alpha1.IPAddressSpec": { + "io.k8s.api.networking.v1beta1.IPAddressSpec": { "description": "IPAddressSpec describe the attributes in an IP Address.", "properties": { "parentRef": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ParentReference", + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ParentReference", "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." } }, @@ -14094,7 +14403,7 @@ ], "type": "object" }, - "io.k8s.api.networking.v1alpha1.ParentReference": { + "io.k8s.api.networking.v1beta1.ParentReference": { "description": "ParentReference describes a reference to a parent object.", "properties": { "group": { @@ -14120,7 +14429,7 @@ ], "type": "object" }, - "io.k8s.api.networking.v1alpha1.ServiceCIDR": { + "io.k8s.api.networking.v1beta1.ServiceCIDR": { "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { @@ -14136,11 +14445,11 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRSpec", + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDRSpec", "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRStatus", + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDRStatus", "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, @@ -14149,11 +14458,11 @@ { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "io.k8s.api.networking.v1alpha1.ServiceCIDRList": { + "io.k8s.api.networking.v1beta1.ServiceCIDRList": { "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", "properties": { "apiVersion": { @@ -14163,7 +14472,7 @@ "items": { "description": "items is the list of ServiceCIDRs.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" }, "type": "array" }, @@ -14184,11 +14493,11 @@ { "group": "networking.k8s.io", "kind": "ServiceCIDRList", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "io.k8s.api.networking.v1alpha1.ServiceCIDRSpec": { + "io.k8s.api.networking.v1beta1.ServiceCIDRSpec": { "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", "properties": { "cidrs": { @@ -14202,7 +14511,7 @@ }, "type": "object" }, - "io.k8s.api.networking.v1alpha1.ServiceCIDRStatus": { + "io.k8s.api.networking.v1beta1.ServiceCIDRStatus": { "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", "properties": { "conditions": { @@ -14912,69 +15221,66 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, - "io.k8s.api.resource.v1alpha2.AllocationResult": { + "io.k8s.api.resource.v1alpha3.AllocationResult": { "description": "AllocationResult contains attributes of an allocated resource.", "properties": { - "availableOnNodes": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", - "description": "This field will get set by the resource driver after it has allocated the resource to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere." - }, - "resourceHandles": { - "description": "ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nSetting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceHandle" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "shareable": { - "description": "Shareable determines whether the resource supports more than one consumer at a time.", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.DriverAllocationResult": { - "description": "DriverAllocationResult contains vendor parameters and the allocation result for one request.", - "properties": { - "namedResources": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesAllocationResult", - "description": "NamedResources describes the allocation result when using the named resources model." - }, - "vendorRequestParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated." - } - }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.DriverRequests": { - "description": "DriverRequests describes all resources that are needed from one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", + "controller": { + "description": "Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.\n\nA driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.\n\nThis is an alpha field and requires enabling the DRAControlPlaneController feature gate.", "type": "string" }, - "requests": { - "description": "Requests describes all resources that are needed from the driver.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceRequest" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "devices": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceAllocationResult", + "description": "Devices is the result of allocating devices." }, - "vendorParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim." + "nodeSelector": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere." } }, "type": "object" }, - "io.k8s.api.resource.v1alpha2.NamedResourcesAllocationResult": { - "description": "NamedResourcesAllocationResult is used in AllocationResultModel.", + "io.k8s.api.resource.v1alpha3.BasicDevice": { + "description": "BasicDevice defines one device instance.", "properties": { + "attributes": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceAttribute" + }, + "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" + }, + "capacity": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.CELDeviceSelector": { + "description": "CELDeviceSelector contains a CEL expression for selecting a device.", + "properties": { + "expression": { + "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)", + "type": "string" + } + }, + "required": [ + "expression" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.Device": { + "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.", + "properties": { + "basic": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.BasicDevice", + "description": "Basic defines one device instance." + }, "name": { - "description": "Name is the name of the selected resource instance.", + "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.", "type": "string" } }, @@ -14983,135 +15289,115 @@ ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.NamedResourcesAttribute": { - "description": "NamedResourcesAttribute is a combination of an attribute name and its value.", + "io.k8s.api.resource.v1alpha3.DeviceAllocationConfiguration": { + "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.", + "properties": { + "opaque": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + }, + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "source": { + "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.", + "type": "string" + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceAllocationResult": { + "description": "DeviceAllocationResult is the result of allocating devices.", + "properties": { + "config": { + "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceAllocationConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results lists all allocated devices.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceRequestAllocationResult" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceAttribute": { + "description": "DeviceAttribute must have exactly one field set.", "properties": { "bool": { "description": "BoolValue is a true/false value.", "type": "boolean" }, "int": { - "description": "IntValue is a 64-bit integer.", + "description": "IntValue is a number.", "format": "int64", "type": "integer" }, - "intSlice": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesIntSlice", - "description": "IntSliceValue is an array of 64-bit integers." - }, - "name": { - "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.", - "type": "string" - }, - "quantity": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "QuantityValue is a quantity." - }, "string": { - "description": "StringValue is a string.", + "description": "StringValue is a string. Must not be longer than 64 characters.", "type": "string" }, - "stringSlice": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesStringSlice", - "description": "StringSliceValue is an array of strings." - }, "version": { - "description": "VersionValue is a semantic version according to semver.org spec 2.0.0.", + "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.", "type": "string" } }, - "required": [ - "name" - ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.NamedResourcesFilter": { - "description": "NamedResourcesFilter is used in ResourceFilterModel.", + "io.k8s.api.resource.v1alpha3.DeviceClaim": { + "description": "DeviceClaim defines how to request devices with a ResourceClaim.", "properties": { - "selector": { - "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()", - "type": "string" - } - }, - "required": [ - "selector" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.NamedResourcesInstance": { - "description": "NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.", - "properties": { - "attributes": { - "description": "Attributes defines the attributes of this resource instance. The name of each attribute must be unique.", + "config": { + "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesAttribute" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClaimConfiguration" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "name": { - "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.NamedResourcesIntSlice": { - "description": "NamedResourcesIntSlice contains a slice of 64-bit integers.", - "properties": { - "ints": { - "description": "Ints is the slice of 64-bit integers.", + "constraints": { + "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.", "items": { - "format": "int64", - "type": "integer" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceConstraint" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requests": { + "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceRequest" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, - "required": [ - "ints" - ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.NamedResourcesRequest": { - "description": "NamedResourcesRequest is used in ResourceRequestModel.", + "io.k8s.api.resource.v1alpha3.DeviceClaimConfiguration": { + "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.", "properties": { - "selector": { - "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()", - "type": "string" - } - }, - "required": [ - "selector" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.NamedResourcesResources": { - "description": "NamedResourcesResources is used in ResourceModel.", - "properties": { - "instances": { - "description": "The list of all individual resources instances currently available.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesInstance" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "instances" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.NamedResourcesStringSlice": { - "description": "NamedResourcesStringSlice contains a slice of strings.", - "properties": { - "strings": { - "description": "Strings is the slice of strings.", + "opaque": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + }, + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.", "items": { "type": "string" }, @@ -15119,13 +15405,10 @@ "x-kubernetes-list-type": "atomic" } }, - "required": [ - "strings" - ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.PodSchedulingContext": { - "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "io.k8s.api.resource.v1alpha3.DeviceClass": { + "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15140,11 +15423,227 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContextSpec", + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClassSpec", + "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number." + } + }, + "required": [ + "spec" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + ] + }, + "io.k8s.api.resource.v1alpha3.DeviceClassConfiguration": { + "description": "DeviceClassConfiguration is used in DeviceClass.", + "properties": { + "opaque": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceClassList": { + "description": "DeviceClassList is a collection of classes.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of resource classes.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "resource.k8s.io", + "kind": "DeviceClassList", + "version": "v1alpha3" + } + ] + }, + "io.k8s.api.resource.v1alpha3.DeviceClassSpec": { + "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.", + "properties": { + "config": { + "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClassConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "selectors": { + "description": "Each selector must be satisfied by a device which is claimed via this class.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "suitableNodes": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a claim that has not been allocated yet *and* that claim gets allocated through a control plane controller. It is ignored when the claim does not use a control plane controller for allocation.\n\nSetting this field is optional. If unset, all Nodes are candidates.\n\nThis is an alpha field and requires enabling the DRAControlPlaneController feature gate." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceConstraint": { + "description": "DeviceConstraint must have exactly one field set besides Requests.", + "properties": { + "matchAttribute": { + "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.", + "type": "string" + }, + "requests": { + "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceRequest": { + "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nA DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.", + "properties": { + "adminAccess": { + "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.", + "type": "boolean" + }, + "allocationMode": { + "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.", + "type": "string" + }, + "count": { + "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.", + "format": "int64", + "type": "integer" + }, + "deviceClassName": { + "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.", + "type": "string" + }, + "name": { + "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.", + "type": "string" + }, + "selectors": { + "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "name", + "deviceClassName" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceRequestAllocationResult": { + "description": "DeviceRequestAllocationResult contains the allocation result for one request.", + "properties": { + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", + "type": "string" + }, + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", + "type": "string" + }, + "request": { + "description": "Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.", + "type": "string" + } + }, + "required": [ + "request", + "driver", + "pool", + "device" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceSelector": { + "description": "DeviceSelector must have exactly one field set.", + "properties": { + "cel": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.CELDeviceSelector", + "description": "CEL contains a CEL expression for selecting a device." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.OpaqueDeviceConfiguration": { + "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.", + "properties": { + "driver": { + "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "parameters": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", + "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions." + } + }, + "required": [ + "driver", + "parameters" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.PodSchedulingContext": { + "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DRAControlPlaneController feature gate.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContextSpec", "description": "Spec describes where resources for the Pod are needed." }, "status": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContextStatus", + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContextStatus", "description": "Status describes where resources for the Pod can be allocated." } }, @@ -15156,11 +15655,11 @@ { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "io.k8s.api.resource.v1alpha2.PodSchedulingContextList": { + "io.k8s.api.resource.v1alpha3.PodSchedulingContextList": { "description": "PodSchedulingContextList is a collection of Pod scheduling objects.", "properties": { "apiVersion": { @@ -15170,7 +15669,7 @@ "items": { "description": "Items is the list of PodSchedulingContext objects.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" }, "type": "array" }, @@ -15191,11 +15690,11 @@ { "group": "resource.k8s.io", "kind": "PodSchedulingContextList", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "io.k8s.api.resource.v1alpha2.PodSchedulingContextSpec": { + "io.k8s.api.resource.v1alpha3.PodSchedulingContextSpec": { "description": "PodSchedulingContextSpec describes where resources for the Pod are needed.", "properties": { "potentialNodes": { @@ -15213,13 +15712,13 @@ }, "type": "object" }, - "io.k8s.api.resource.v1alpha2.PodSchedulingContextStatus": { + "io.k8s.api.resource.v1alpha3.PodSchedulingContextStatus": { "description": "PodSchedulingContextStatus describes where resources for the Pod can be allocated.", "properties": { "resourceClaims": { "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimSchedulingStatus" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimSchedulingStatus" }, "type": "array", "x-kubernetes-list-map-keys": [ @@ -15230,8 +15729,8 @@ }, "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceClaim": { - "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "io.k8s.api.resource.v1alpha3.ResourceClaim": { + "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15246,12 +15745,12 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimSpec", - "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimSpec", + "description": "Spec describes what is being requested and how to configure it. The spec is immutable." }, "status": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimStatus", - "description": "Status describes whether the resource is available and with which attributes." + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimStatus", + "description": "Status describes whether the claim is ready to use and what has been allocated." } }, "required": [ @@ -15262,11 +15761,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimConsumerReference": { + "io.k8s.api.resource.v1alpha3.ResourceClaimConsumerReference": { "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { @@ -15293,7 +15792,7 @@ ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceClaimList": { + "io.k8s.api.resource.v1alpha3.ResourceClaimList": { "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { @@ -15303,7 +15802,7 @@ "items": { "description": "Items is the list of resource claims.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" }, "type": "array" }, @@ -15324,109 +15823,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaimList", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimParameters": { - "description": "ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "driverRequests": { - "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.DriverRequests" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "generatedFrom": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParametersReference", - "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata" - }, - "shareable": { - "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.", - "type": "boolean" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClaimParametersList": { - "description": "ResourceClaimParametersList is a collection of ResourceClaimParameters.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of node resource capacity objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClaimParametersList", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClaimParametersReference": { - "description": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\".", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceClaimSchedulingStatus": { + "io.k8s.api.resource.v1alpha3.ResourceClaimSchedulingStatus": { "description": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.", "properties": { "name": { @@ -15442,48 +15843,40 @@ "x-kubernetes-list-type": "atomic" } }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceClaimSpec": { - "description": "ResourceClaimSpec defines how a resource is to be allocated.", - "properties": { - "allocationMode": { - "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.", - "type": "string" - }, - "parametersRef": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParametersReference", - "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim." - }, - "resourceClassName": { - "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.", - "type": "string" - } - }, "required": [ - "resourceClassName" + "name" ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceClaimStatus": { - "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.", + "io.k8s.api.resource.v1alpha3.ResourceClaimSpec": { + "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.", "properties": { - "allocation": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.AllocationResult", - "description": "Allocation is set by the resource driver once a resource or set of resources has been allocated successfully. If this is not specified, the resources have not been allocated yet." - }, - "deallocationRequested": { - "description": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor.", - "type": "boolean" - }, - "driverName": { - "description": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.", + "controller": { + "description": "Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.\n\nThis is an alpha field and requires enabling the DRAControlPlaneController feature gate.", "type": "string" }, + "devices": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClaim", + "description": "Devices defines how to request devices." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.ResourceClaimStatus": { + "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.", + "properties": { + "allocation": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.AllocationResult", + "description": "Allocation is set once the claim has been allocated successfully." + }, + "deallocationRequested": { + "description": "Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.\n\nThis is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nThis is an alpha field and requires enabling the DRAControlPlaneController feature gate.", + "type": "boolean" + }, "reservedFor": { - "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", + "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimConsumerReference" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimConsumerReference" }, "type": "array", "x-kubernetes-list-map-keys": [ @@ -15496,8 +15889,8 @@ }, "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceClaimTemplate": { - "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", + "io.k8s.api.resource.v1alpha3.ResourceClaimTemplate": { + "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15512,7 +15905,7 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplateSpec", + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplateSpec", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, @@ -15524,11 +15917,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimTemplateList": { + "io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList": { "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { @@ -15538,7 +15931,7 @@ "items": { "description": "Items is the list of resource claim templates.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" }, "type": "array" }, @@ -15559,11 +15952,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaimTemplateList", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimTemplateSpec": { + "io.k8s.api.resource.v1alpha3.ResourceClaimTemplateSpec": { "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", "properties": { "metadata": { @@ -15571,7 +15964,7 @@ "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." }, "spec": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimSpec", + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimSpec", "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." } }, @@ -15580,248 +15973,38 @@ ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceClass": { - "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "io.k8s.api.resource.v1alpha3.ResourcePool": { + "description": "ResourcePool describes the pool that ResourceSlices belong to.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "driverName": { - "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com).", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata" - }, - "parametersRef": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParametersReference", - "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." - }, - "structuredParameters": { - "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true.", - "type": "boolean" - }, - "suitableNodes": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", - "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." - } - }, - "required": [ - "driverName" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClassList": { - "description": "ResourceClassList is a collection of classes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of resource classes.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassList", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClassParameters": { - "description": "ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "filters": { - "description": "Filters describes additional contraints that must be met when using the class.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceFilter" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "generatedFrom": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParametersReference", - "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata" - }, - "vendorParameters": { - "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.VendorParameters" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClassParametersList": { - "description": "ResourceClassParametersList is a collection of ResourceClassParameters.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of node resource capacity objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassParametersList", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClassParametersReference": { - "description": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.", - "type": "string" + "generation": { + "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.", + "format": "int64", + "type": "integer" }, "name": { - "description": "Name is the name of resource being referenced.", + "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.", "type": "string" }, - "namespace": { - "description": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.", - "type": "string" + "resourceSliceCount": { + "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.", + "format": "int64", + "type": "integer" } }, "required": [ - "kind", - "name" + "name", + "generation", + "resourceSliceCount" ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceFilter": { - "description": "ResourceFilter is a filter for resources from one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", - "type": "string" - }, - "namedResources": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesFilter", - "description": "NamedResources describes a resource filter using the named resources model." - } - }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceHandle": { - "description": "ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.", - "properties": { - "data": { - "description": "Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced.", - "type": "string" - }, - "driverName": { - "description": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.", - "type": "string" - }, - "structuredData": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.StructuredResourceHandle", - "description": "If StructuredData is set, then it needs to be used instead of Data." - } - }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceRequest": { - "description": "ResourceRequest is a request for resources from one particular driver.", - "properties": { - "namedResources": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesRequest", - "description": "NamedResources describes a request for resources with the named resources model." - }, - "vendorParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim." - } - }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceSlice": { - "description": "ResourceSlice provides information about available resources on individual nodes.", + "io.k8s.api.resource.v1alpha3.ResourceSlice": { + "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "driverName": { - "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.", - "type": "string" - }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -15830,28 +16013,24 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", "description": "Standard object metadata" }, - "namedResources": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesResources", - "description": "NamedResources describes available resources using the named resources model." - }, - "nodeName": { - "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name.", - "type": "string" + "spec": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSliceSpec", + "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number." } }, "required": [ - "driverName" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceSliceList": { + "io.k8s.api.resource.v1alpha3.ResourceSliceList": { "description": "ResourceSliceList is a collection of ResourceSlices.", "properties": { "apiVersion": { @@ -15859,9 +16038,9 @@ "type": "string" }, "items": { - "description": "Items is the list of node resource capacity objects.", + "description": "Items is the list of resource ResourceSlices.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" }, "type": "array" }, @@ -15882,53 +16061,48 @@ { "group": "resource.k8s.io", "kind": "ResourceSliceList", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "io.k8s.api.resource.v1alpha2.StructuredResourceHandle": { - "description": "StructuredResourceHandle is the in-tree representation of the allocation result.", + "io.k8s.api.resource.v1alpha3.ResourceSliceSpec": { + "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.", "properties": { - "nodeName": { - "description": "NodeName is the name of the node providing the necessary resources if the resources are local to a node.", - "type": "string" + "allNodes": { + "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set.", + "type": "boolean" }, - "results": { - "description": "Results lists all allocated driver resources.", + "devices": { + "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.DriverAllocationResult" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.Device" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "vendorClaimParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated." + "driver": { + "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.", + "type": "string" }, - "vendorClassParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated." + "nodeName": { + "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.", + "type": "string" + }, + "nodeSelector": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set." + }, + "pool": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourcePool", + "description": "Pool describes the pool that this ResourceSlice belongs to." } }, "required": [ - "results" + "driver", + "pool" ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.VendorParameters": { - "description": "VendorParameters are opaque parameters for one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", - "type": "string" - }, - "parameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "Parameters can be arbitrary setup parameters. They are ignored while allocating a claim." - } - }, - "type": "object" - }, "io.k8s.api.scheduling.v1.PriorityClass": { "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { @@ -16675,6 +16849,80 @@ } ] }, + "io.k8s.api.storage.v1beta1.VolumeAttributesClass": { + "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "driverName": { + "description": "Name of the CSI driver This field is immutable.", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "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.\n\nThis 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.", + "type": "object" + } + }, + "required": [ + "driverName" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.storage.v1beta1.VolumeAttributesClassList": { + "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of VolumeAttributesClass objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClassList", + "version": "v1beta1" + } + ] + }, "io.k8s.api.storagemigration.v1alpha1.GroupVersionResource": { "description": "The names of the group, the version, and the resource.", "properties": { @@ -17408,7 +17656,7 @@ "type": "boolean" }, "x-kubernetes-validations": { - "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled.", + "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language.", "items": { "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ValidationRule" }, @@ -17989,6 +18237,11 @@ "kind": "DeleteOptions", "version": "v1" }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, { "group": "coordination.k8s.io", "kind": "DeleteOptions", @@ -18107,7 +18360,7 @@ { "group": "resource.k8s.io", "kind": "DeleteOptions", - "version": "v1alpha2" + "version": "v1alpha3" }, { "group": "scheduling.k8s.io", @@ -18146,6 +18399,32 @@ } ] }, + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement": { + "description": "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the field selector key that the requirement applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": { "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", "type": "object" @@ -18487,11 +18766,6 @@ "group": "", "kind": "Status", "version": "v1" - }, - { - "group": "resource.k8s.io", - "kind": "Status", - "version": "v1alpha2" } ] }, @@ -18710,6 +18984,11 @@ "kind": "WatchEvent", "version": "v1" }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, { "group": "coordination.k8s.io", "kind": "WatchEvent", @@ -18828,7 +19107,7 @@ { "group": "resource.k8s.io", "kind": "WatchEvent", - "version": "v1alpha2" + "version": "v1alpha3" }, { "group": "scheduling.k8s.io", @@ -55705,6 +55984,834 @@ } ] }, + "/apis/coordination.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getCoordinationV1alpha1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ] + } + }, + "/apis/coordination.k8s.io/v1alpha1/leasecandidates": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind LeaseCandidate", + "operationId": "listCoordinationV1alpha1LeaseCandidateForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of LeaseCandidate", + "operationId": "deleteCoordinationV1alpha1CollectionNamespacedLeaseCandidate", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind LeaseCandidate", + "operationId": "listCoordinationV1alpha1NamespacedLeaseCandidate", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a LeaseCandidate", + "operationId": "createCoordinationV1alpha1NamespacedLeaseCandidate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + } + }, + "/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a LeaseCandidate", + "operationId": "deleteCoordinationV1alpha1NamespacedLeaseCandidate", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified LeaseCandidate", + "operationId": "readCoordinationV1alpha1NamespacedLeaseCandidate", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the LeaseCandidate", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified LeaseCandidate", + "operationId": "patchCoordinationV1alpha1NamespacedLeaseCandidate", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified LeaseCandidate", + "operationId": "replaceCoordinationV1alpha1NamespacedLeaseCandidate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha1.LeaseCandidate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + } + }, + "/apis/coordination.k8s.io/v1alpha1/watch/leasecandidates": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1alpha1LeaseCandidateListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/coordination.k8s.io/v1alpha1/watch/namespaces/{namespace}/leasecandidates": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1alpha1NamespacedLeaseCandidateList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/coordination.k8s.io/v1alpha1/watch/namespaces/{namespace}/leasecandidates/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoordinationV1alpha1NamespacedLeaseCandidate", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the LeaseCandidate", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, "/apis/discovery.k8s.io/": { "get": { "consumes": [ @@ -64183,7 +65290,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/": { + "/apis/networking.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -64191,7 +65298,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getNetworkingV1alpha1APIResources", + "operationId": "getNetworkingV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -64212,17 +65319,17 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ] } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses": { + "/apis/networking.k8s.io/v1beta1/ipaddresses": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of IPAddress", - "operationId": "deleteNetworkingV1alpha1CollectionIPAddress", + "operationId": "deleteNetworkingV1beta1CollectionIPAddress", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -64288,13 +65395,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -64302,7 +65409,7 @@ "*/*" ], "description": "list or watch objects of kind IPAddress", - "operationId": "listNetworkingV1alpha1IPAddress", + "operationId": "listNetworkingV1beta1IPAddress", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -64346,7 +65453,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressList" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddressList" } }, "401": { @@ -64357,13 +65464,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -64376,14 +65483,14 @@ "*/*" ], "description": "create an IPAddress", - "operationId": "createNetworkingV1alpha1IPAddress", + "operationId": "createNetworkingV1beta1IPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, { @@ -64413,19 +65520,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "401": { @@ -64436,23 +65543,23 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1beta1/ipaddresses/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete an IPAddress", - "operationId": "deleteNetworkingV1alpha1IPAddress", + "operationId": "deleteNetworkingV1beta1IPAddress", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -64500,13 +65607,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -64514,7 +65621,7 @@ "*/*" ], "description": "read the specified IPAddress", - "operationId": "readNetworkingV1alpha1IPAddress", + "operationId": "readNetworkingV1beta1IPAddress", "produces": [ "application/json", "application/yaml", @@ -64524,7 +65631,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "401": { @@ -64535,13 +65642,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -64565,7 +65672,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified IPAddress", - "operationId": "patchNetworkingV1alpha1IPAddress", + "operationId": "patchNetworkingV1beta1IPAddress", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -64600,13 +65707,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "401": { @@ -64617,13 +65724,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -64631,14 +65738,14 @@ "*/*" ], "description": "replace the specified IPAddress", - "operationId": "replaceNetworkingV1alpha1IPAddress", + "operationId": "replaceNetworkingV1beta1IPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, { @@ -64668,13 +65775,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "401": { @@ -64685,23 +65792,23 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs": { + "/apis/networking.k8s.io/v1beta1/servicecidrs": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of ServiceCIDR", - "operationId": "deleteNetworkingV1alpha1CollectionServiceCIDR", + "operationId": "deleteNetworkingV1beta1CollectionServiceCIDR", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -64767,13 +65874,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -64781,7 +65888,7 @@ "*/*" ], "description": "list or watch objects of kind ServiceCIDR", - "operationId": "listNetworkingV1alpha1ServiceCIDR", + "operationId": "listNetworkingV1beta1ServiceCIDR", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -64825,7 +65932,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRList" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDRList" } }, "401": { @@ -64836,13 +65943,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -64855,14 +65962,14 @@ "*/*" ], "description": "create a ServiceCIDR", - "operationId": "createNetworkingV1alpha1ServiceCIDR", + "operationId": "createNetworkingV1beta1ServiceCIDR", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, { @@ -64892,19 +65999,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -64915,23 +66022,23 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}": { + "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a ServiceCIDR", - "operationId": "deleteNetworkingV1alpha1ServiceCIDR", + "operationId": "deleteNetworkingV1beta1ServiceCIDR", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -64979,13 +66086,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -64993,7 +66100,7 @@ "*/*" ], "description": "read the specified ServiceCIDR", - "operationId": "readNetworkingV1alpha1ServiceCIDR", + "operationId": "readNetworkingV1beta1ServiceCIDR", "produces": [ "application/json", "application/yaml", @@ -65003,7 +66110,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65014,13 +66121,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65044,7 +66151,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified ServiceCIDR", - "operationId": "patchNetworkingV1alpha1ServiceCIDR", + "operationId": "patchNetworkingV1beta1ServiceCIDR", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -65079,13 +66186,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65096,13 +66203,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -65110,14 +66217,14 @@ "*/*" ], "description": "replace the specified ServiceCIDR", - "operationId": "replaceNetworkingV1alpha1ServiceCIDR", + "operationId": "replaceNetworkingV1beta1ServiceCIDR", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, { @@ -65147,13 +66254,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65164,23 +66271,23 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status": { + "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status": { "get": { "consumes": [ "*/*" ], "description": "read status of the specified ServiceCIDR", - "operationId": "readNetworkingV1alpha1ServiceCIDRStatus", + "operationId": "readNetworkingV1beta1ServiceCIDRStatus", "produces": [ "application/json", "application/yaml", @@ -65190,7 +66297,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65201,13 +66308,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65231,7 +66338,7 @@ "application/apply-patch+yaml" ], "description": "partially update status of the specified ServiceCIDR", - "operationId": "patchNetworkingV1alpha1ServiceCIDRStatus", + "operationId": "patchNetworkingV1beta1ServiceCIDRStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -65266,13 +66373,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65283,13 +66390,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -65297,14 +66404,14 @@ "*/*" ], "description": "replace status of the specified ServiceCIDR", - "operationId": "replaceNetworkingV1alpha1ServiceCIDRStatus", + "operationId": "replaceNetworkingV1beta1ServiceCIDRStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, { @@ -65334,13 +66441,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65351,23 +66458,23 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": { + "/apis/networking.k8s.io/v1beta1/watch/ipaddresses": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of IPAddress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1alpha1IPAddressList", + "operationId": "watchNetworkingV1beta1IPAddressList", "produces": [ "application/json", "application/yaml", @@ -65390,13 +66497,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65435,13 +66542,13 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1beta1/watch/ipaddresses/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind IPAddress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1alpha1IPAddress", + "operationId": "watchNetworkingV1beta1IPAddress", "produces": [ "application/json", "application/yaml", @@ -65464,13 +66571,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65517,13 +66624,13 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs": { + "/apis/networking.k8s.io/v1beta1/watch/servicecidrs": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of ServiceCIDR. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1alpha1ServiceCIDRList", + "operationId": "watchNetworkingV1beta1ServiceCIDRList", "produces": [ "application/json", "application/yaml", @@ -65546,13 +66653,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65591,13 +66698,13 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs/{name}": { + "/apis/networking.k8s.io/v1beta1/watch/servicecidrs/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind ServiceCIDR. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1alpha1ServiceCIDR", + "operationId": "watchNetworkingV1beta1ServiceCIDR", "produces": [ "application/json", "application/yaml", @@ -65620,13 +66727,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -70384,7 +71491,7 @@ ] } }, - "/apis/resource.k8s.io/v1alpha2/": { + "/apis/resource.k8s.io/v1alpha3/": { "get": { "consumes": [ "application/json", @@ -70392,7 +71499,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getResourceV1alpha2APIResources", + "operationId": "getResourceV1alpha3APIResources", "produces": [ "application/json", "application/yaml", @@ -70413,17 +71520,17 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ] } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/deviceclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PodSchedulingContext", - "operationId": "deleteResourceV1alpha2CollectionNamespacedPodSchedulingContext", + "description": "delete collection of DeviceClass", + "operationId": "deleteResourceV1alpha3CollectionDeviceClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -70489,21 +71596,21 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodSchedulingContext", - "operationId": "listResourceV1alpha2NamespacedPodSchedulingContext", + "description": "list or watch objects of kind DeviceClass", + "operationId": "listResourceV1alpha3DeviceClass", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -70547,7 +71654,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContextList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClassList" } }, "401": { @@ -70558,19 +71665,16 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -70579,15 +71683,15 @@ "consumes": [ "*/*" ], - "description": "create a PodSchedulingContext", - "operationId": "createResourceV1alpha2NamespacedPodSchedulingContext", + "description": "create a DeviceClass", + "operationId": "createResourceV1alpha3DeviceClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, { @@ -70617,19 +71721,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "401": { @@ -70640,23 +71744,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}": { + "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PodSchedulingContext", - "operationId": "deleteResourceV1alpha2NamespacedPodSchedulingContext", + "description": "delete a DeviceClass", + "operationId": "deleteResourceV1alpha3DeviceClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -70687,13 +71791,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "401": { @@ -70704,21 +71808,21 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified PodSchedulingContext", - "operationId": "readResourceV1alpha2NamespacedPodSchedulingContext", + "description": "read the specified DeviceClass", + "operationId": "readResourceV1alpha3DeviceClass", "produces": [ "application/json", "application/yaml", @@ -70728,7 +71832,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "401": { @@ -70739,13 +71843,495 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "description": "name of the DeviceClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified DeviceClass", + "operationId": "patchResourceV1alpha3DeviceClass", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified DeviceClass", + "operationId": "replaceResourceV1alpha3DeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + } + }, + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of PodSchedulingContext", + "operationId": "deleteResourceV1alpha3CollectionNamespacedPodSchedulingContext", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "PodSchedulingContext", + "version": "v1alpha3" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind PodSchedulingContext", + "operationId": "listResourceV1alpha3NamespacedPodSchedulingContext", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContextList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "PodSchedulingContext", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a PodSchedulingContext", + "operationId": "createResourceV1alpha3NamespacedPodSchedulingContext", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "PodSchedulingContext", + "version": "v1alpha3" + } + } + }, + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a PodSchedulingContext", + "operationId": "deleteResourceV1alpha3NamespacedPodSchedulingContext", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "PodSchedulingContext", + "version": "v1alpha3" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified PodSchedulingContext", + "operationId": "readResourceV1alpha3NamespacedPodSchedulingContext", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -70772,7 +72358,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified PodSchedulingContext", - "operationId": "patchResourceV1alpha2NamespacedPodSchedulingContext", + "operationId": "patchResourceV1alpha3NamespacedPodSchedulingContext", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -70807,13 +72393,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, "401": { @@ -70824,13 +72410,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "put": { @@ -70838,14 +72424,14 @@ "*/*" ], "description": "replace the specified PodSchedulingContext", - "operationId": "replaceResourceV1alpha2NamespacedPodSchedulingContext", + "operationId": "replaceResourceV1alpha3NamespacedPodSchedulingContext", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, { @@ -70875,13 +72461,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, "401": { @@ -70892,23 +72478,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status": { "get": { "consumes": [ "*/*" ], "description": "read status of the specified PodSchedulingContext", - "operationId": "readResourceV1alpha2NamespacedPodSchedulingContextStatus", + "operationId": "readResourceV1alpha3NamespacedPodSchedulingContextStatus", "produces": [ "application/json", "application/yaml", @@ -70918,7 +72504,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, "401": { @@ -70929,13 +72515,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -70962,7 +72548,7 @@ "application/apply-patch+yaml" ], "description": "partially update status of the specified PodSchedulingContext", - "operationId": "patchResourceV1alpha2NamespacedPodSchedulingContextStatus", + "operationId": "patchResourceV1alpha3NamespacedPodSchedulingContextStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -70997,13 +72583,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, "401": { @@ -71014,13 +72600,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "put": { @@ -71028,14 +72614,14 @@ "*/*" ], "description": "replace status of the specified PodSchedulingContext", - "operationId": "replaceResourceV1alpha2NamespacedPodSchedulingContextStatus", + "operationId": "replaceResourceV1alpha3NamespacedPodSchedulingContextStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, { @@ -71065,13 +72651,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContext" } }, "401": { @@ -71082,508 +72668,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceClaimParameters", - "operationId": "deleteResourceV1alpha2CollectionNamespacedResourceClaimParameters", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClaimParameters", - "operationId": "listResourceV1alpha2NamespacedResourceClaimParameters", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create ResourceClaimParameters", - "operationId": "createResourceV1alpha2NamespacedResourceClaimParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - } - }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete ResourceClaimParameters", - "operationId": "deleteResourceV1alpha2NamespacedResourceClaimParameters", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceClaimParameters", - "operationId": "readResourceV1alpha2NamespacedResourceClaimParameters", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "name of the ResourceClaimParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClaimParameters", - "operationId": "patchResourceV1alpha2NamespacedResourceClaimParameters", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClaimParameters", - "operationId": "replaceResourceV1alpha2NamespacedResourceClaimParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - } - }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of ResourceClaim", - "operationId": "deleteResourceV1alpha2CollectionNamespacedResourceClaim", + "operationId": "deleteResourceV1alpha3CollectionNamespacedResourceClaim", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -71649,13 +72750,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "get": { @@ -71663,7 +72764,7 @@ "*/*" ], "description": "list or watch objects of kind ResourceClaim", - "operationId": "listResourceV1alpha2NamespacedResourceClaim", + "operationId": "listResourceV1alpha3NamespacedResourceClaim", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -71707,7 +72808,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimList" } }, "401": { @@ -71718,13 +72819,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -71740,14 +72841,14 @@ "*/*" ], "description": "create a ResourceClaim", - "operationId": "createResourceV1alpha2NamespacedResourceClaim", + "operationId": "createResourceV1alpha3NamespacedResourceClaim", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, { @@ -71777,19 +72878,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71800,23 +72901,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a ResourceClaim", - "operationId": "deleteResourceV1alpha2NamespacedResourceClaim", + "operationId": "deleteResourceV1alpha3NamespacedResourceClaim", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -71847,13 +72948,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71864,13 +72965,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "get": { @@ -71878,7 +72979,7 @@ "*/*" ], "description": "read the specified ResourceClaim", - "operationId": "readResourceV1alpha2NamespacedResourceClaim", + "operationId": "readResourceV1alpha3NamespacedResourceClaim", "produces": [ "application/json", "application/yaml", @@ -71888,7 +72989,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71899,13 +73000,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -71932,7 +73033,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified ResourceClaim", - "operationId": "patchResourceV1alpha2NamespacedResourceClaim", + "operationId": "patchResourceV1alpha3NamespacedResourceClaim", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -71967,13 +73068,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71984,13 +73085,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "put": { @@ -71998,14 +73099,14 @@ "*/*" ], "description": "replace the specified ResourceClaim", - "operationId": "replaceResourceV1alpha2NamespacedResourceClaim", + "operationId": "replaceResourceV1alpha3NamespacedResourceClaim", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, { @@ -72035,13 +73136,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -72052,23 +73153,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status": { "get": { "consumes": [ "*/*" ], "description": "read status of the specified ResourceClaim", - "operationId": "readResourceV1alpha2NamespacedResourceClaimStatus", + "operationId": "readResourceV1alpha3NamespacedResourceClaimStatus", "produces": [ "application/json", "application/yaml", @@ -72078,7 +73179,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -72089,13 +73190,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -72122,7 +73223,7 @@ "application/apply-patch+yaml" ], "description": "partially update status of the specified ResourceClaim", - "operationId": "patchResourceV1alpha2NamespacedResourceClaimStatus", + "operationId": "patchResourceV1alpha3NamespacedResourceClaimStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -72157,13 +73258,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -72174,13 +73275,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "put": { @@ -72188,14 +73289,14 @@ "*/*" ], "description": "replace status of the specified ResourceClaim", - "operationId": "replaceResourceV1alpha2NamespacedResourceClaimStatus", + "operationId": "replaceResourceV1alpha3NamespacedResourceClaimStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, { @@ -72225,13 +73326,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -72242,23 +73343,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of ResourceClaimTemplate", - "operationId": "deleteResourceV1alpha2CollectionNamespacedResourceClaimTemplate", + "operationId": "deleteResourceV1alpha3CollectionNamespacedResourceClaimTemplate", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -72324,13 +73425,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "get": { @@ -72338,7 +73439,7 @@ "*/*" ], "description": "list or watch objects of kind ResourceClaimTemplate", - "operationId": "listResourceV1alpha2NamespacedResourceClaimTemplate", + "operationId": "listResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -72382,7 +73483,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplateList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList" } }, "401": { @@ -72393,13 +73494,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -72415,14 +73516,14 @@ "*/*" ], "description": "create a ResourceClaimTemplate", - "operationId": "createResourceV1alpha2NamespacedResourceClaimTemplate", + "operationId": "createResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, { @@ -72452,19 +73553,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -72475,23 +73576,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a ResourceClaimTemplate", - "operationId": "deleteResourceV1alpha2NamespacedResourceClaimTemplate", + "operationId": "deleteResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -72522,13 +73623,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -72539,13 +73640,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "get": { @@ -72553,7 +73654,7 @@ "*/*" ], "description": "read the specified ResourceClaimTemplate", - "operationId": "readResourceV1alpha2NamespacedResourceClaimTemplate", + "operationId": "readResourceV1alpha3NamespacedResourceClaimTemplate", "produces": [ "application/json", "application/yaml", @@ -72563,7 +73664,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -72574,13 +73675,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -72607,7 +73708,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified ResourceClaimTemplate", - "operationId": "patchResourceV1alpha2NamespacedResourceClaimTemplate", + "operationId": "patchResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -72642,13 +73743,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -72659,13 +73760,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "put": { @@ -72673,14 +73774,14 @@ "*/*" ], "description": "replace the specified ResourceClaimTemplate", - "operationId": "replaceResourceV1alpha2NamespacedResourceClaimTemplate", + "operationId": "replaceResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, { @@ -72710,13 +73811,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -72727,508 +73828,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceClassParameters", - "operationId": "deleteResourceV1alpha2CollectionNamespacedResourceClassParameters", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClassParameters", - "operationId": "listResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create ResourceClassParameters", - "operationId": "createResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - } - }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete ResourceClassParameters", - "operationId": "deleteResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceClassParameters", - "operationId": "readResourceV1alpha2NamespacedResourceClassParameters", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "name of the ResourceClassParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClassParameters", - "operationId": "patchResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClassParameters", - "operationId": "replaceResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - } - }, - "/apis/resource.k8s.io/v1alpha2/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/podschedulingcontexts": { "get": { "consumes": [ "*/*" ], "description": "list or watch objects of kind PodSchedulingContext", - "operationId": "listResourceV1alpha2PodSchedulingContextForAllNamespaces", + "operationId": "listResourceV1alpha3PodSchedulingContextForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -73240,7 +73856,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContextList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.PodSchedulingContextList" } }, "401": { @@ -73251,13 +73867,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -73296,87 +73912,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclaimparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClaimParameters", - "operationId": "listResourceV1alpha2ResourceClaimParametersForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/resourceclaims": { "get": { "consumes": [ "*/*" ], "description": "list or watch objects of kind ResourceClaim", - "operationId": "listResourceV1alpha2ResourceClaimForAllNamespaces", + "operationId": "listResourceV1alpha3ResourceClaimForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -73388,7 +73930,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimList" } }, "401": { @@ -73399,13 +73941,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -73444,13 +73986,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates": { "get": { "consumes": [ "*/*" ], "description": "list or watch objects of kind ResourceClaimTemplate", - "operationId": "listResourceV1alpha2ResourceClaimTemplateForAllNamespaces", + "operationId": "listResourceV1alpha3ResourceClaimTemplateForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -73462,7 +74004,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplateList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList" } }, "401": { @@ -73473,13 +74015,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -73518,566 +74060,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceClass", - "operationId": "deleteResourceV1alpha2CollectionResourceClass", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClass", - "operationId": "listResourceV1alpha2ResourceClass", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ResourceClass", - "operationId": "createResourceV1alpha2ResourceClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - } - }, - "/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ResourceClass", - "operationId": "deleteResourceV1alpha2ResourceClass", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceClass", - "operationId": "readResourceV1alpha2ResourceClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "name of the ResourceClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClass", - "operationId": "patchResourceV1alpha2ResourceClass", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClass", - "operationId": "replaceResourceV1alpha2ResourceClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - } - }, - "/apis/resource.k8s.io/v1alpha2/resourceclassparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClassParameters", - "operationId": "listResourceV1alpha2ResourceClassParametersForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/resourceslices": { + "/apis/resource.k8s.io/v1alpha3/resourceslices": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of ResourceSlice", - "operationId": "deleteResourceV1alpha2CollectionResourceSlice", + "operationId": "deleteResourceV1alpha3CollectionResourceSlice", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -74143,13 +74132,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } }, "get": { @@ -74157,7 +74146,7 @@ "*/*" ], "description": "list or watch objects of kind ResourceSlice", - "operationId": "listResourceV1alpha2ResourceSlice", + "operationId": "listResourceV1alpha3ResourceSlice", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -74201,7 +74190,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSliceList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSliceList" } }, "401": { @@ -74212,13 +74201,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -74231,14 +74220,14 @@ "*/*" ], "description": "create a ResourceSlice", - "operationId": "createResourceV1alpha2ResourceSlice", + "operationId": "createResourceV1alpha3ResourceSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, { @@ -74268,19 +74257,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -74291,23 +74280,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/resourceslices/{name}": { + "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a ResourceSlice", - "operationId": "deleteResourceV1alpha2ResourceSlice", + "operationId": "deleteResourceV1alpha3ResourceSlice", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -74338,13 +74327,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -74355,13 +74344,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } }, "get": { @@ -74369,7 +74358,7 @@ "*/*" ], "description": "read the specified ResourceSlice", - "operationId": "readResourceV1alpha2ResourceSlice", + "operationId": "readResourceV1alpha3ResourceSlice", "produces": [ "application/json", "application/yaml", @@ -74379,7 +74368,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -74390,13 +74379,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -74420,7 +74409,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified ResourceSlice", - "operationId": "patchResourceV1alpha2ResourceSlice", + "operationId": "patchResourceV1alpha3ResourceSlice", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -74455,13 +74444,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -74472,13 +74461,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } }, "put": { @@ -74486,14 +74475,14 @@ "*/*" ], "description": "replace the specified ResourceSlice", - "operationId": "replaceResourceV1alpha2ResourceSlice", + "operationId": "replaceResourceV1alpha3ResourceSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, { @@ -74523,13 +74512,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -74540,23 +74529,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PodSchedulingContext. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedPodSchedulingContextList", + "description": "watch individual changes to a list of DeviceClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1alpha3DeviceClassList", "produces": [ "application/json", "application/yaml", @@ -74579,13 +74568,169 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind DeviceClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchResourceV1alpha3DeviceClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the DeviceClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/podschedulingcontexts": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of PodSchedulingContext. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1alpha3NamespacedPodSchedulingContextList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -74627,13 +74772,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts/{name}": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/podschedulingcontexts/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind PodSchedulingContext. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedPodSchedulingContext", + "operationId": "watchResourceV1alpha3NamespacedPodSchedulingContext", "produces": [ "application/json", "application/yaml", @@ -74656,13 +74801,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -74712,175 +74857,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ResourceClaimParameters. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimParametersList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ResourceClaimParameters. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimParameters", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the ResourceClaimParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimList", + "operationId": "watchResourceV1alpha3NamespacedResourceClaimList", "produces": [ "application/json", "application/yaml", @@ -74903,13 +74886,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -74951,13 +74934,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims/{name}": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaim", + "operationId": "watchResourceV1alpha3NamespacedResourceClaim", "produces": [ "application/json", "application/yaml", @@ -74980,13 +74963,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -75036,13 +75019,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimTemplateList", + "operationId": "watchResourceV1alpha3NamespacedResourceClaimTemplateList", "produces": [ "application/json", "application/yaml", @@ -75065,13 +75048,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -75113,13 +75096,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimTemplate", + "operationId": "watchResourceV1alpha3NamespacedResourceClaimTemplate", "produces": [ "application/json", "application/yaml", @@ -75142,13 +75125,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -75198,175 +75181,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ResourceClassParameters. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedResourceClassParametersList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ResourceClassParameters. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedResourceClassParameters", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the ResourceClassParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/watch/podschedulingcontexts": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of PodSchedulingContext. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2PodSchedulingContextListForAllNamespaces", + "operationId": "watchResourceV1alpha3PodSchedulingContextListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -75389,13 +75210,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -75434,87 +75255,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ResourceClaimParameters. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClaimParametersListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/watch/resourceclaims": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClaimListForAllNamespaces", + "operationId": "watchResourceV1alpha3ResourceClaimListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -75537,13 +75284,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -75582,13 +75329,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/watch/resourceclaimtemplates": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClaimTemplateListForAllNamespaces", + "operationId": "watchResourceV1alpha3ResourceClaimTemplateListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -75611,13 +75358,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -75656,243 +75403,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ResourceClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ResourceClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2ResourceClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the ResourceClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclassparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ResourceClassParameters. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClassParametersListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceslices": { + "/apis/resource.k8s.io/v1alpha3/watch/resourceslices": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of ResourceSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceSliceList", + "operationId": "watchResourceV1alpha3ResourceSliceList", "produces": [ "application/json", "application/yaml", @@ -75915,13 +75432,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -75960,13 +75477,13 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceslices/{name}": { + "/apis/resource.k8s.io/v1alpha3/watch/resourceslices/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind ResourceSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2ResourceSlice", + "operationId": "watchResourceV1alpha3ResourceSlice", "produces": [ "application/json", "application/yaml", @@ -75989,13 +75506,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -80999,6 +80516,674 @@ } ] }, + "/apis/storage.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getStorageV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ] + } + }, + "/apis/storage.k8s.io/v1beta1/volumeattributesclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of VolumeAttributesClass", + "operationId": "deleteStorageV1beta1CollectionVolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind VolumeAttributesClass", + "operationId": "listStorageV1beta1VolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a VolumeAttributesClass", + "operationId": "createStorageV1beta1VolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + } + }, + "/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a VolumeAttributesClass", + "operationId": "deleteStorageV1beta1VolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified VolumeAttributesClass", + "operationId": "readStorageV1beta1VolumeAttributesClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the VolumeAttributesClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified VolumeAttributesClass", + "operationId": "patchStorageV1beta1VolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified VolumeAttributesClass", + "operationId": "replaceStorageV1beta1VolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + } + }, + "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of VolumeAttributesClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1beta1VolumeAttributesClassList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind VolumeAttributesClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1beta1VolumeAttributesClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the VolumeAttributesClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, "/apis/storagemigration.k8s.io/": { "get": { "consumes": [ diff --git a/scripts/swagger.json b/scripts/swagger.json index 722ed6683..ca4ffb9f1 100644 --- a/scripts/swagger.json +++ b/scripts/swagger.json @@ -497,6 +497,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -555,6 +558,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1136,6 +1142,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1194,6 +1203,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1609,6 +1621,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1667,6 +1682,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -2839,11 +2857,11 @@ }, "ordinals": { "$ref": "#/definitions/v1.StatefulSetOrdinals", - "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta." + "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested." }, "persistentVolumeClaimRetentionPolicy": { "$ref": "#/definitions/v1.StatefulSetPersistentVolumeClaimRetentionPolicy", - "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional" + "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is beta." }, "podManagementPolicy": { "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", @@ -3302,6 +3320,42 @@ }, "type": "object" }, + "v1.FieldSelectorAttributes": { + "description": "FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", + "properties": { + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", + "type": "string" + }, + "requirements": { + "description": "requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "items": { + "$ref": "#/definitions/v1.FieldSelectorRequirement" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1.LabelSelectorAttributes": { + "description": "LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", + "properties": { + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", + "type": "string" + }, + "requirements": { + "description": "requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "items": { + "$ref": "#/definitions/v1.LabelSelectorRequirement" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, "v1.LocalSubjectAccessReview": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", "properties": { @@ -3380,10 +3434,18 @@ "v1.ResourceAttributes": { "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { + "fieldSelector": { + "$ref": "#/definitions/v1.FieldSelectorAttributes", + "description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + }, "group": { "description": "Group is the API Group of the Resource. \"*\" means all.", "type": "string" }, + "labelSelector": { + "$ref": "#/definitions/v1.LabelSelectorAttributes", + "description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + }, "name": { "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", "type": "string" @@ -4767,7 +4829,7 @@ "type": "integer" }, "managedBy": { - "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).", + "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).", "type": "string" }, "manualSelector": { @@ -4786,7 +4848,7 @@ }, "podFailurePolicy": { "$ref": "#/definitions/v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", @@ -4798,7 +4860,7 @@ }, "successPolicy": { "$ref": "#/definitions/v1.SuccessPolicy", - "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default)." + "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default)." }, "suspend": { "description": "suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.", @@ -4856,7 +4918,7 @@ "type": "string" }, "ready": { - "description": "The number of pods which have a Ready condition.", + "description": "The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).", "format": "int32", "type": "integer" }, @@ -5381,11 +5443,11 @@ "type": "string" }, "holderIdentity": { - "description": "holderIdentity contains the identity of the holder of a current lease.", + "description": "holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.", "type": "string" }, "leaseDurationSeconds": { - "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime.", + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.", "format": "int32", "type": "integer" }, @@ -5394,14 +5456,126 @@ "format": "int32", "type": "integer" }, + "preferredHolder": { + "description": "PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.", + "type": "string" + }, "renewTime": { "description": "renewTime is a time when the current holder of a lease has last updated the lease.", "format": "date-time", "type": "string" + }, + "strategy": { + "description": "Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.", + "type": "string" } }, "type": "object" }, + "v1alpha1.LeaseCandidate": { + "description": "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1alpha1.LeaseCandidateSpec", + "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + ] + }, + "v1alpha1.LeaseCandidateList": { + "description": "LeaseCandidateList is a list of Lease objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is a list of schema objects.", + "items": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseCandidateList", + "version": "v1alpha1" + } + ] + }, + "v1alpha1.LeaseCandidateSpec": { + "description": "LeaseCandidateSpec is a specification of a Lease.", + "properties": { + "binaryVersion": { + "description": "BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required when strategy is \"OldestEmulationVersion\"", + "type": "string" + }, + "emulationVersion": { + "description": "EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"", + "type": "string" + }, + "leaseName": { + "description": "LeaseName is the name of the lease for which this candidate is contending. This field is immutable.", + "type": "string" + }, + "pingTime": { + "description": "PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.", + "format": "date-time", + "type": "string" + }, + "preferredStrategies": { + "description": "PreferredStrategies indicates the list of strategies for picking the leader for coordinated leader election. The list is ordered, and the first strategy supersedes all other strategies. The list is used by coordinated leader election to make a decision about the final election strategy. This follows as - If all clients have strategy X as the first element in this list, strategy X will be used. - If a candidate has strategy [X] and another candidate has strategy [Y, X], Y supersedes X and strategy Y\n will be used.\n- If a candidate has strategy [X, Y] and another candidate has strategy [Y, X], this is a user error and leader\n election will not operate the Lease until resolved.\n(Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "renewTime": { + "description": "RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.", + "format": "date-time", + "type": "string" + } + }, + "required": [ + "leaseName", + "preferredStrategies" + ], + "type": "object" + }, "v1.AWSElasticBlockStoreVolumeSource": { "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", "properties": { @@ -5834,20 +6008,6 @@ ], "type": "object" }, - "v1.ClaimSource": { - "description": "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.", - "properties": { - "resourceClaimName": { - "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.", - "type": "string" - }, - "resourceClaimTemplateName": { - "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.", - "type": "string" - } - }, - "type": "object" - }, "v1.ClientIPConfig": { "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "properties": { @@ -6503,6 +6663,19 @@ "description": "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.", "type": "object" }, + "allocatedResourcesStatus": { + "description": "AllocatedResourcesStatus represents the status of various resources allocated for this Pod.", + "items": { + "$ref": "#/definitions/v1.ResourceStatus" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, "containerID": { "description": "ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\").", "type": "string" @@ -6544,6 +6717,10 @@ "$ref": "#/definitions/v1.ContainerState", "description": "State holds details about the container's current condition." }, + "user": { + "$ref": "#/definitions/v1.ContainerUser", + "description": "User represents user identity information initially attached to the first process of the container" + }, "volumeMounts": { "description": "Status of volume mounts.", "items": { @@ -6567,6 +6744,16 @@ ], "type": "object" }, + "v1.ContainerUser": { + "description": "ContainerUser represents user identity information", + "properties": { + "linux": { + "$ref": "#/definitions/v1.LinuxContainerUser", + "description": "Linux holds user identity information initially attached to the first process of the containers in Linux. Note that the actual running identity can be changed if the process has enough privilege to do so." + } + }, + "type": "object" + }, "v1.DaemonEndpoint": { "description": "DaemonEndpoint contains information about a single Daemon endpoint.", "properties": { @@ -7512,6 +7699,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "v1.HostPathVolumeSource": { @@ -7651,6 +7841,20 @@ ], "type": "object" }, + "v1.ImageVolumeSource": { + "description": "ImageVolumeSource represents a image volume resource.", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + }, + "type": "object" + }, "v1.KeyToPath": { "description": "Maps a string key to a path within a volume.", "properties": { @@ -7844,6 +8048,35 @@ ], "type": "object" }, + "v1.LinuxContainerUser": { + "description": "LinuxContainerUser represents user identity information in Linux containers", + "properties": { + "gid": { + "description": "GID is the primary gid initially attached to the first process in the container", + "format": "int64", + "type": "integer" + }, + "supplementalGroups": { + "description": "SupplementalGroups are the supplemental groups initially attached to the first process in the container", + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "uid": { + "description": "UID is the primary uid initially attached to the first process in the container", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "uid", + "gid" + ], + "type": "object" + }, "v1.LoadBalancerIngress": { "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", "properties": { @@ -8232,6 +8465,16 @@ }, "type": "object" }, + "v1.NodeFeatures": { + "description": "NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.", + "properties": { + "supplementalGroupsPolicy": { + "description": "SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.", + "type": "boolean" + } + }, + "type": "object" + }, "v1.NodeList": { "description": "NodeList is the whole list of all Nodes which have been registered with master.", "properties": { @@ -8282,11 +8525,15 @@ "type": "object" }, "v1.NodeRuntimeHandlerFeatures": { - "description": "NodeRuntimeHandlerFeatures is a set of runtime features.", + "description": "NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler.", "properties": { "recursiveReadOnlyMounts": { "description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.", "type": "boolean" + }, + "userNamespaces": { + "description": "UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.", + "type": "boolean" } }, "type": "object" @@ -8430,7 +8677,7 @@ "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" }, - "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", + "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity", "type": "object" }, "conditions": { @@ -8454,6 +8701,10 @@ "$ref": "#/definitions/v1.NodeDaemonEndpoints", "description": "Endpoints of daemons running on the Node." }, + "features": { + "$ref": "#/definitions/v1.NodeFeatures", + "description": "Features describes the set of features implemented by the CRI implementation." + }, "images": { "description": "List of container images on this node", "items": { @@ -8517,7 +8768,7 @@ "type": "string" }, "kubeProxyVersion": { - "description": "KubeProxy Version reported by the node.", + "description": "Deprecated: KubeProxy Version reported by the node.", "type": "string" }, "kubeletVersion": { @@ -8775,7 +9026,7 @@ "type": "string" }, "volumeAttributesClassName": { - "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.", + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", "type": "string" }, "volumeMode": { @@ -8838,12 +9089,12 @@ "x-kubernetes-patch-strategy": "merge" }, "currentVolumeAttributesClassName": { - "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.", + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", "type": "string" }, "modifyVolumeStatus": { "$ref": "#/definitions/v1.ModifyVolumeStatus", - "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature." + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default)." }, "phase": { "description": "phase represents the current phase of PersistentVolumeClaim.", @@ -9050,7 +9301,7 @@ "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" }, "volumeAttributesClassName": { - "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.", + "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", "type": "string" }, "volumeMode": { @@ -9068,7 +9319,7 @@ "description": "PersistentVolumeStatus is the current status of a persistent volume.", "properties": { "lastPhaseTransitionTime": { - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).", + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.", "format": "date-time", "type": "string" }, @@ -9167,7 +9418,7 @@ "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods." }, "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", "items": { "type": "string" }, @@ -9175,7 +9426,7 @@ "x-kubernetes-list-type": "atomic" }, "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", "items": { "type": "string" }, @@ -9313,6 +9564,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "v1.PodList": { @@ -9377,15 +9631,19 @@ "type": "object" }, "v1.PodResourceClaim": { - "description": "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", + "description": "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", "properties": { "name": { "description": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.", "type": "string" }, - "source": { - "$ref": "#/definitions/v1.ClaimSource", - "description": "Source describes where to find the ResourceClaim." + "resourceClaimName": { + "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" + }, + "resourceClaimTemplateName": { + "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" } }, "required": [ @@ -9401,7 +9659,7 @@ "type": "string" }, "resourceClaimName": { - "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", + "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", "type": "string" } }, @@ -9462,7 +9720,7 @@ "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." }, "supplementalGroups": { - "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.", + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.", "items": { "format": "int64", "type": "integer" @@ -9470,6 +9728,10 @@ "type": "array", "x-kubernetes-list-type": "atomic" }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, "sysctls": { "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.", "items": { @@ -9599,7 +9861,7 @@ "x-kubernetes-patch-strategy": "merge" }, "nodeName": { - "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.", + "description": "NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename", "type": "string" }, "nodeSelector": { @@ -9612,7 +9874,7 @@ }, "os": { "$ref": "#/definitions/v1.PodOS", - "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" + "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" }, "overhead": { "additionalProperties": { @@ -10068,7 +10330,7 @@ "type": "integer" }, "sources": { - "description": "sources is the list of volume projections", + "description": "sources is the list of volume projections. Each entry in this list handles one source.", "items": { "$ref": "#/definitions/v1.VolumeProjection" }, @@ -10384,6 +10646,10 @@ "name": { "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "type": "string" } }, "required": [ @@ -10413,6 +10679,23 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, + "v1.ResourceHealth": { + "description": "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680 and historical health changes are planned to be added in future iterations of a KEP.", + "properties": { + "health": { + "description": "Health of the resource. can be one of:\n - Healthy: operates as normal\n - Unhealthy: reported unhealthy. We consider this a temporary health issue\n since we do not have a mechanism today to distinguish\n temporary and permanent issues.\n - Unknown: The status cannot be determined.\n For example, Device Plugin got unregistered and hasn't been re-registered since.\n\nIn future we may want to introduce the PermanentlyUnhealthy Status.", + "type": "string" + }, + "resourceID": { + "description": "ResourceID is the unique identifier of the resource. See the ResourceID type for more information.", + "type": "string" + } + }, + "required": [ + "resourceID" + ], + "type": "object" + }, "v1.ResourceQuota": { "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { @@ -10562,6 +10845,29 @@ }, "type": "object" }, + "v1.ResourceStatus": { + "properties": { + "name": { + "description": "Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.", + "type": "string" + }, + "resources": { + "description": "List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition.", + "items": { + "$ref": "#/definitions/v1.ResourceHealth" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "resourceID" + ], + "x-kubernetes-list-type": "map" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "v1.SELinuxOptions": { "description": "SELinuxOptions are the labels to be applied to the container", "properties": { @@ -10955,7 +11261,7 @@ "type": "boolean" }, "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", "type": "string" }, "readOnlyRootFilesystem": { @@ -11713,6 +12019,10 @@ "$ref": "#/definitions/v1.HostPathVolumeSource", "description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" }, + "image": { + "$ref": "#/definitions/v1.ImageVolumeSource", + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type." + }, "iscsi": { "$ref": "#/definitions/v1.ISCSIVolumeSource", "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md" @@ -11864,7 +12174,7 @@ "type": "object" }, "v1.VolumeProjection": { - "description": "Projection that may be projected along with other supported volume types", + "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", "properties": { "clusterTrustBundle": { "$ref": "#/definitions/v1.ClusterTrustBundleProjection", @@ -14086,9 +14396,10 @@ "type": "integer" } }, - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "v1alpha1.IPAddress": { + "v1beta1.IPAddress": { "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { "apiVersion": { @@ -14104,7 +14415,7 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/v1alpha1.IPAddressSpec", + "$ref": "#/definitions/v1beta1.IPAddressSpec", "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, @@ -14113,11 +14424,11 @@ { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "v1alpha1.IPAddressList": { + "v1beta1.IPAddressList": { "description": "IPAddressList contains a list of IPAddress.", "properties": { "apiVersion": { @@ -14127,7 +14438,7 @@ "items": { "description": "items is the list of IPAddresses.", "items": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" }, "type": "array" }, @@ -14148,15 +14459,15 @@ { "group": "networking.k8s.io", "kind": "IPAddressList", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "v1alpha1.IPAddressSpec": { + "v1beta1.IPAddressSpec": { "description": "IPAddressSpec describe the attributes in an IP Address.", "properties": { "parentRef": { - "$ref": "#/definitions/v1alpha1.ParentReference", + "$ref": "#/definitions/v1beta1.ParentReference", "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." } }, @@ -14165,7 +14476,7 @@ ], "type": "object" }, - "v1alpha1.ParentReference": { + "v1beta1.ParentReference": { "description": "ParentReference describes a reference to a parent object.", "properties": { "group": { @@ -14191,7 +14502,7 @@ ], "type": "object" }, - "v1alpha1.ServiceCIDR": { + "v1beta1.ServiceCIDR": { "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { @@ -14207,11 +14518,11 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/v1alpha1.ServiceCIDRSpec", + "$ref": "#/definitions/v1beta1.ServiceCIDRSpec", "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/v1alpha1.ServiceCIDRStatus", + "$ref": "#/definitions/v1beta1.ServiceCIDRStatus", "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, @@ -14220,11 +14531,11 @@ { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "v1alpha1.ServiceCIDRList": { + "v1beta1.ServiceCIDRList": { "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", "properties": { "apiVersion": { @@ -14234,7 +14545,7 @@ "items": { "description": "items is the list of ServiceCIDRs.", "items": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" }, "type": "array" }, @@ -14255,11 +14566,11 @@ { "group": "networking.k8s.io", "kind": "ServiceCIDRList", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "v1alpha1.ServiceCIDRSpec": { + "v1beta1.ServiceCIDRSpec": { "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", "properties": { "cidrs": { @@ -14273,7 +14584,7 @@ }, "type": "object" }, - "v1alpha1.ServiceCIDRStatus": { + "v1beta1.ServiceCIDRStatus": { "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", "properties": { "conditions": { @@ -14988,69 +15299,67 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, - "v1alpha2.AllocationResult": { + "v1alpha3.AllocationResult": { "description": "AllocationResult contains attributes of an allocated resource.", "properties": { - "availableOnNodes": { - "$ref": "#/definitions/v1.NodeSelector", - "description": "This field will get set by the resource driver after it has allocated the resource to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere." - }, - "resourceHandles": { - "description": "ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nSetting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceHandle" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "shareable": { - "description": "Shareable determines whether the resource supports more than one consumer at a time.", - "type": "boolean" - } - }, - "type": "object" - }, - "v1alpha2.DriverAllocationResult": { - "description": "DriverAllocationResult contains vendor parameters and the allocation result for one request.", - "properties": { - "namedResources": { - "$ref": "#/definitions/v1alpha2.NamedResourcesAllocationResult", - "description": "NamedResources describes the allocation result when using the named resources model." - }, - "vendorRequestParameters": { - "description": "VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated.", - "type": "object" - } - }, - "type": "object" - }, - "v1alpha2.DriverRequests": { - "description": "DriverRequests describes all resources that are needed from one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", + "controller": { + "description": "Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.\n\nA driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.\n\nThis is an alpha field and requires enabling the DRAControlPlaneController feature gate.", "type": "string" }, - "requests": { - "description": "Requests describes all resources that are needed from the driver.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceRequest" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "devices": { + "$ref": "#/definitions/v1alpha3.DeviceAllocationResult", + "description": "Devices is the result of allocating devices." }, - "vendorParameters": { - "description": "VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim.", + "nodeSelector": { + "$ref": "#/definitions/v1.NodeSelector", + "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere." + } + }, + "type": "object" + }, + "v1alpha3.BasicDevice": { + "description": "BasicDevice defines one device instance.", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "#/definitions/v1alpha3.DeviceAttribute" + }, + "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" + }, + "capacity": { + "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", + "type": "string" + }, + "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", "type": "object" } }, "type": "object" }, - "v1alpha2.NamedResourcesAllocationResult": { - "description": "NamedResourcesAllocationResult is used in AllocationResultModel.", + "v1alpha3.CELDeviceSelector": { + "description": "CELDeviceSelector contains a CEL expression for selecting a device.", "properties": { + "expression": { + "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)", + "type": "string" + } + }, + "required": [ + "expression" + ], + "type": "object" + }, + "v1alpha3.Device": { + "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.", + "properties": { + "basic": { + "$ref": "#/definitions/v1alpha3.BasicDevice", + "description": "Basic defines one device instance." + }, "name": { - "description": "Name is the name of the selected resource instance.", + "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.", "type": "string" } }, @@ -15059,135 +15368,115 @@ ], "type": "object" }, - "v1alpha2.NamedResourcesAttribute": { - "description": "NamedResourcesAttribute is a combination of an attribute name and its value.", + "v1alpha3.DeviceAllocationConfiguration": { + "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.", + "properties": { + "opaque": { + "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + }, + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "source": { + "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.", + "type": "string" + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "v1alpha3.DeviceAllocationResult": { + "description": "DeviceAllocationResult is the result of allocating devices.", + "properties": { + "config": { + "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceAllocationConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results lists all allocated devices.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceRequestAllocationResult" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1alpha3.DeviceAttribute": { + "description": "DeviceAttribute must have exactly one field set.", "properties": { "bool": { "description": "BoolValue is a true/false value.", "type": "boolean" }, "int": { - "description": "IntValue is a 64-bit integer.", + "description": "IntValue is a number.", "format": "int64", "type": "integer" }, - "intSlice": { - "$ref": "#/definitions/v1alpha2.NamedResourcesIntSlice", - "description": "IntSliceValue is an array of 64-bit integers." - }, - "name": { - "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.", - "type": "string" - }, - "quantity": { - "description": "QuantityValue is a quantity.", - "type": "string" - }, "string": { - "description": "StringValue is a string.", + "description": "StringValue is a string. Must not be longer than 64 characters.", "type": "string" }, - "stringSlice": { - "$ref": "#/definitions/v1alpha2.NamedResourcesStringSlice", - "description": "StringSliceValue is an array of strings." - }, "version": { - "description": "VersionValue is a semantic version according to semver.org spec 2.0.0.", + "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.", "type": "string" } }, - "required": [ - "name" - ], "type": "object" }, - "v1alpha2.NamedResourcesFilter": { - "description": "NamedResourcesFilter is used in ResourceFilterModel.", + "v1alpha3.DeviceClaim": { + "description": "DeviceClaim defines how to request devices with a ResourceClaim.", "properties": { - "selector": { - "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()", - "type": "string" - } - }, - "required": [ - "selector" - ], - "type": "object" - }, - "v1alpha2.NamedResourcesInstance": { - "description": "NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.", - "properties": { - "attributes": { - "description": "Attributes defines the attributes of this resource instance. The name of each attribute must be unique.", + "config": { + "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.", "items": { - "$ref": "#/definitions/v1alpha2.NamedResourcesAttribute" + "$ref": "#/definitions/v1alpha3.DeviceClaimConfiguration" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "name": { - "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "v1alpha2.NamedResourcesIntSlice": { - "description": "NamedResourcesIntSlice contains a slice of 64-bit integers.", - "properties": { - "ints": { - "description": "Ints is the slice of 64-bit integers.", + "constraints": { + "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.", "items": { - "format": "int64", - "type": "integer" + "$ref": "#/definitions/v1alpha3.DeviceConstraint" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requests": { + "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceRequest" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, - "required": [ - "ints" - ], "type": "object" }, - "v1alpha2.NamedResourcesRequest": { - "description": "NamedResourcesRequest is used in ResourceRequestModel.", + "v1alpha3.DeviceClaimConfiguration": { + "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.", "properties": { - "selector": { - "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()", - "type": "string" - } - }, - "required": [ - "selector" - ], - "type": "object" - }, - "v1alpha2.NamedResourcesResources": { - "description": "NamedResourcesResources is used in ResourceModel.", - "properties": { - "instances": { - "description": "The list of all individual resources instances currently available.", - "items": { - "$ref": "#/definitions/v1alpha2.NamedResourcesInstance" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "instances" - ], - "type": "object" - }, - "v1alpha2.NamedResourcesStringSlice": { - "description": "NamedResourcesStringSlice contains a slice of strings.", - "properties": { - "strings": { - "description": "Strings is the slice of strings.", + "opaque": { + "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + }, + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.", "items": { "type": "string" }, @@ -15195,13 +15484,10 @@ "x-kubernetes-list-type": "atomic" } }, - "required": [ - "strings" - ], "type": "object" }, - "v1alpha2.PodSchedulingContext": { - "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "v1alpha3.DeviceClass": { + "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15216,11 +15502,227 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContextSpec", + "$ref": "#/definitions/v1alpha3.DeviceClassSpec", + "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number." + } + }, + "required": [ + "spec" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + ] + }, + "v1alpha3.DeviceClassConfiguration": { + "description": "DeviceClassConfiguration is used in DeviceClass.", + "properties": { + "opaque": { + "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + } + }, + "type": "object" + }, + "v1alpha3.DeviceClassList": { + "description": "DeviceClassList is a collection of classes.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of resource classes.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "resource.k8s.io", + "kind": "DeviceClassList", + "version": "v1alpha3" + } + ] + }, + "v1alpha3.DeviceClassSpec": { + "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.", + "properties": { + "config": { + "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceClassConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "selectors": { + "description": "Each selector must be satisfied by a device which is claimed via this class.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "suitableNodes": { + "$ref": "#/definitions/v1.NodeSelector", + "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a claim that has not been allocated yet *and* that claim gets allocated through a control plane controller. It is ignored when the claim does not use a control plane controller for allocation.\n\nSetting this field is optional. If unset, all Nodes are candidates.\n\nThis is an alpha field and requires enabling the DRAControlPlaneController feature gate." + } + }, + "type": "object" + }, + "v1alpha3.DeviceConstraint": { + "description": "DeviceConstraint must have exactly one field set besides Requests.", + "properties": { + "matchAttribute": { + "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.", + "type": "string" + }, + "requests": { + "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1alpha3.DeviceRequest": { + "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nA DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.", + "properties": { + "adminAccess": { + "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.", + "type": "boolean" + }, + "allocationMode": { + "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.", + "type": "string" + }, + "count": { + "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.", + "format": "int64", + "type": "integer" + }, + "deviceClassName": { + "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.", + "type": "string" + }, + "name": { + "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.", + "type": "string" + }, + "selectors": { + "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "name", + "deviceClassName" + ], + "type": "object" + }, + "v1alpha3.DeviceRequestAllocationResult": { + "description": "DeviceRequestAllocationResult contains the allocation result for one request.", + "properties": { + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", + "type": "string" + }, + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", + "type": "string" + }, + "request": { + "description": "Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.", + "type": "string" + } + }, + "required": [ + "request", + "driver", + "pool", + "device" + ], + "type": "object" + }, + "v1alpha3.DeviceSelector": { + "description": "DeviceSelector must have exactly one field set.", + "properties": { + "cel": { + "$ref": "#/definitions/v1alpha3.CELDeviceSelector", + "description": "CEL contains a CEL expression for selecting a device." + } + }, + "type": "object" + }, + "v1alpha3.OpaqueDeviceConfiguration": { + "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.", + "properties": { + "driver": { + "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "parameters": { + "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.", + "type": "object" + } + }, + "required": [ + "driver", + "parameters" + ], + "type": "object" + }, + "v1alpha3.PodSchedulingContext": { + "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DRAControlPlaneController feature gate.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object metadata" + }, + "spec": { + "$ref": "#/definitions/v1alpha3.PodSchedulingContextSpec", "description": "Spec describes where resources for the Pod are needed." }, "status": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContextStatus", + "$ref": "#/definitions/v1alpha3.PodSchedulingContextStatus", "description": "Status describes where resources for the Pod can be allocated." } }, @@ -15232,11 +15734,11 @@ { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "v1alpha2.PodSchedulingContextList": { + "v1alpha3.PodSchedulingContextList": { "description": "PodSchedulingContextList is a collection of Pod scheduling objects.", "properties": { "apiVersion": { @@ -15246,7 +15748,7 @@ "items": { "description": "Items is the list of PodSchedulingContext objects.", "items": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" }, "type": "array" }, @@ -15267,11 +15769,11 @@ { "group": "resource.k8s.io", "kind": "PodSchedulingContextList", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "v1alpha2.PodSchedulingContextSpec": { + "v1alpha3.PodSchedulingContextSpec": { "description": "PodSchedulingContextSpec describes where resources for the Pod are needed.", "properties": { "potentialNodes": { @@ -15289,13 +15791,13 @@ }, "type": "object" }, - "v1alpha2.PodSchedulingContextStatus": { + "v1alpha3.PodSchedulingContextStatus": { "description": "PodSchedulingContextStatus describes where resources for the Pod can be allocated.", "properties": { "resourceClaims": { "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaimSchedulingStatus" + "$ref": "#/definitions/v1alpha3.ResourceClaimSchedulingStatus" }, "type": "array", "x-kubernetes-list-map-keys": [ @@ -15306,8 +15808,8 @@ }, "type": "object" }, - "v1alpha2.ResourceClaim": { - "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "v1alpha3.ResourceClaim": { + "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15322,12 +15824,12 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/v1alpha2.ResourceClaimSpec", - "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." + "$ref": "#/definitions/v1alpha3.ResourceClaimSpec", + "description": "Spec describes what is being requested and how to configure it. The spec is immutable." }, "status": { - "$ref": "#/definitions/v1alpha2.ResourceClaimStatus", - "description": "Status describes whether the resource is available and with which attributes." + "$ref": "#/definitions/v1alpha3.ResourceClaimStatus", + "description": "Status describes whether the claim is ready to use and what has been allocated." } }, "required": [ @@ -15338,11 +15840,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "v1alpha2.ResourceClaimConsumerReference": { + "v1alpha3.ResourceClaimConsumerReference": { "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { @@ -15369,7 +15871,7 @@ ], "type": "object" }, - "v1alpha2.ResourceClaimList": { + "v1alpha3.ResourceClaimList": { "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { @@ -15379,7 +15881,7 @@ "items": { "description": "Items is the list of resource claims.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" }, "type": "array" }, @@ -15400,109 +15902,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaimList", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "v1alpha2.ResourceClaimParameters": { - "description": "ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "driverRequests": { - "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated.", - "items": { - "$ref": "#/definitions/v1alpha2.DriverRequests" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "generatedFrom": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParametersReference", - "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata" - }, - "shareable": { - "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.", - "type": "boolean" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClaimParametersList": { - "description": "ResourceClaimParametersList is a collection of ResourceClaimParameters.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of node resource capacity objects.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClaimParametersList", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClaimParametersReference": { - "description": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\".", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "v1alpha2.ResourceClaimSchedulingStatus": { + "v1alpha3.ResourceClaimSchedulingStatus": { "description": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.", "properties": { "name": { @@ -15518,48 +15922,40 @@ "x-kubernetes-list-type": "atomic" } }, - "type": "object" - }, - "v1alpha2.ResourceClaimSpec": { - "description": "ResourceClaimSpec defines how a resource is to be allocated.", - "properties": { - "allocationMode": { - "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.", - "type": "string" - }, - "parametersRef": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParametersReference", - "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim." - }, - "resourceClassName": { - "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.", - "type": "string" - } - }, "required": [ - "resourceClassName" + "name" ], "type": "object" }, - "v1alpha2.ResourceClaimStatus": { - "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.", + "v1alpha3.ResourceClaimSpec": { + "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.", "properties": { - "allocation": { - "$ref": "#/definitions/v1alpha2.AllocationResult", - "description": "Allocation is set by the resource driver once a resource or set of resources has been allocated successfully. If this is not specified, the resources have not been allocated yet." - }, - "deallocationRequested": { - "description": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor.", - "type": "boolean" - }, - "driverName": { - "description": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.", + "controller": { + "description": "Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.\n\nThis is an alpha field and requires enabling the DRAControlPlaneController feature gate.", "type": "string" }, + "devices": { + "$ref": "#/definitions/v1alpha3.DeviceClaim", + "description": "Devices defines how to request devices." + } + }, + "type": "object" + }, + "v1alpha3.ResourceClaimStatus": { + "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.", + "properties": { + "allocation": { + "$ref": "#/definitions/v1alpha3.AllocationResult", + "description": "Allocation is set once the claim has been allocated successfully." + }, + "deallocationRequested": { + "description": "Indicates that a claim is to be deallocated. While this is set, no new consumers may be added to ReservedFor.\n\nThis is only used if the claim needs to be deallocated by a DRA driver. That driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nThis is an alpha field and requires enabling the DRAControlPlaneController feature gate.", + "type": "boolean" + }, "reservedFor": { - "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", + "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaimConsumerReference" + "$ref": "#/definitions/v1alpha3.ResourceClaimConsumerReference" }, "type": "array", "x-kubernetes-list-map-keys": [ @@ -15572,8 +15968,8 @@ }, "type": "object" }, - "v1alpha2.ResourceClaimTemplate": { - "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", + "v1alpha3.ResourceClaimTemplate": { + "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15588,7 +15984,7 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplateSpec", + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateSpec", "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, @@ -15600,11 +15996,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "v1alpha2.ResourceClaimTemplateList": { + "v1alpha3.ResourceClaimTemplateList": { "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { @@ -15614,7 +16010,7 @@ "items": { "description": "Items is the list of resource claim templates.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" }, "type": "array" }, @@ -15635,11 +16031,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaimTemplateList", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "v1alpha2.ResourceClaimTemplateSpec": { + "v1alpha3.ResourceClaimTemplateSpec": { "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", "properties": { "metadata": { @@ -15647,7 +16043,7 @@ "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." }, "spec": { - "$ref": "#/definitions/v1alpha2.ResourceClaimSpec", + "$ref": "#/definitions/v1alpha3.ResourceClaimSpec", "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." } }, @@ -15656,248 +16052,38 @@ ], "type": "object" }, - "v1alpha2.ResourceClass": { - "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "v1alpha3.ResourcePool": { + "description": "ResourcePool describes the pool that ResourceSlices belong to.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "driverName": { - "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com).", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata" - }, - "parametersRef": { - "$ref": "#/definitions/v1alpha2.ResourceClassParametersReference", - "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." - }, - "structuredParameters": { - "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true.", - "type": "boolean" - }, - "suitableNodes": { - "$ref": "#/definitions/v1.NodeSelector", - "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." - } - }, - "required": [ - "driverName" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClassList": { - "description": "ResourceClassList is a collection of classes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of resource classes.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassList", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClassParameters": { - "description": "ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "filters": { - "description": "Filters describes additional contraints that must be met when using the class.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceFilter" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "generatedFrom": { - "$ref": "#/definitions/v1alpha2.ResourceClassParametersReference", - "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata" - }, - "vendorParameters": { - "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver.", - "items": { - "$ref": "#/definitions/v1alpha2.VendorParameters" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClassParametersList": { - "description": "ResourceClassParametersList is a collection of ResourceClassParameters.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of node resource capacity objects.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassParametersList", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClassParametersReference": { - "description": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.", - "type": "string" + "generation": { + "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.", + "format": "int64", + "type": "integer" }, "name": { - "description": "Name is the name of resource being referenced.", + "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.", "type": "string" }, - "namespace": { - "description": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.", - "type": "string" + "resourceSliceCount": { + "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.", + "format": "int64", + "type": "integer" } }, "required": [ - "kind", - "name" + "name", + "generation", + "resourceSliceCount" ], "type": "object" }, - "v1alpha2.ResourceFilter": { - "description": "ResourceFilter is a filter for resources from one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", - "type": "string" - }, - "namedResources": { - "$ref": "#/definitions/v1alpha2.NamedResourcesFilter", - "description": "NamedResources describes a resource filter using the named resources model." - } - }, - "type": "object" - }, - "v1alpha2.ResourceHandle": { - "description": "ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.", - "properties": { - "data": { - "description": "Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced.", - "type": "string" - }, - "driverName": { - "description": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.", - "type": "string" - }, - "structuredData": { - "$ref": "#/definitions/v1alpha2.StructuredResourceHandle", - "description": "If StructuredData is set, then it needs to be used instead of Data." - } - }, - "type": "object" - }, - "v1alpha2.ResourceRequest": { - "description": "ResourceRequest is a request for resources from one particular driver.", - "properties": { - "namedResources": { - "$ref": "#/definitions/v1alpha2.NamedResourcesRequest", - "description": "NamedResources describes a request for resources with the named resources model." - }, - "vendorParameters": { - "description": "VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim.", - "type": "object" - } - }, - "type": "object" - }, - "v1alpha2.ResourceSlice": { - "description": "ResourceSlice provides information about available resources on individual nodes.", + "v1alpha3.ResourceSlice": { + "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "driverName": { - "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.", - "type": "string" - }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -15906,28 +16092,24 @@ "$ref": "#/definitions/v1.ObjectMeta", "description": "Standard object metadata" }, - "namedResources": { - "$ref": "#/definitions/v1alpha2.NamedResourcesResources", - "description": "NamedResources describes available resources using the named resources model." - }, - "nodeName": { - "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name.", - "type": "string" + "spec": { + "$ref": "#/definitions/v1alpha3.ResourceSliceSpec", + "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number." } }, "required": [ - "driverName" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "v1alpha2.ResourceSliceList": { + "v1alpha3.ResourceSliceList": { "description": "ResourceSliceList is a collection of ResourceSlices.", "properties": { "apiVersion": { @@ -15935,9 +16117,9 @@ "type": "string" }, "items": { - "description": "Items is the list of node resource capacity objects.", + "description": "Items is the list of resource ResourceSlices.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" }, "type": "array" }, @@ -15958,53 +16140,48 @@ { "group": "resource.k8s.io", "kind": "ResourceSliceList", - "version": "v1alpha2" + "version": "v1alpha3" } ] }, - "v1alpha2.StructuredResourceHandle": { - "description": "StructuredResourceHandle is the in-tree representation of the allocation result.", + "v1alpha3.ResourceSliceSpec": { + "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.", "properties": { - "nodeName": { - "description": "NodeName is the name of the node providing the necessary resources if the resources are local to a node.", - "type": "string" + "allNodes": { + "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set.", + "type": "boolean" }, - "results": { - "description": "Results lists all allocated driver resources.", + "devices": { + "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.", "items": { - "$ref": "#/definitions/v1alpha2.DriverAllocationResult" + "$ref": "#/definitions/v1alpha3.Device" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "vendorClaimParameters": { - "description": "VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated.", - "type": "object" + "driver": { + "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.", + "type": "string" }, - "vendorClassParameters": { - "description": "VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated.", - "type": "object" + "nodeName": { + "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.", + "type": "string" + }, + "nodeSelector": { + "$ref": "#/definitions/v1.NodeSelector", + "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set." + }, + "pool": { + "$ref": "#/definitions/v1alpha3.ResourcePool", + "description": "Pool describes the pool that this ResourceSlice belongs to." } }, "required": [ - "results" + "driver", + "pool" ], "type": "object" }, - "v1alpha2.VendorParameters": { - "description": "VendorParameters are opaque parameters for one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", - "type": "string" - }, - "parameters": { - "description": "Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.", - "type": "object" - } - }, - "type": "object" - }, "v1.PriorityClass": { "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { @@ -16752,6 +16929,80 @@ } ] }, + "v1beta1.VolumeAttributesClass": { + "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "driverName": { + "description": "Name of the CSI driver This field is immutable.", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "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.\n\nThis 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.", + "type": "object" + } + }, + "required": [ + "driverName" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + ] + }, + "v1beta1.VolumeAttributesClassList": { + "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of VolumeAttributesClass objects.", + "items": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClassList", + "version": "v1beta1" + } + ] + }, "v1alpha1.GroupVersionResource": { "description": "The names of the group, the version, and the resource.", "properties": { @@ -17486,7 +17737,7 @@ "type": "boolean" }, "x-kubernetes-validations": { - "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled.", + "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language.", "items": { "$ref": "#/definitions/v1.ValidationRule" }, @@ -18055,6 +18306,11 @@ "kind": "DeleteOptions", "version": "v1" }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, { "group": "coordination.k8s.io", "kind": "DeleteOptions", @@ -18173,7 +18429,7 @@ { "group": "resource.k8s.io", "kind": "DeleteOptions", - "version": "v1alpha2" + "version": "v1alpha3" }, { "group": "scheduling.k8s.io", @@ -18212,6 +18468,32 @@ } ] }, + "v1.FieldSelectorRequirement": { + "description": "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the field selector key that the requirement applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, "v1.GroupVersionForDiscovery": { "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "properties": { @@ -18543,11 +18825,6 @@ "group": "", "kind": "Status", "version": "v1" - }, - { - "group": "resource.k8s.io", - "kind": "Status", - "version": "v1alpha2" } ] }, @@ -18761,6 +19038,11 @@ "kind": "WatchEvent", "version": "v1" }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, { "group": "coordination.k8s.io", "kind": "WatchEvent", @@ -18879,7 +19161,7 @@ { "group": "resource.k8s.io", "kind": "WatchEvent", - "version": "v1alpha2" + "version": "v1alpha3" }, { "group": "scheduling.k8s.io", @@ -19144,7 +19426,7 @@ }, "info": { "title": "Kubernetes", - "version": "release-1.30" + "version": "release-1.31" }, "paths": { "/api/": { @@ -63690,6 +63972,1058 @@ } ] }, + "/apis/coordination.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ] + } + }, + "/apis/coordination.k8s.io/v1alpha1/leasecandidates": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind LeaseCandidate", + "operationId": "listLeaseCandidateForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of LeaseCandidate", + "operationId": "deleteCollectionNamespacedLeaseCandidate", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind LeaseCandidate", + "operationId": "listNamespacedLeaseCandidate", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a LeaseCandidate", + "operationId": "createNamespacedLeaseCandidate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a LeaseCandidate", + "operationId": "deleteNamespacedLeaseCandidate", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified LeaseCandidate", + "operationId": "readNamespacedLeaseCandidate", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the LeaseCandidate", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified LeaseCandidate", + "operationId": "patchNamespacedLeaseCandidate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. 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).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified LeaseCandidate", + "operationId": "replaceNamespacedLeaseCandidate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.LeaseCandidate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/coordination.k8s.io/v1alpha1/watch/leasecandidates": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/coordination.k8s.io/v1alpha1/watch/namespaces/{namespace}/leasecandidates": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/coordination.k8s.io/v1alpha1/watch/namespaces/{namespace}/leasecandidates/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the LeaseCandidate", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, "/apis/discovery.k8s.io/": { "get": { "consumes": [ @@ -74131,7 +75465,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/": { + "/apis/networking.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -74160,11 +75494,11 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ] } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses": { + "/apis/networking.k8s.io/v1beta1/ipaddresses": { "delete": { "consumes": [ "*/*" @@ -74284,13 +75618,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -74383,7 +75717,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddressList" + "$ref": "#/definitions/v1beta1.IPAddressList" } }, "401": { @@ -74394,13 +75728,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -74424,7 +75758,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, { @@ -74458,19 +75792,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "401": { @@ -74481,18 +75815,18 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1beta1/ipaddresses/{name}": { "delete": { "consumes": [ "*/*" @@ -74562,13 +75896,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -74587,7 +75921,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "401": { @@ -74598,13 +75932,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -74681,13 +76015,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "401": { @@ -74698,13 +76032,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -74720,7 +76054,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, { @@ -74754,13 +76088,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "401": { @@ -74771,18 +76105,18 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs": { + "/apis/networking.k8s.io/v1beta1/servicecidrs": { "delete": { "consumes": [ "*/*" @@ -74902,13 +76236,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -75001,7 +76335,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDRList" + "$ref": "#/definitions/v1beta1.ServiceCIDRList" } }, "401": { @@ -75012,13 +76346,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -75042,7 +76376,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, { @@ -75076,19 +76410,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "401": { @@ -75099,18 +76433,18 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}": { + "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}": { "delete": { "consumes": [ "*/*" @@ -75180,13 +76514,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -75205,7 +76539,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "401": { @@ -75216,13 +76550,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -75299,13 +76633,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "401": { @@ -75316,13 +76650,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -75338,7 +76672,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, { @@ -75372,13 +76706,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "401": { @@ -75389,18 +76723,18 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status": { + "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status": { "get": { "consumes": [ "*/*" @@ -75416,7 +76750,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "401": { @@ -75427,13 +76761,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -75510,13 +76844,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "401": { @@ -75527,13 +76861,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -75549,7 +76883,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, { @@ -75583,13 +76917,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1beta1.ServiceCIDR" } }, "401": { @@ -75600,18 +76934,18 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": { + "/apis/networking.k8s.io/v1beta1/watch/ipaddresses": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -75692,7 +77026,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1beta1/watch/ipaddresses/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -75781,7 +77115,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs": { + "/apis/networking.k8s.io/v1beta1/watch/servicecidrs": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -75862,7 +77196,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs/{name}": { + "/apis/networking.k8s.io/v1beta1/watch/servicecidrs/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -81822,7 +83156,7 @@ ] } }, - "/apis/resource.k8s.io/v1alpha2/": { + "/apis/resource.k8s.io/v1alpha3/": { "get": { "consumes": [ "application/json", @@ -81851,11 +83185,629 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ] } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/deviceclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of DeviceClass", + "operationId": "deleteCollectionDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind DeviceClass", + "operationId": "listDeviceClass", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a DeviceClass", + "operationId": "createDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a DeviceClass", + "operationId": "deleteDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified DeviceClass", + "operationId": "readDeviceClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "description": "name of the DeviceClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified DeviceClass", + "operationId": "patchDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. 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).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified DeviceClass", + "operationId": "replaceDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts": { "delete": { "consumes": [ "*/*" @@ -81975,13 +83927,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -82074,7 +84026,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContextList" + "$ref": "#/definitions/v1alpha3.PodSchedulingContextList" } }, "401": { @@ -82085,13 +84037,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -82123,7 +84075,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, { @@ -82157,19 +84109,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "401": { @@ -82180,18 +84132,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}": { "delete": { "consumes": [ "*/*" @@ -82244,13 +84196,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "401": { @@ -82261,13 +84213,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -82286,7 +84238,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "401": { @@ -82297,13 +84249,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -82388,13 +84340,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "401": { @@ -82405,13 +84357,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -82427,7 +84379,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, { @@ -82461,13 +84413,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "401": { @@ -82478,18 +84430,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status": { "get": { "consumes": [ "*/*" @@ -82505,7 +84457,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "401": { @@ -82516,13 +84468,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -82607,13 +84559,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "401": { @@ -82624,13 +84576,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -82646,7 +84598,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, { @@ -82680,13 +84632,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.PodSchedulingContext" } }, "401": { @@ -82697,652 +84649,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceClaimParameters", - "operationId": "deleteCollectionNamespacedResourceClaimParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClaimParameters", - "operationId": "listNamespacedResourceClaimParameters", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create ResourceClaimParameters", - "operationId": "createNamespacedResourceClaimParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete ResourceClaimParameters", - "operationId": "deleteNamespacedResourceClaimParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceClaimParameters", - "operationId": "readNamespacedResourceClaimParameters", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "name of the ResourceClaimParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClaimParameters", - "operationId": "patchNamespacedResourceClaimParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. 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).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClaimParameters", - "operationId": "replaceNamespacedResourceClaimParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims": { "delete": { "consumes": [ "*/*" @@ -83462,13 +84780,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -83561,7 +84879,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimList" + "$ref": "#/definitions/v1alpha3.ResourceClaimList" } }, "401": { @@ -83572,13 +84890,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -83610,7 +84928,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, { @@ -83644,19 +84962,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -83667,18 +84985,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}": { "delete": { "consumes": [ "*/*" @@ -83731,13 +85049,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -83748,13 +85066,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -83773,7 +85091,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -83784,13 +85102,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -83875,13 +85193,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -83892,13 +85210,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -83914,7 +85232,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, { @@ -83948,13 +85266,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -83965,18 +85283,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status": { "get": { "consumes": [ "*/*" @@ -83992,7 +85310,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -84003,13 +85321,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -84094,13 +85412,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -84111,13 +85429,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -84133,7 +85451,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, { @@ -84167,13 +85485,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -84184,18 +85502,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates": { "delete": { "consumes": [ "*/*" @@ -84315,13 +85633,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -84414,7 +85732,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplateList" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList" } }, "401": { @@ -84425,13 +85743,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -84463,7 +85781,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, { @@ -84497,19 +85815,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -84520,18 +85838,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}": { "delete": { "consumes": [ "*/*" @@ -84584,13 +85902,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -84601,13 +85919,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -84626,7 +85944,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -84637,13 +85955,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -84728,13 +86046,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -84745,13 +86063,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -84767,7 +86085,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, { @@ -84801,13 +86119,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -84818,652 +86136,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceClassParameters", - "operationId": "deleteCollectionNamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClassParameters", - "operationId": "listNamespacedResourceClassParameters", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create ResourceClassParameters", - "operationId": "createNamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete ResourceClassParameters", - "operationId": "deleteNamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceClassParameters", - "operationId": "readNamespacedResourceClassParameters", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "name of the ResourceClassParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClassParameters", - "operationId": "patchNamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. 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).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClassParameters", - "operationId": "replaceNamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/resource.k8s.io/v1alpha2/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/podschedulingcontexts": { "get": { "consumes": [ "*/*" @@ -85481,7 +86165,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContextList" + "$ref": "#/definitions/v1alpha3.PodSchedulingContextList" } }, "401": { @@ -85492,13 +86176,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "PodSchedulingContext", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -85581,125 +86265,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclaimparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClaimParameters", - "operationId": "listResourceClaimParametersForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/resourceclaims": { "get": { "consumes": [ "*/*" @@ -85717,7 +86283,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimList" + "$ref": "#/definitions/v1alpha3.ResourceClaimList" } }, "401": { @@ -85728,13 +86294,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -85817,7 +86383,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates": { "get": { "consumes": [ "*/*" @@ -85835,7 +86401,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplateList" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList" } }, "401": { @@ -85846,13 +86412,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -85935,743 +86501,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceClass", - "operationId": "deleteCollectionResourceClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClass", - "operationId": "listResourceClass", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ResourceClass", - "operationId": "createResourceClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ResourceClass", - "operationId": "deleteResourceClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceClass", - "operationId": "readResourceClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "name of the ResourceClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClass", - "operationId": "patchResourceClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. 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).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClass", - "operationId": "replaceResourceClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "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.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/resource.k8s.io/v1alpha2/resourceclassparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClassParameters", - "operationId": "listResourceClassParametersForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/resourceslices": { + "/apis/resource.k8s.io/v1alpha3/resourceslices": { "delete": { "consumes": [ "*/*" @@ -86791,13 +86621,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -86890,7 +86720,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSliceList" + "$ref": "#/definitions/v1alpha3.ResourceSliceList" } }, "401": { @@ -86901,13 +86731,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -86931,7 +86761,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, { @@ -86965,19 +86795,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -86988,18 +86818,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/resourceslices/{name}": { + "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}": { "delete": { "consumes": [ "*/*" @@ -87052,13 +86882,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -87069,13 +86899,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -87094,7 +86924,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -87105,13 +86935,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -87188,13 +87018,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -87205,13 +87035,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -87227,7 +87057,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, { @@ -87261,13 +87091,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -87278,18 +87108,188 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceSlice", - "version": "v1alpha2" + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the DeviceClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/podschedulingcontexts": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -87378,7 +87378,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts/{name}": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/podschedulingcontexts/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -87475,7 +87475,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -87564,193 +87564,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ResourceClaimParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims/{name}": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -87847,7 +87661,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -87936,7 +87750,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88033,193 +87847,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ResourceClassParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/watch/podschedulingcontexts": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88300,7 +87928,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimparameters": { + "/apis/resource.k8s.io/v1alpha3/watch/resourceclaims": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88381,7 +88009,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/watch/resourceclaimtemplates": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88462,7 +88090,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/watch/resourceslices": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88543,339 +88171,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ResourceClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclassparameters": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceslices": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceslices/{name}": { + "/apis/resource.k8s.io/v1alpha3/watch/resourceslices/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -95087,6 +94383,827 @@ } ] }, + "/apis/storage.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ] + } + }, + "/apis/storage.k8s.io/v1beta1/volumeattributesclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of VolumeAttributesClass", + "operationId": "deleteCollectionVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind VolumeAttributesClass", + "operationId": "listVolumeAttributesClass", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a VolumeAttributesClass", + "operationId": "createVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a VolumeAttributesClass", + "operationId": "deleteVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified VolumeAttributesClass", + "operationId": "readVolumeAttributesClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the VolumeAttributesClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified VolumeAttributesClass", + "operationId": "patchVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. 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).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified VolumeAttributesClass", + "operationId": "replaceVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a 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.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the VolumeAttributesClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, "/apis/storagemigration.k8s.io/": { "get": { "consumes": [ From 9c663464d8791a15be7783287b6de248bcd2bf8a Mon Sep 17 00:00:00 2001 From: yliao Date: Thu, 29 Aug 2024 21:25:26 +0000 Subject: [PATCH 07/20] generated client change --- ...s.client.api.coordination_v1alpha1_api.rst | 7 + ...tes.client.api.networking_v1alpha1_api.rst | 7 - ...etes.client.api.networking_v1beta1_api.rst | 7 + ...netes.client.api.resource_v1alpha2_api.rst | 7 - ...netes.client.api.resource_v1alpha3_api.rst | 7 + doc/source/kubernetes.client.api.rst | 6 +- ...ernetes.client.api.storage_v1beta1_api.rst | 7 + doc/source/kubernetes.client.models.rst | 105 +++---- ...bernetes.client.models.v1_claim_source.rst | 7 - ...rnetes.client.models.v1_container_user.rst | 7 + ...nt.models.v1_field_selector_attributes.rst | 7 + ...t.models.v1_field_selector_requirement.rst | 7 + ...s.client.models.v1_image_volume_source.rst | 7 + ...nt.models.v1_label_selector_attributes.rst | 7 + ....client.models.v1_linux_container_user.rst | 7 + ...ernetes.client.models.v1_node_features.rst | 7 + ...netes.client.models.v1_resource_health.rst | 7 + ...netes.client.models.v1_resource_status.rst | 7 + ...etes.client.models.v1alpha1_ip_address.rst | 7 - ...client.models.v1alpha1_ip_address_list.rst | 7 - ...client.models.v1alpha1_ip_address_spec.rst | 7 - ...client.models.v1alpha1_lease_candidate.rst | 7 + ...t.models.v1alpha1_lease_candidate_list.rst | 7 + ...t.models.v1alpha1_lease_candidate_spec.rst | 7 + ...lient.models.v1alpha1_parent_reference.rst | 7 - ...es.client.models.v1alpha1_service_cidr.rst | 7 - ...ient.models.v1alpha1_service_cidr_list.rst | 7 - ...ient.models.v1alpha1_service_cidr_spec.rst | 7 - ...nt.models.v1alpha1_service_cidr_status.rst | 7 - ...ient.models.v1alpha2_allocation_result.rst | 7 - ...client.models.v1alpha2_driver_requests.rst | 7 - ...pha2_named_resources_allocation_result.rst | 7 - ...els.v1alpha2_named_resources_attribute.rst | 7 - ...models.v1alpha2_named_resources_filter.rst | 7 - ...dels.v1alpha2_named_resources_instance.rst | 7 - ...els.v1alpha2_named_resources_int_slice.rst | 7 - ...odels.v1alpha2_named_resources_request.rst | 7 - ...els.v1alpha2_named_resources_resources.rst | 7 - ....v1alpha2_named_resources_string_slice.rst | 7 - ....client.models.v1alpha2_resource_claim.rst | 7 - ...nt.models.v1alpha2_resource_claim_list.rst | 7 - ...els.v1alpha2_resource_claim_parameters.rst | 7 - ...1alpha2_resource_claim_parameters_list.rst | 7 - ...a2_resource_claim_parameters_reference.rst | 7 - ...nt.models.v1alpha2_resource_claim_spec.rst | 7 - ....client.models.v1alpha2_resource_class.rst | 7 - ...nt.models.v1alpha2_resource_class_list.rst | 7 - ...els.v1alpha2_resource_class_parameters.rst | 7 - ...1alpha2_resource_class_parameters_list.rst | 7 - ...a2_resource_class_parameters_reference.rst | 7 - ...client.models.v1alpha2_resource_filter.rst | 7 - ...client.models.v1alpha2_resource_handle.rst | 7 - ...lient.models.v1alpha2_resource_request.rst | 7 - ....client.models.v1alpha2_resource_slice.rst | 7 - ...nt.models.v1alpha2_resource_slice_list.rst | 7 - ...ls.v1alpha2_structured_resource_handle.rst | 7 - ...ient.models.v1alpha2_vendor_parameters.rst | 7 - ...ient.models.v1alpha3_allocation_result.rst | 7 + ...es.client.models.v1alpha3_basic_device.rst | 7 + ...nt.models.v1alpha3_cel_device_selector.rst | 7 + ...bernetes.client.models.v1alpha3_device.rst | 7 + ...alpha3_device_allocation_configuration.rst | 7 + ...els.v1alpha3_device_allocation_result.rst} | 4 +- ...lient.models.v1alpha3_device_attribute.rst | 7 + ...es.client.models.v1alpha3_device_claim.rst | 7 + ...ls.v1alpha3_device_claim_configuration.rst | 7 + ...es.client.models.v1alpha3_device_class.rst | 7 + ...ls.v1alpha3_device_class_configuration.rst | 7 + ...ient.models.v1alpha3_device_class_list.rst | 7 + ...ient.models.v1alpha3_device_class_spec.rst | 7 + ...ient.models.v1alpha3_device_constraint.rst | 7 + ....client.models.v1alpha3_device_request.rst | 7 + ...lpha3_device_request_allocation_result.rst | 7 + ...client.models.v1alpha3_device_selector.rst | 7 + ...s.v1alpha3_opaque_device_configuration.rst | 7 + ...odels.v1alpha3_pod_scheduling_context.rst} | 4 +- ....v1alpha3_pod_scheduling_context_list.rst} | 4 +- ....v1alpha3_pod_scheduling_context_spec.rst} | 4 +- ...1alpha3_pod_scheduling_context_status.rst} | 4 +- ....client.models.v1alpha3_resource_claim.rst | 7 + ...ha3_resource_claim_consumer_reference.rst} | 4 +- ...nt.models.v1alpha3_resource_claim_list.rst | 7 + ...pha3_resource_claim_scheduling_status.rst} | 4 +- ...nt.models.v1alpha3_resource_claim_spec.rst | 7 + ...models.v1alpha3_resource_claim_status.rst} | 4 +- ...dels.v1alpha3_resource_claim_template.rst} | 4 +- ...v1alpha3_resource_claim_template_list.rst} | 4 +- ...v1alpha3_resource_claim_template_spec.rst} | 4 +- ...s.client.models.v1alpha3_resource_pool.rst | 7 + ....client.models.v1alpha3_resource_slice.rst | 7 + ...nt.models.v1alpha3_resource_slice_list.rst | 7 + ...nt.models.v1alpha3_resource_slice_spec.rst | 7 + ...netes.client.models.v1beta1_ip_address.rst | 7 + ....client.models.v1beta1_ip_address_list.rst | 7 + ....client.models.v1beta1_ip_address_spec.rst | 7 + ...client.models.v1beta1_parent_reference.rst | 7 + ...tes.client.models.v1beta1_service_cidr.rst | 7 + ...lient.models.v1beta1_service_cidr_list.rst | 7 + ...lient.models.v1beta1_service_cidr_spec.rst | 7 + ...ent.models.v1beta1_service_cidr_status.rst | 7 + ...models.v1beta1_volume_attributes_class.rst | 7 + ...s.v1beta1_volume_attributes_class_list.rst | 7 + doc/source/kubernetes.test.rst | 111 ++++---- ...es.test.test_coordination_v1alpha1_api.rst | 7 + ...etes.test.test_networking_v1alpha1_api.rst | 7 - ...netes.test.test_networking_v1beta1_api.rst | 7 + ...rnetes.test.test_resource_v1alpha2_api.rst | 7 - ...rnetes.test.test_resource_v1alpha3_api.rst | 7 + ...bernetes.test.test_storage_v1beta1_api.rst | 7 + .../kubernetes.test.test_v1_claim_source.rst | 7 - ...kubernetes.test.test_v1_container_user.rst | 7 + ...test.test_v1_field_selector_attributes.rst | 7 + ...est.test_v1_field_selector_requirement.rst | 7 + ...netes.test.test_v1_image_volume_source.rst | 7 + ...test.test_v1_label_selector_attributes.rst | 7 + ...etes.test.test_v1_linux_container_user.rst | 7 + .../kubernetes.test.test_v1_node_features.rst | 7 + ...ubernetes.test.test_v1_resource_health.rst | 7 + ...ubernetes.test.test_v1_resource_status.rst | 7 + ...bernetes.test.test_v1alpha1_ip_address.rst | 7 - ...tes.test.test_v1alpha1_ip_address_list.rst | 7 - ...tes.test.test_v1alpha1_ip_address_spec.rst | 7 - ...tes.test.test_v1alpha1_lease_candidate.rst | 7 + ...est.test_v1alpha1_lease_candidate_list.rst | 7 + ...est.test_v1alpha1_lease_candidate_spec.rst | 7 + ...es.test.test_v1alpha1_parent_reference.rst | 7 - ...rnetes.test.test_v1alpha1_service_cidr.rst | 7 - ...s.test.test_v1alpha1_service_cidr_list.rst | 7 - ...s.test.test_v1alpha1_service_cidr_spec.rst | 7 - ...test.test_v1alpha1_service_cidr_status.rst | 7 - ...s.test.test_v1alpha2_allocation_result.rst | 7 - ...tes.test.test_v1alpha2_driver_requests.rst | 7 - ...pha2_named_resources_allocation_result.rst | 7 - ...est_v1alpha2_named_resources_attribute.rst | 7 - ...t.test_v1alpha2_named_resources_filter.rst | 7 - ...test_v1alpha2_named_resources_instance.rst | 7 - ...est_v1alpha2_named_resources_int_slice.rst | 7 - ....test_v1alpha2_named_resources_request.rst | 7 - ...est_v1alpha2_named_resources_resources.rst | 7 - ..._v1alpha2_named_resources_string_slice.rst | 7 - ...t.test_v1alpha2_pod_scheduling_context.rst | 7 - ...etes.test.test_v1alpha2_resource_claim.rst | 7 - ...test.test_v1alpha2_resource_claim_list.rst | 7 - ...est_v1alpha2_resource_claim_parameters.rst | 7 - ...1alpha2_resource_claim_parameters_list.rst | 7 - ...a2_resource_claim_parameters_reference.rst | 7 - ...test.test_v1alpha2_resource_claim_spec.rst | 7 - ...st.test_v1alpha2_resource_claim_status.rst | 7 - ....test_v1alpha2_resource_claim_template.rst | 7 - ...etes.test.test_v1alpha2_resource_class.rst | 7 - ...test.test_v1alpha2_resource_class_list.rst | 7 - ...est_v1alpha2_resource_class_parameters.rst | 7 - ...1alpha2_resource_class_parameters_list.rst | 7 - ...a2_resource_class_parameters_reference.rst | 7 - ...tes.test.test_v1alpha2_resource_filter.rst | 7 - ...tes.test.test_v1alpha2_resource_handle.rst | 7 - ...es.test.test_v1alpha2_resource_request.rst | 7 - ...etes.test.test_v1alpha2_resource_slice.rst | 7 - ...test.test_v1alpha2_resource_slice_list.rst | 7 - ...st_v1alpha2_structured_resource_handle.rst | 7 - ...s.test.test_v1alpha2_vendor_parameters.rst | 7 - ...s.test.test_v1alpha3_allocation_result.rst | 7 + ...rnetes.test.test_v1alpha3_basic_device.rst | 7 + ...test.test_v1alpha3_cel_device_selector.rst | 7 + .../kubernetes.test.test_v1alpha3_device.rst | 7 + ...alpha3_device_allocation_configuration.rst | 7 + ...est_v1alpha3_device_allocation_result.rst} | 4 +- ...es.test.test_v1alpha3_device_attribute.rst | 7 + ...rnetes.test.test_v1alpha3_device_claim.rst | 7 + ...st_v1alpha3_device_claim_configuration.rst | 7 + ...rnetes.test.test_v1alpha3_device_class.rst | 7 + ...st_v1alpha3_device_class_configuration.rst | 7 + ...s.test.test_v1alpha3_device_class_list.rst | 7 + ...s.test.test_v1alpha3_device_class_spec.rst | 7 + ...s.test.test_v1alpha3_device_constraint.rst | 7 + ...etes.test.test_v1alpha3_device_request.rst | 7 + ...lpha3_device_request_allocation_result.rst | 7 + ...tes.test.test_v1alpha3_device_selector.rst | 7 + ...t_v1alpha3_opaque_device_configuration.rst | 7 + ...t.test_v1alpha3_pod_scheduling_context.rst | 7 + ..._v1alpha3_pod_scheduling_context_list.rst} | 4 +- ..._v1alpha3_pod_scheduling_context_spec.rst} | 4 +- ...1alpha3_pod_scheduling_context_status.rst} | 4 +- ...etes.test.test_v1alpha3_resource_claim.rst | 7 + ...ha3_resource_claim_consumer_reference.rst} | 4 +- ...test.test_v1alpha3_resource_claim_list.rst | 7 + ...pha3_resource_claim_scheduling_status.rst} | 4 +- ...test.test_v1alpha3_resource_claim_spec.rst | 7 + ...st.test_v1alpha3_resource_claim_status.rst | 7 + ....test_v1alpha3_resource_claim_template.rst | 7 + ...v1alpha3_resource_claim_template_list.rst} | 4 +- ...v1alpha3_resource_claim_template_spec.rst} | 4 +- ...netes.test.test_v1alpha3_resource_pool.rst | 7 + ...etes.test.test_v1alpha3_resource_slice.rst | 7 + ...test.test_v1alpha3_resource_slice_list.rst | 7 + ...test.test_v1alpha3_resource_slice_spec.rst | 7 + ...ubernetes.test.test_v1beta1_ip_address.rst | 7 + ...etes.test.test_v1beta1_ip_address_list.rst | 7 + ...etes.test.test_v1beta1_ip_address_spec.rst | 7 + ...tes.test.test_v1beta1_parent_reference.rst | 7 + ...ernetes.test.test_v1beta1_service_cidr.rst | 7 + ...es.test.test_v1beta1_service_cidr_list.rst | 7 + ...es.test.test_v1beta1_service_cidr_spec.rst | 7 + ....test.test_v1beta1_service_cidr_status.rst | 7 + ...t.test_v1beta1_volume_attributes_class.rst | 7 + ...t_v1beta1_volume_attributes_class_list.rst | 7 + doc/source/kubernetes.utils.duration.rst | 7 + doc/source/kubernetes.utils.rst | 1 + .../.openapi-generator/swagger.json.sha256 | 2 +- kubernetes/README.md | 268 +++++++++--------- kubernetes/__init__.py | 2 +- kubernetes/client/__init__.py | 115 ++++---- kubernetes/client/api_client.py | 4 +- kubernetes/client/configuration.py | 6 +- kubernetes/client/exceptions.py | 2 +- kubernetes/client/rest.py | 2 +- kubernetes/test/test_duration.py | 70 ----- setup.py | 2 +- 218 files changed, 1101 insertions(+), 966 deletions(-) create mode 100644 doc/source/kubernetes.client.api.coordination_v1alpha1_api.rst delete mode 100644 doc/source/kubernetes.client.api.networking_v1alpha1_api.rst create mode 100644 doc/source/kubernetes.client.api.networking_v1beta1_api.rst delete mode 100644 doc/source/kubernetes.client.api.resource_v1alpha2_api.rst create mode 100644 doc/source/kubernetes.client.api.resource_v1alpha3_api.rst create mode 100644 doc/source/kubernetes.client.api.storage_v1beta1_api.rst delete mode 100644 doc/source/kubernetes.client.models.v1_claim_source.rst create mode 100644 doc/source/kubernetes.client.models.v1_container_user.rst create mode 100644 doc/source/kubernetes.client.models.v1_field_selector_attributes.rst create mode 100644 doc/source/kubernetes.client.models.v1_field_selector_requirement.rst create mode 100644 doc/source/kubernetes.client.models.v1_image_volume_source.rst create mode 100644 doc/source/kubernetes.client.models.v1_label_selector_attributes.rst create mode 100644 doc/source/kubernetes.client.models.v1_linux_container_user.rst create mode 100644 doc/source/kubernetes.client.models.v1_node_features.rst create mode 100644 doc/source/kubernetes.client.models.v1_resource_health.rst create mode 100644 doc/source/kubernetes.client.models.v1_resource_status.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha1_ip_address.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha1_ip_address_list.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha1_ip_address_spec.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha1_lease_candidate.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha1_lease_candidate_list.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha1_lease_candidate_spec.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha1_parent_reference.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha1_service_cidr.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha1_service_cidr_list.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha1_service_cidr_spec.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha1_service_cidr_status.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_allocation_result.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_driver_requests.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_named_resources_allocation_result.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_named_resources_attribute.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_named_resources_filter.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_named_resources_instance.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_named_resources_int_slice.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_named_resources_request.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_named_resources_resources.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_named_resources_string_slice.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_claim.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_claim_list.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters_list.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters_reference.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_claim_spec.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_class.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_class_list.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters_list.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters_reference.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_filter.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_handle.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_request.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_slice.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_resource_slice_list.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_structured_resource_handle.rst delete mode 100644 doc/source/kubernetes.client.models.v1alpha2_vendor_parameters.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_allocation_result.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_basic_device.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_cel_device_selector.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_allocation_configuration.rst rename doc/source/{kubernetes.client.models.v1alpha2_driver_allocation_result.rst => kubernetes.client.models.v1alpha3_device_allocation_result.rst} (52%) create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_attribute.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_claim.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_claim_configuration.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_class.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_class_configuration.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_class_list.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_class_spec.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_constraint.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_request.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_request_allocation_result.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_device_selector.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_opaque_device_configuration.rst rename doc/source/{kubernetes.client.models.v1alpha2_pod_scheduling_context.rst => kubernetes.client.models.v1alpha3_pod_scheduling_context.rst} (51%) rename doc/source/{kubernetes.client.models.v1alpha2_pod_scheduling_context_list.rst => kubernetes.client.models.v1alpha3_pod_scheduling_context_list.rst} (54%) rename doc/source/{kubernetes.client.models.v1alpha2_pod_scheduling_context_spec.rst => kubernetes.client.models.v1alpha3_pod_scheduling_context_spec.rst} (54%) rename doc/source/{kubernetes.client.models.v1alpha2_pod_scheduling_context_status.rst => kubernetes.client.models.v1alpha3_pod_scheduling_context_status.rst} (55%) create mode 100644 doc/source/kubernetes.client.models.v1alpha3_resource_claim.rst rename doc/source/{kubernetes.client.models.v1alpha2_resource_claim_consumer_reference.rst => kubernetes.client.models.v1alpha3_resource_claim_consumer_reference.rst} (56%) create mode 100644 doc/source/kubernetes.client.models.v1alpha3_resource_claim_list.rst rename doc/source/{kubernetes.client.models.v1alpha2_resource_claim_scheduling_status.rst => kubernetes.client.models.v1alpha3_resource_claim_scheduling_status.rst} (56%) create mode 100644 doc/source/kubernetes.client.models.v1alpha3_resource_claim_spec.rst rename doc/source/{kubernetes.client.models.v1alpha2_resource_claim_status.rst => kubernetes.client.models.v1alpha3_resource_claim_status.rst} (50%) rename doc/source/{kubernetes.client.models.v1alpha2_resource_claim_template.rst => kubernetes.client.models.v1alpha3_resource_claim_template.rst} (51%) rename doc/source/{kubernetes.client.models.v1alpha2_resource_claim_template_list.rst => kubernetes.client.models.v1alpha3_resource_claim_template_list.rst} (54%) rename doc/source/{kubernetes.client.models.v1alpha2_resource_claim_template_spec.rst => kubernetes.client.models.v1alpha3_resource_claim_template_spec.rst} (54%) create mode 100644 doc/source/kubernetes.client.models.v1alpha3_resource_pool.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_resource_slice.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_resource_slice_list.rst create mode 100644 doc/source/kubernetes.client.models.v1alpha3_resource_slice_spec.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_ip_address.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_ip_address_list.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_ip_address_spec.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_parent_reference.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_service_cidr.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_service_cidr_list.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_service_cidr_spec.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_service_cidr_status.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_volume_attributes_class.rst create mode 100644 doc/source/kubernetes.client.models.v1beta1_volume_attributes_class_list.rst create mode 100644 doc/source/kubernetes.test.test_coordination_v1alpha1_api.rst delete mode 100644 doc/source/kubernetes.test.test_networking_v1alpha1_api.rst create mode 100644 doc/source/kubernetes.test.test_networking_v1beta1_api.rst delete mode 100644 doc/source/kubernetes.test.test_resource_v1alpha2_api.rst create mode 100644 doc/source/kubernetes.test.test_resource_v1alpha3_api.rst create mode 100644 doc/source/kubernetes.test.test_storage_v1beta1_api.rst delete mode 100644 doc/source/kubernetes.test.test_v1_claim_source.rst create mode 100644 doc/source/kubernetes.test.test_v1_container_user.rst create mode 100644 doc/source/kubernetes.test.test_v1_field_selector_attributes.rst create mode 100644 doc/source/kubernetes.test.test_v1_field_selector_requirement.rst create mode 100644 doc/source/kubernetes.test.test_v1_image_volume_source.rst create mode 100644 doc/source/kubernetes.test.test_v1_label_selector_attributes.rst create mode 100644 doc/source/kubernetes.test.test_v1_linux_container_user.rst create mode 100644 doc/source/kubernetes.test.test_v1_node_features.rst create mode 100644 doc/source/kubernetes.test.test_v1_resource_health.rst create mode 100644 doc/source/kubernetes.test.test_v1_resource_status.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha1_ip_address.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha1_ip_address_list.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha1_ip_address_spec.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha1_lease_candidate.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha1_lease_candidate_list.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha1_lease_candidate_spec.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha1_parent_reference.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha1_service_cidr.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha1_service_cidr_list.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha1_service_cidr_spec.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha1_service_cidr_status.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_allocation_result.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_driver_requests.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_named_resources_allocation_result.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_named_resources_attribute.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_named_resources_filter.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_named_resources_instance.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_named_resources_int_slice.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_named_resources_request.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_named_resources_resources.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_named_resources_string_slice.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_claim.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_claim_list.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters_list.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters_reference.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_claim_spec.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_claim_status.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_claim_template.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_class.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_class_list.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters_list.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters_reference.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_filter.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_handle.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_request.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_slice.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_resource_slice_list.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_structured_resource_handle.rst delete mode 100644 doc/source/kubernetes.test.test_v1alpha2_vendor_parameters.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_allocation_result.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_basic_device.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_cel_device_selector.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_allocation_configuration.rst rename doc/source/{kubernetes.test.test_v1alpha2_driver_allocation_result.rst => kubernetes.test.test_v1alpha3_device_allocation_result.rst} (50%) create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_attribute.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_claim.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_claim_configuration.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_class.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_class_configuration.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_class_list.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_class_spec.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_constraint.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_request.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_request_allocation_result.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_device_selector.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_opaque_device_configuration.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context.rst rename doc/source/{kubernetes.test.test_v1alpha2_pod_scheduling_context_list.rst => kubernetes.test.test_v1alpha3_pod_scheduling_context_list.rst} (52%) rename doc/source/{kubernetes.test.test_v1alpha2_pod_scheduling_context_spec.rst => kubernetes.test.test_v1alpha3_pod_scheduling_context_spec.rst} (52%) rename doc/source/{kubernetes.test.test_v1alpha2_pod_scheduling_context_status.rst => kubernetes.test.test_v1alpha3_pod_scheduling_context_status.rst} (53%) create mode 100644 doc/source/kubernetes.test.test_v1alpha3_resource_claim.rst rename doc/source/{kubernetes.test.test_v1alpha2_resource_claim_consumer_reference.rst => kubernetes.test.test_v1alpha3_resource_claim_consumer_reference.rst} (55%) create mode 100644 doc/source/kubernetes.test.test_v1alpha3_resource_claim_list.rst rename doc/source/{kubernetes.test.test_v1alpha2_resource_claim_scheduling_status.rst => kubernetes.test.test_v1alpha3_resource_claim_scheduling_status.rst} (54%) create mode 100644 doc/source/kubernetes.test.test_v1alpha3_resource_claim_spec.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_resource_claim_status.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_resource_claim_template.rst rename doc/source/{kubernetes.test.test_v1alpha2_resource_claim_template_list.rst => kubernetes.test.test_v1alpha3_resource_claim_template_list.rst} (52%) rename doc/source/{kubernetes.test.test_v1alpha2_resource_claim_template_spec.rst => kubernetes.test.test_v1alpha3_resource_claim_template_spec.rst} (52%) create mode 100644 doc/source/kubernetes.test.test_v1alpha3_resource_pool.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_resource_slice.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_resource_slice_list.rst create mode 100644 doc/source/kubernetes.test.test_v1alpha3_resource_slice_spec.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_ip_address.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_ip_address_list.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_ip_address_spec.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_parent_reference.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_service_cidr.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_service_cidr_list.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_service_cidr_spec.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_service_cidr_status.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_volume_attributes_class.rst create mode 100644 doc/source/kubernetes.test.test_v1beta1_volume_attributes_class_list.rst create mode 100644 doc/source/kubernetes.utils.duration.rst delete mode 100644 kubernetes/test/test_duration.py diff --git a/doc/source/kubernetes.client.api.coordination_v1alpha1_api.rst b/doc/source/kubernetes.client.api.coordination_v1alpha1_api.rst new file mode 100644 index 000000000..ce5b0d528 --- /dev/null +++ b/doc/source/kubernetes.client.api.coordination_v1alpha1_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.coordination\_v1alpha1\_api module +======================================================== + +.. automodule:: kubernetes.client.api.coordination_v1alpha1_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.api.networking_v1alpha1_api.rst b/doc/source/kubernetes.client.api.networking_v1alpha1_api.rst deleted file mode 100644 index a56c69018..000000000 --- a/doc/source/kubernetes.client.api.networking_v1alpha1_api.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.api.networking\_v1alpha1\_api module -====================================================== - -.. automodule:: kubernetes.client.api.networking_v1alpha1_api - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.api.networking_v1beta1_api.rst b/doc/source/kubernetes.client.api.networking_v1beta1_api.rst new file mode 100644 index 000000000..5e0579d32 --- /dev/null +++ b/doc/source/kubernetes.client.api.networking_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.networking\_v1beta1\_api module +===================================================== + +.. automodule:: kubernetes.client.api.networking_v1beta1_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.api.resource_v1alpha2_api.rst b/doc/source/kubernetes.client.api.resource_v1alpha2_api.rst deleted file mode 100644 index a3df8f4b2..000000000 --- a/doc/source/kubernetes.client.api.resource_v1alpha2_api.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.api.resource\_v1alpha2\_api module -==================================================== - -.. automodule:: kubernetes.client.api.resource_v1alpha2_api - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.api.resource_v1alpha3_api.rst b/doc/source/kubernetes.client.api.resource_v1alpha3_api.rst new file mode 100644 index 000000000..3a685af94 --- /dev/null +++ b/doc/source/kubernetes.client.api.resource_v1alpha3_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.resource\_v1alpha3\_api module +==================================================== + +.. automodule:: kubernetes.client.api.resource_v1alpha3_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.api.rst b/doc/source/kubernetes.client.api.rst index fa2a6965e..3431b6b70 100644 --- a/doc/source/kubernetes.client.api.rst +++ b/doc/source/kubernetes.client.api.rst @@ -34,6 +34,7 @@ Submodules kubernetes.client.api.certificates_v1alpha1_api kubernetes.client.api.coordination_api kubernetes.client.api.coordination_v1_api + kubernetes.client.api.coordination_v1alpha1_api kubernetes.client.api.core_api kubernetes.client.api.core_v1_api kubernetes.client.api.custom_objects_api @@ -49,7 +50,7 @@ Submodules kubernetes.client.api.logs_api kubernetes.client.api.networking_api kubernetes.client.api.networking_v1_api - kubernetes.client.api.networking_v1alpha1_api + kubernetes.client.api.networking_v1beta1_api kubernetes.client.api.node_api kubernetes.client.api.node_v1_api kubernetes.client.api.openid_api @@ -58,12 +59,13 @@ Submodules kubernetes.client.api.rbac_authorization_api kubernetes.client.api.rbac_authorization_v1_api kubernetes.client.api.resource_api - kubernetes.client.api.resource_v1alpha2_api + kubernetes.client.api.resource_v1alpha3_api kubernetes.client.api.scheduling_api kubernetes.client.api.scheduling_v1_api kubernetes.client.api.storage_api kubernetes.client.api.storage_v1_api kubernetes.client.api.storage_v1alpha1_api + kubernetes.client.api.storage_v1beta1_api kubernetes.client.api.storagemigration_api kubernetes.client.api.storagemigration_v1alpha1_api kubernetes.client.api.version_api diff --git a/doc/source/kubernetes.client.api.storage_v1beta1_api.rst b/doc/source/kubernetes.client.api.storage_v1beta1_api.rst new file mode 100644 index 000000000..432a7b005 --- /dev/null +++ b/doc/source/kubernetes.client.api.storage_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.client.api.storage\_v1beta1\_api module +================================================== + +.. automodule:: kubernetes.client.api.storage_v1beta1_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.rst b/doc/source/kubernetes.client.models.rst index 5b9b3a135..fb0f5ecb2 100644 --- a/doc/source/kubernetes.client.models.rst +++ b/doc/source/kubernetes.client.models.rst @@ -55,7 +55,6 @@ Submodules kubernetes.client.models.v1_certificate_signing_request_status kubernetes.client.models.v1_cinder_persistent_volume_source kubernetes.client.models.v1_cinder_volume_source - kubernetes.client.models.v1_claim_source kubernetes.client.models.v1_client_ip_config kubernetes.client.models.v1_cluster_role kubernetes.client.models.v1_cluster_role_binding @@ -82,6 +81,7 @@ Submodules kubernetes.client.models.v1_container_state_terminated kubernetes.client.models.v1_container_state_waiting kubernetes.client.models.v1_container_status + kubernetes.client.models.v1_container_user kubernetes.client.models.v1_controller_revision kubernetes.client.models.v1_controller_revision_list kubernetes.client.models.v1_cron_job @@ -151,6 +151,8 @@ Submodules kubernetes.client.models.v1_expression_warning kubernetes.client.models.v1_external_documentation kubernetes.client.models.v1_fc_volume_source + kubernetes.client.models.v1_field_selector_attributes + kubernetes.client.models.v1_field_selector_requirement kubernetes.client.models.v1_flex_persistent_volume_source kubernetes.client.models.v1_flex_volume_source kubernetes.client.models.v1_flocker_volume_source @@ -179,6 +181,7 @@ Submodules kubernetes.client.models.v1_http_header kubernetes.client.models.v1_http_ingress_path kubernetes.client.models.v1_http_ingress_rule_value + kubernetes.client.models.v1_image_volume_source kubernetes.client.models.v1_ingress kubernetes.client.models.v1_ingress_backend kubernetes.client.models.v1_ingress_class @@ -206,6 +209,7 @@ Submodules kubernetes.client.models.v1_json_schema_props kubernetes.client.models.v1_key_to_path kubernetes.client.models.v1_label_selector + kubernetes.client.models.v1_label_selector_attributes kubernetes.client.models.v1_label_selector_requirement kubernetes.client.models.v1_lease kubernetes.client.models.v1_lease_list @@ -218,6 +222,7 @@ Submodules kubernetes.client.models.v1_limit_range_spec kubernetes.client.models.v1_limit_response kubernetes.client.models.v1_limited_priority_level_configuration + kubernetes.client.models.v1_linux_container_user kubernetes.client.models.v1_list_meta kubernetes.client.models.v1_load_balancer_ingress kubernetes.client.models.v1_load_balancer_status @@ -252,6 +257,7 @@ Submodules kubernetes.client.models.v1_node_config_source kubernetes.client.models.v1_node_config_status kubernetes.client.models.v1_node_daemon_endpoints + kubernetes.client.models.v1_node_features kubernetes.client.models.v1_node_list kubernetes.client.models.v1_node_runtime_handler kubernetes.client.models.v1_node_runtime_handler_features @@ -344,6 +350,7 @@ Submodules kubernetes.client.models.v1_resource_attributes kubernetes.client.models.v1_resource_claim kubernetes.client.models.v1_resource_field_selector + kubernetes.client.models.v1_resource_health kubernetes.client.models.v1_resource_policy_rule kubernetes.client.models.v1_resource_quota kubernetes.client.models.v1_resource_quota_list @@ -351,6 +358,7 @@ Submodules kubernetes.client.models.v1_resource_quota_status kubernetes.client.models.v1_resource_requirements kubernetes.client.models.v1_resource_rule + kubernetes.client.models.v1_resource_status kubernetes.client.models.v1_role kubernetes.client.models.v1_role_binding kubernetes.client.models.v1_role_binding_list @@ -477,23 +485,18 @@ Submodules kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec kubernetes.client.models.v1alpha1_expression_warning kubernetes.client.models.v1alpha1_group_version_resource - kubernetes.client.models.v1alpha1_ip_address - kubernetes.client.models.v1alpha1_ip_address_list - kubernetes.client.models.v1alpha1_ip_address_spec + kubernetes.client.models.v1alpha1_lease_candidate + kubernetes.client.models.v1alpha1_lease_candidate_list + kubernetes.client.models.v1alpha1_lease_candidate_spec kubernetes.client.models.v1alpha1_match_condition kubernetes.client.models.v1alpha1_match_resources kubernetes.client.models.v1alpha1_migration_condition kubernetes.client.models.v1alpha1_named_rule_with_operations kubernetes.client.models.v1alpha1_param_kind kubernetes.client.models.v1alpha1_param_ref - kubernetes.client.models.v1alpha1_parent_reference kubernetes.client.models.v1alpha1_self_subject_review kubernetes.client.models.v1alpha1_self_subject_review_status kubernetes.client.models.v1alpha1_server_storage_version - kubernetes.client.models.v1alpha1_service_cidr - kubernetes.client.models.v1alpha1_service_cidr_list - kubernetes.client.models.v1alpha1_service_cidr_spec - kubernetes.client.models.v1alpha1_service_cidr_status kubernetes.client.models.v1alpha1_storage_version kubernetes.client.models.v1alpha1_storage_version_condition kubernetes.client.models.v1alpha1_storage_version_list @@ -514,54 +517,58 @@ Submodules kubernetes.client.models.v1alpha1_variable kubernetes.client.models.v1alpha1_volume_attributes_class kubernetes.client.models.v1alpha1_volume_attributes_class_list - kubernetes.client.models.v1alpha2_allocation_result - kubernetes.client.models.v1alpha2_driver_allocation_result - kubernetes.client.models.v1alpha2_driver_requests - kubernetes.client.models.v1alpha2_named_resources_allocation_result - kubernetes.client.models.v1alpha2_named_resources_attribute - kubernetes.client.models.v1alpha2_named_resources_filter - kubernetes.client.models.v1alpha2_named_resources_instance - kubernetes.client.models.v1alpha2_named_resources_int_slice - kubernetes.client.models.v1alpha2_named_resources_request - kubernetes.client.models.v1alpha2_named_resources_resources - kubernetes.client.models.v1alpha2_named_resources_string_slice - kubernetes.client.models.v1alpha2_pod_scheduling_context - kubernetes.client.models.v1alpha2_pod_scheduling_context_list - kubernetes.client.models.v1alpha2_pod_scheduling_context_spec - kubernetes.client.models.v1alpha2_pod_scheduling_context_status - kubernetes.client.models.v1alpha2_resource_claim - kubernetes.client.models.v1alpha2_resource_claim_consumer_reference - kubernetes.client.models.v1alpha2_resource_claim_list - kubernetes.client.models.v1alpha2_resource_claim_parameters - kubernetes.client.models.v1alpha2_resource_claim_parameters_list - kubernetes.client.models.v1alpha2_resource_claim_parameters_reference - kubernetes.client.models.v1alpha2_resource_claim_scheduling_status - kubernetes.client.models.v1alpha2_resource_claim_spec - kubernetes.client.models.v1alpha2_resource_claim_status - kubernetes.client.models.v1alpha2_resource_claim_template - kubernetes.client.models.v1alpha2_resource_claim_template_list - kubernetes.client.models.v1alpha2_resource_claim_template_spec - kubernetes.client.models.v1alpha2_resource_class - kubernetes.client.models.v1alpha2_resource_class_list - kubernetes.client.models.v1alpha2_resource_class_parameters - kubernetes.client.models.v1alpha2_resource_class_parameters_list - kubernetes.client.models.v1alpha2_resource_class_parameters_reference - kubernetes.client.models.v1alpha2_resource_filter - kubernetes.client.models.v1alpha2_resource_handle - kubernetes.client.models.v1alpha2_resource_request - kubernetes.client.models.v1alpha2_resource_slice - kubernetes.client.models.v1alpha2_resource_slice_list - kubernetes.client.models.v1alpha2_structured_resource_handle - kubernetes.client.models.v1alpha2_vendor_parameters + kubernetes.client.models.v1alpha3_allocation_result + kubernetes.client.models.v1alpha3_basic_device + kubernetes.client.models.v1alpha3_cel_device_selector + kubernetes.client.models.v1alpha3_device + kubernetes.client.models.v1alpha3_device_allocation_configuration + kubernetes.client.models.v1alpha3_device_allocation_result + kubernetes.client.models.v1alpha3_device_attribute + kubernetes.client.models.v1alpha3_device_claim + kubernetes.client.models.v1alpha3_device_claim_configuration + kubernetes.client.models.v1alpha3_device_class + kubernetes.client.models.v1alpha3_device_class_configuration + kubernetes.client.models.v1alpha3_device_class_list + kubernetes.client.models.v1alpha3_device_class_spec + kubernetes.client.models.v1alpha3_device_constraint + kubernetes.client.models.v1alpha3_device_request + kubernetes.client.models.v1alpha3_device_request_allocation_result + kubernetes.client.models.v1alpha3_device_selector + kubernetes.client.models.v1alpha3_opaque_device_configuration + kubernetes.client.models.v1alpha3_pod_scheduling_context + kubernetes.client.models.v1alpha3_pod_scheduling_context_list + kubernetes.client.models.v1alpha3_pod_scheduling_context_spec + kubernetes.client.models.v1alpha3_pod_scheduling_context_status + kubernetes.client.models.v1alpha3_resource_claim + kubernetes.client.models.v1alpha3_resource_claim_consumer_reference + kubernetes.client.models.v1alpha3_resource_claim_list + kubernetes.client.models.v1alpha3_resource_claim_scheduling_status + kubernetes.client.models.v1alpha3_resource_claim_spec + kubernetes.client.models.v1alpha3_resource_claim_status + kubernetes.client.models.v1alpha3_resource_claim_template + kubernetes.client.models.v1alpha3_resource_claim_template_list + kubernetes.client.models.v1alpha3_resource_claim_template_spec + kubernetes.client.models.v1alpha3_resource_pool + kubernetes.client.models.v1alpha3_resource_slice + kubernetes.client.models.v1alpha3_resource_slice_list + kubernetes.client.models.v1alpha3_resource_slice_spec kubernetes.client.models.v1beta1_audit_annotation kubernetes.client.models.v1beta1_expression_warning + kubernetes.client.models.v1beta1_ip_address + kubernetes.client.models.v1beta1_ip_address_list + kubernetes.client.models.v1beta1_ip_address_spec kubernetes.client.models.v1beta1_match_condition kubernetes.client.models.v1beta1_match_resources kubernetes.client.models.v1beta1_named_rule_with_operations kubernetes.client.models.v1beta1_param_kind kubernetes.client.models.v1beta1_param_ref + kubernetes.client.models.v1beta1_parent_reference kubernetes.client.models.v1beta1_self_subject_review kubernetes.client.models.v1beta1_self_subject_review_status + kubernetes.client.models.v1beta1_service_cidr + kubernetes.client.models.v1beta1_service_cidr_list + kubernetes.client.models.v1beta1_service_cidr_spec + kubernetes.client.models.v1beta1_service_cidr_status kubernetes.client.models.v1beta1_type_checking kubernetes.client.models.v1beta1_validating_admission_policy kubernetes.client.models.v1beta1_validating_admission_policy_binding @@ -572,6 +579,8 @@ Submodules kubernetes.client.models.v1beta1_validating_admission_policy_status kubernetes.client.models.v1beta1_validation kubernetes.client.models.v1beta1_variable + kubernetes.client.models.v1beta1_volume_attributes_class + kubernetes.client.models.v1beta1_volume_attributes_class_list kubernetes.client.models.v1beta3_exempt_priority_level_configuration kubernetes.client.models.v1beta3_flow_distinguisher_method kubernetes.client.models.v1beta3_flow_schema diff --git a/doc/source/kubernetes.client.models.v1_claim_source.rst b/doc/source/kubernetes.client.models.v1_claim_source.rst deleted file mode 100644 index 53cf35e04..000000000 --- a/doc/source/kubernetes.client.models.v1_claim_source.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1\_claim\_source module -================================================= - -.. automodule:: kubernetes.client.models.v1_claim_source - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_container_user.rst b/doc/source/kubernetes.client.models.v1_container_user.rst new file mode 100644 index 000000000..a4ecd2aa3 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_container_user.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_container\_user module +=================================================== + +.. automodule:: kubernetes.client.models.v1_container_user + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_field_selector_attributes.rst b/doc/source/kubernetes.client.models.v1_field_selector_attributes.rst new file mode 100644 index 000000000..d7940a0b3 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_field_selector_attributes.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_field\_selector\_attributes module +=============================================================== + +.. automodule:: kubernetes.client.models.v1_field_selector_attributes + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_field_selector_requirement.rst b/doc/source/kubernetes.client.models.v1_field_selector_requirement.rst new file mode 100644 index 000000000..fb5cf586f --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_field_selector_requirement.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_field\_selector\_requirement module +================================================================ + +.. automodule:: kubernetes.client.models.v1_field_selector_requirement + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_image_volume_source.rst b/doc/source/kubernetes.client.models.v1_image_volume_source.rst new file mode 100644 index 000000000..a6b905344 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_image_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_image\_volume\_source module +========================================================= + +.. automodule:: kubernetes.client.models.v1_image_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_label_selector_attributes.rst b/doc/source/kubernetes.client.models.v1_label_selector_attributes.rst new file mode 100644 index 000000000..bbf24e1f8 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_label_selector_attributes.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_label\_selector\_attributes module +=============================================================== + +.. automodule:: kubernetes.client.models.v1_label_selector_attributes + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_linux_container_user.rst b/doc/source/kubernetes.client.models.v1_linux_container_user.rst new file mode 100644 index 000000000..87dfdeda9 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_linux_container_user.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_linux\_container\_user module +========================================================== + +.. automodule:: kubernetes.client.models.v1_linux_container_user + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_node_features.rst b/doc/source/kubernetes.client.models.v1_node_features.rst new file mode 100644 index 000000000..f8a3a0969 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_node_features.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_node\_features module +================================================== + +.. automodule:: kubernetes.client.models.v1_node_features + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_resource_health.rst b/doc/source/kubernetes.client.models.v1_resource_health.rst new file mode 100644 index 000000000..29e6b3f6d --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_health.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_health module +==================================================== + +.. automodule:: kubernetes.client.models.v1_resource_health + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1_resource_status.rst b/doc/source/kubernetes.client.models.v1_resource_status.rst new file mode 100644 index 000000000..3179eca91 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1_resource_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1\_resource\_status module +==================================================== + +.. automodule:: kubernetes.client.models.v1_resource_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_ip_address.rst b/doc/source/kubernetes.client.models.v1alpha1_ip_address.rst deleted file mode 100644 index 8d82ff9f6..000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_ip_address.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_ip\_address module -===================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_ip_address - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_ip_address_list.rst b/doc/source/kubernetes.client.models.v1alpha1_ip_address_list.rst deleted file mode 100644 index 4946a442d..000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_ip_address_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_ip\_address\_list module -=========================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_ip_address_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_ip_address_spec.rst b/doc/source/kubernetes.client.models.v1alpha1_ip_address_spec.rst deleted file mode 100644 index 5e8ed745f..000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_ip_address_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_ip\_address\_spec module -=========================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_ip_address_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_lease_candidate.rst b/doc/source/kubernetes.client.models.v1alpha1_lease_candidate.rst new file mode 100644 index 000000000..791484e41 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_lease_candidate.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_lease\_candidate module +========================================================== + +.. automodule:: kubernetes.client.models.v1alpha1_lease_candidate + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_lease_candidate_list.rst b/doc/source/kubernetes.client.models.v1alpha1_lease_candidate_list.rst new file mode 100644 index 000000000..91df36adc --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_lease_candidate_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_lease\_candidate\_list module +================================================================ + +.. automodule:: kubernetes.client.models.v1alpha1_lease_candidate_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_lease_candidate_spec.rst b/doc/source/kubernetes.client.models.v1alpha1_lease_candidate_spec.rst new file mode 100644 index 000000000..580725671 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha1_lease_candidate_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha1\_lease\_candidate\_spec module +================================================================ + +.. automodule:: kubernetes.client.models.v1alpha1_lease_candidate_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_parent_reference.rst b/doc/source/kubernetes.client.models.v1alpha1_parent_reference.rst deleted file mode 100644 index 2740dbfe2..000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_parent_reference.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_parent\_reference module -=========================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_parent_reference - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_service_cidr.rst b/doc/source/kubernetes.client.models.v1alpha1_service_cidr.rst deleted file mode 100644 index a5e2bbbf2..000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_service_cidr.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_service\_cidr module -======================================================= - -.. automodule:: kubernetes.client.models.v1alpha1_service_cidr - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_service_cidr_list.rst b/doc/source/kubernetes.client.models.v1alpha1_service_cidr_list.rst deleted file mode 100644 index 14ae3d249..000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_service_cidr_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_service\_cidr\_list module -============================================================= - -.. automodule:: kubernetes.client.models.v1alpha1_service_cidr_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_service_cidr_spec.rst b/doc/source/kubernetes.client.models.v1alpha1_service_cidr_spec.rst deleted file mode 100644 index 5e5620536..000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_service_cidr_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_service\_cidr\_spec module -============================================================= - -.. automodule:: kubernetes.client.models.v1alpha1_service_cidr_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha1_service_cidr_status.rst b/doc/source/kubernetes.client.models.v1alpha1_service_cidr_status.rst deleted file mode 100644 index 26c46efbc..000000000 --- a/doc/source/kubernetes.client.models.v1alpha1_service_cidr_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha1\_service\_cidr\_status module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha1_service_cidr_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_allocation_result.rst b/doc/source/kubernetes.client.models.v1alpha2_allocation_result.rst deleted file mode 100644 index c168134d9..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_allocation\_result module -============================================================ - -.. automodule:: kubernetes.client.models.v1alpha2_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_driver_requests.rst b/doc/source/kubernetes.client.models.v1alpha2_driver_requests.rst deleted file mode 100644 index da9ef3573..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_driver_requests.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_driver\_requests module -========================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_driver_requests - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_named_resources_allocation_result.rst b/doc/source/kubernetes.client.models.v1alpha2_named_resources_allocation_result.rst deleted file mode 100644 index 951f75e38..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_named_resources_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_named\_resources\_allocation\_result module -============================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_named_resources_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_named_resources_attribute.rst b/doc/source/kubernetes.client.models.v1alpha2_named_resources_attribute.rst deleted file mode 100644 index db3fee950..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_named_resources_attribute.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_named\_resources\_attribute module -===================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_named_resources_attribute - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_named_resources_filter.rst b/doc/source/kubernetes.client.models.v1alpha2_named_resources_filter.rst deleted file mode 100644 index 77e45a069..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_named_resources_filter.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_named\_resources\_filter module -================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_named_resources_filter - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_named_resources_instance.rst b/doc/source/kubernetes.client.models.v1alpha2_named_resources_instance.rst deleted file mode 100644 index 9e48ab667..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_named_resources_instance.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_named\_resources\_instance module -==================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_named_resources_instance - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_named_resources_int_slice.rst b/doc/source/kubernetes.client.models.v1alpha2_named_resources_int_slice.rst deleted file mode 100644 index 6c7d15794..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_named_resources_int_slice.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_named\_resources\_int\_slice module -====================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_named_resources_int_slice - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_named_resources_request.rst b/doc/source/kubernetes.client.models.v1alpha2_named_resources_request.rst deleted file mode 100644 index 1eb4c4b18..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_named_resources_request.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_named\_resources\_request module -=================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_named_resources_request - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_named_resources_resources.rst b/doc/source/kubernetes.client.models.v1alpha2_named_resources_resources.rst deleted file mode 100644 index b1a8c2a63..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_named_resources_resources.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_named\_resources\_resources module -===================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_named_resources_resources - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_named_resources_string_slice.rst b/doc/source/kubernetes.client.models.v1alpha2_named_resources_string_slice.rst deleted file mode 100644 index aa42dc9fe..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_named_resources_string_slice.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_named\_resources\_string\_slice module -========================================================================= - -.. automodule:: kubernetes.client.models.v1alpha2_named_resources_string_slice - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_claim.rst deleted file mode 100644 index 428265769..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_claim module -========================================================= - -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_list.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_claim_list.rst deleted file mode 100644 index fd795fe1b..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_list module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters.rst deleted file mode 100644 index 403e3b0d4..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_parameters module -===================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_parameters - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters_list.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters_list.rst deleted file mode 100644 index 2552a052b..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_parameters\_list module -=========================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_parameters_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters_reference.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters_reference.rst deleted file mode 100644 index 116896d8a..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_parameters_reference.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_parameters\_reference module -================================================================================ - -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_parameters_reference - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_spec.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_claim_spec.rst deleted file mode 100644 index a7838d2f4..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_spec module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_class.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_class.rst deleted file mode 100644 index bef9365a3..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_class.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_class module -========================================================= - -.. automodule:: kubernetes.client.models.v1alpha2_resource_class - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_class_list.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_class_list.rst deleted file mode 100644 index 2785389c5..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_class_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_class\_list module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_class_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters.rst deleted file mode 100644 index 6024db535..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_class\_parameters module -===================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_class_parameters - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters_list.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters_list.rst deleted file mode 100644 index 579c2d716..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_class\_parameters\_list module -=========================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_class_parameters_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters_reference.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters_reference.rst deleted file mode 100644 index 0be139734..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_class_parameters_reference.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_class\_parameters\_reference module -================================================================================ - -.. automodule:: kubernetes.client.models.v1alpha2_resource_class_parameters_reference - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_filter.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_filter.rst deleted file mode 100644 index 59ba7d714..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_filter.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_filter module -========================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_filter - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_handle.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_handle.rst deleted file mode 100644 index 1c14dd4eb..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_handle.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_handle module -========================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_handle - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_request.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_request.rst deleted file mode 100644 index 0acba966c..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_request.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_request module -=========================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_request - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_slice.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_slice.rst deleted file mode 100644 index dad9ce8cc..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_slice.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_slice module -========================================================= - -.. automodule:: kubernetes.client.models.v1alpha2_resource_slice - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_slice_list.rst b/doc/source/kubernetes.client.models.v1alpha2_resource_slice_list.rst deleted file mode 100644 index 22eaf42c7..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_slice_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_resource\_slice\_list module -=============================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_resource_slice_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_structured_resource_handle.rst b/doc/source/kubernetes.client.models.v1alpha2_structured_resource_handle.rst deleted file mode 100644 index ff5387107..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_structured_resource_handle.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_structured\_resource\_handle module -====================================================================== - -.. automodule:: kubernetes.client.models.v1alpha2_structured_resource_handle - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_vendor_parameters.rst b/doc/source/kubernetes.client.models.v1alpha2_vendor_parameters.rst deleted file mode 100644 index cd0d69243..000000000 --- a/doc/source/kubernetes.client.models.v1alpha2_vendor_parameters.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.client.models.v1alpha2\_vendor\_parameters module -============================================================ - -.. automodule:: kubernetes.client.models.v1alpha2_vendor_parameters - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_allocation_result.rst b/doc/source/kubernetes.client.models.v1alpha3_allocation_result.rst new file mode 100644 index 000000000..8d4a017af --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_allocation\_result module +============================================================ + +.. automodule:: kubernetes.client.models.v1alpha3_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_basic_device.rst b/doc/source/kubernetes.client.models.v1alpha3_basic_device.rst new file mode 100644 index 000000000..5a5bcac40 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_basic_device.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_basic\_device module +======================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_basic_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_cel_device_selector.rst b/doc/source/kubernetes.client.models.v1alpha3_cel_device_selector.rst new file mode 100644 index 000000000..5b2bdc636 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_cel\_device\_selector module +=============================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_cel_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device.rst b/doc/source/kubernetes.client.models.v1alpha3_device.rst new file mode 100644 index 000000000..1a57fe7f2 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device module +================================================ + +.. automodule:: kubernetes.client.models.v1alpha3_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_allocation_configuration.rst b/doc/source/kubernetes.client.models.v1alpha3_device_allocation_configuration.rst new file mode 100644 index 000000000..106bd58b7 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_allocation\_configuration module +=========================================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_device_allocation_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_driver_allocation_result.rst b/doc/source/kubernetes.client.models.v1alpha3_device_allocation_result.rst similarity index 52% rename from doc/source/kubernetes.client.models.v1alpha2_driver_allocation_result.rst rename to doc/source/kubernetes.client.models.v1alpha3_device_allocation_result.rst index c958d0c0d..93ca3ab37 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_driver_allocation_result.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_device_allocation_result.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_driver\_allocation\_result module +kubernetes.client.models.v1alpha3\_device\_allocation\_result module ==================================================================== -.. automodule:: kubernetes.client.models.v1alpha2_driver_allocation_result +.. automodule:: kubernetes.client.models.v1alpha3_device_allocation_result :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_attribute.rst b/doc/source/kubernetes.client.models.v1alpha3_device_attribute.rst new file mode 100644 index 000000000..48f14ac53 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_attribute module +=========================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_device_attribute + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_claim.rst b/doc/source/kubernetes.client.models.v1alpha3_device_claim.rst new file mode 100644 index 000000000..fecbe1152 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_claim module +======================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_device_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_claim_configuration.rst b/doc/source/kubernetes.client.models.v1alpha3_device_claim_configuration.rst new file mode 100644 index 000000000..e741457c7 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_claim\_configuration module +====================================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_device_claim_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_class.rst b/doc/source/kubernetes.client.models.v1alpha3_device_class.rst new file mode 100644 index 000000000..9f02c00e2 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_class.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_class module +======================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_device_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_class_configuration.rst b/doc/source/kubernetes.client.models.v1alpha3_device_class_configuration.rst new file mode 100644 index 000000000..eefa46da6 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_class\_configuration module +====================================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_device_class_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_class_list.rst b/doc/source/kubernetes.client.models.v1alpha3_device_class_list.rst new file mode 100644 index 000000000..284647e57 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_class\_list module +============================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_device_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_class_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_device_class_spec.rst new file mode 100644 index 000000000..d0643cefb --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_class\_spec module +============================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_device_class_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_constraint.rst b/doc/source/kubernetes.client.models.v1alpha3_device_constraint.rst new file mode 100644 index 000000000..080661872 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_constraint module +============================================================ + +.. automodule:: kubernetes.client.models.v1alpha3_device_constraint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_request.rst b/doc/source/kubernetes.client.models.v1alpha3_device_request.rst new file mode 100644 index 000000000..3a3f08b2b --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_request.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_request module +========================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_device_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_request_allocation_result.rst b/doc/source/kubernetes.client.models.v1alpha3_device_request_allocation_result.rst new file mode 100644 index 000000000..b295a9011 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_request\_allocation\_result module +============================================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_device_request_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_device_selector.rst b/doc/source/kubernetes.client.models.v1alpha3_device_selector.rst new file mode 100644 index 000000000..0bb5f3160 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_device\_selector module +========================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_opaque_device_configuration.rst b/doc/source/kubernetes.client.models.v1alpha3_opaque_device_configuration.rst new file mode 100644 index 000000000..a1e54b2e2 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_opaque_device_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_opaque\_device\_configuration module +======================================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_opaque_device_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context.rst b/doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context.rst similarity index 51% rename from doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context.rst rename to doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context.rst index f0bd930e9..25d3a29f0 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_pod\_scheduling\_context module +kubernetes.client.models.v1alpha3\_pod\_scheduling\_context module ================================================================== -.. automodule:: kubernetes.client.models.v1alpha2_pod_scheduling_context +.. automodule:: kubernetes.client.models.v1alpha3_pod_scheduling_context :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context_list.rst b/doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context_list.rst similarity index 54% rename from doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context_list.rst rename to doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context_list.rst index 38f921239..16c2ad087 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context_list.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context_list.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_pod\_scheduling\_context\_list module +kubernetes.client.models.v1alpha3\_pod\_scheduling\_context\_list module ======================================================================== -.. automodule:: kubernetes.client.models.v1alpha2_pod_scheduling_context_list +.. automodule:: kubernetes.client.models.v1alpha3_pod_scheduling_context_list :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context_spec.rst similarity index 54% rename from doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context_spec.rst rename to doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context_spec.rst index dfe4ec393..01c158e68 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context_spec.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context_spec.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_pod\_scheduling\_context\_spec module +kubernetes.client.models.v1alpha3\_pod\_scheduling\_context\_spec module ======================================================================== -.. automodule:: kubernetes.client.models.v1alpha2_pod_scheduling_context_spec +.. automodule:: kubernetes.client.models.v1alpha3_pod_scheduling_context_spec :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context_status.rst b/doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context_status.rst similarity index 55% rename from doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context_status.rst rename to doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context_status.rst index f264d33a8..b1d97fa02 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_pod_scheduling_context_status.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_pod_scheduling_context_status.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_pod\_scheduling\_context\_status module +kubernetes.client.models.v1alpha3\_pod\_scheduling\_context\_status module ========================================================================== -.. automodule:: kubernetes.client.models.v1alpha2_pod_scheduling_context_status +.. automodule:: kubernetes.client.models.v1alpha3_pod_scheduling_context_status :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim.rst new file mode 100644 index 000000000..bc0087ecf --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_resource\_claim module +========================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_resource_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_consumer_reference.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_consumer_reference.rst similarity index 56% rename from doc/source/kubernetes.client.models.v1alpha2_resource_claim_consumer_reference.rst rename to doc/source/kubernetes.client.models.v1alpha3_resource_claim_consumer_reference.rst index 07b4e91d4..fb4da9f62 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_consumer_reference.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_consumer_reference.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_consumer\_reference module +kubernetes.client.models.v1alpha3\_resource\_claim\_consumer\_reference module ============================================================================== -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_consumer_reference +.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_consumer_reference :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_list.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_list.rst new file mode 100644 index 000000000..6d65b076c --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_resource\_claim\_list module +=============================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_scheduling_status.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_scheduling_status.rst similarity index 56% rename from doc/source/kubernetes.client.models.v1alpha2_resource_claim_scheduling_status.rst rename to doc/source/kubernetes.client.models.v1alpha3_resource_claim_scheduling_status.rst index 70abb8318..4b58e788d 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_scheduling_status.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_scheduling_status.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_scheduling\_status module +kubernetes.client.models.v1alpha3\_resource\_claim\_scheduling\_status module ============================================================================= -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_scheduling_status +.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_scheduling_status :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_claim_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_spec.rst new file mode 100644 index 000000000..364d4a2c1 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_resource\_claim\_spec module +=============================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_status.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_status.rst similarity index 50% rename from doc/source/kubernetes.client.models.v1alpha2_resource_claim_status.rst rename to doc/source/kubernetes.client.models.v1alpha3_resource_claim_status.rst index 8a0258f41..28c2fff91 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_status.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_status.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_status module +kubernetes.client.models.v1alpha3\_resource\_claim\_status module ================================================================= -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_status +.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_status :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_template.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template.rst similarity index 51% rename from doc/source/kubernetes.client.models.v1alpha2_resource_claim_template.rst rename to doc/source/kubernetes.client.models.v1alpha3_resource_claim_template.rst index 92248c860..bacb01b2d 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_template.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_template module +kubernetes.client.models.v1alpha3\_resource\_claim\_template module =================================================================== -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_template +.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_template :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_template_list.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_list.rst similarity index 54% rename from doc/source/kubernetes.client.models.v1alpha2_resource_claim_template_list.rst rename to doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_list.rst index b7bb123e7..d8255018f 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_template_list.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_list.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_template\_list module +kubernetes.client.models.v1alpha3\_resource\_claim\_template\_list module ========================================================================= -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_template_list +.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_template_list :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_template_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_spec.rst similarity index 54% rename from doc/source/kubernetes.client.models.v1alpha2_resource_claim_template_spec.rst rename to doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_spec.rst index 309e3e4c7..fa93b0a98 100644 --- a/doc/source/kubernetes.client.models.v1alpha2_resource_claim_template_spec.rst +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_claim_template_spec.rst @@ -1,7 +1,7 @@ -kubernetes.client.models.v1alpha2\_resource\_claim\_template\_spec module +kubernetes.client.models.v1alpha3\_resource\_claim\_template\_spec module ========================================================================= -.. automodule:: kubernetes.client.models.v1alpha2_resource_claim_template_spec +.. automodule:: kubernetes.client.models.v1alpha3_resource_claim_template_spec :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_pool.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_pool.rst new file mode 100644 index 000000000..5d6f5c699 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_resource\_pool module +======================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_resource_pool + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_slice.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_slice.rst new file mode 100644 index 000000000..4c4e88325 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_resource\_slice module +========================================================= + +.. automodule:: kubernetes.client.models.v1alpha3_resource_slice + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_slice_list.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_slice_list.rst new file mode 100644 index 000000000..b062c8c27 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_resource\_slice\_list module +=============================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_resource_slice_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1alpha3_resource_slice_spec.rst b/doc/source/kubernetes.client.models.v1alpha3_resource_slice_spec.rst new file mode 100644 index 000000000..523519772 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1alpha3_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1alpha3\_resource\_slice\_spec module +=============================================================== + +.. automodule:: kubernetes.client.models.v1alpha3_resource_slice_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_ip_address.rst b/doc/source/kubernetes.client.models.v1beta1_ip_address.rst new file mode 100644 index 000000000..37a11892a --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_ip_address.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_ip\_address module +==================================================== + +.. automodule:: kubernetes.client.models.v1beta1_ip_address + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_ip_address_list.rst b/doc/source/kubernetes.client.models.v1beta1_ip_address_list.rst new file mode 100644 index 000000000..344ce00dc --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_ip_address_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_ip\_address\_list module +========================================================== + +.. automodule:: kubernetes.client.models.v1beta1_ip_address_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_ip_address_spec.rst b/doc/source/kubernetes.client.models.v1beta1_ip_address_spec.rst new file mode 100644 index 000000000..2b690b0f1 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_ip_address_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_ip\_address\_spec module +========================================================== + +.. automodule:: kubernetes.client.models.v1beta1_ip_address_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_parent_reference.rst b/doc/source/kubernetes.client.models.v1beta1_parent_reference.rst new file mode 100644 index 000000000..13b67edfd --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_parent_reference.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_parent\_reference module +========================================================== + +.. automodule:: kubernetes.client.models.v1beta1_parent_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_service_cidr.rst b/doc/source/kubernetes.client.models.v1beta1_service_cidr.rst new file mode 100644 index 000000000..caf160359 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_service_cidr.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_service\_cidr module +====================================================== + +.. automodule:: kubernetes.client.models.v1beta1_service_cidr + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_service_cidr_list.rst b/doc/source/kubernetes.client.models.v1beta1_service_cidr_list.rst new file mode 100644 index 000000000..18980eda6 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_service_cidr_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_service\_cidr\_list module +============================================================ + +.. automodule:: kubernetes.client.models.v1beta1_service_cidr_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_service_cidr_spec.rst b/doc/source/kubernetes.client.models.v1beta1_service_cidr_spec.rst new file mode 100644 index 000000000..5161de79e --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_service_cidr_spec.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_service\_cidr\_spec module +============================================================ + +.. automodule:: kubernetes.client.models.v1beta1_service_cidr_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_service_cidr_status.rst b/doc/source/kubernetes.client.models.v1beta1_service_cidr_status.rst new file mode 100644 index 000000000..8c19460dd --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_service_cidr_status.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_service\_cidr\_status module +============================================================== + +.. automodule:: kubernetes.client.models.v1beta1_service_cidr_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class.rst b/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class.rst new file mode 100644 index 000000000..883c67b12 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_volume\_attributes\_class module +================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_volume_attributes_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class_list.rst b/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class_list.rst new file mode 100644 index 000000000..1f2cc5420 --- /dev/null +++ b/doc/source/kubernetes.client.models.v1beta1_volume_attributes_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.client.models.v1beta1\_volume\_attributes\_class\_list module +======================================================================== + +.. automodule:: kubernetes.client.models.v1beta1_volume_attributes_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.rst b/doc/source/kubernetes.test.rst index 46d033cd5..69f534259 100644 --- a/doc/source/kubernetes.test.rst +++ b/doc/source/kubernetes.test.rst @@ -40,6 +40,7 @@ Submodules kubernetes.test.test_certificates_v1alpha1_api kubernetes.test.test_coordination_api kubernetes.test.test_coordination_v1_api + kubernetes.test.test_coordination_v1alpha1_api kubernetes.test.test_core_api kubernetes.test.test_core_v1_api kubernetes.test.test_core_v1_endpoint_port @@ -64,7 +65,7 @@ Submodules kubernetes.test.test_logs_api kubernetes.test.test_networking_api kubernetes.test.test_networking_v1_api - kubernetes.test.test_networking_v1alpha1_api + kubernetes.test.test_networking_v1beta1_api kubernetes.test.test_node_api kubernetes.test.test_node_v1_api kubernetes.test.test_openid_api @@ -74,13 +75,14 @@ Submodules kubernetes.test.test_rbac_authorization_v1_api kubernetes.test.test_rbac_v1_subject kubernetes.test.test_resource_api - kubernetes.test.test_resource_v1alpha2_api + kubernetes.test.test_resource_v1alpha3_api kubernetes.test.test_scheduling_api kubernetes.test.test_scheduling_v1_api kubernetes.test.test_storage_api kubernetes.test.test_storage_v1_api kubernetes.test.test_storage_v1_token_request kubernetes.test.test_storage_v1alpha1_api + kubernetes.test.test_storage_v1beta1_api kubernetes.test.test_storagemigration_api kubernetes.test.test_storagemigration_v1alpha1_api kubernetes.test.test_v1_affinity @@ -114,7 +116,6 @@ Submodules kubernetes.test.test_v1_certificate_signing_request_status kubernetes.test.test_v1_cinder_persistent_volume_source kubernetes.test.test_v1_cinder_volume_source - kubernetes.test.test_v1_claim_source kubernetes.test.test_v1_client_ip_config kubernetes.test.test_v1_cluster_role kubernetes.test.test_v1_cluster_role_binding @@ -141,6 +142,7 @@ Submodules kubernetes.test.test_v1_container_state_terminated kubernetes.test.test_v1_container_state_waiting kubernetes.test.test_v1_container_status + kubernetes.test.test_v1_container_user kubernetes.test.test_v1_controller_revision kubernetes.test.test_v1_controller_revision_list kubernetes.test.test_v1_cron_job @@ -210,6 +212,8 @@ Submodules kubernetes.test.test_v1_expression_warning kubernetes.test.test_v1_external_documentation kubernetes.test.test_v1_fc_volume_source + kubernetes.test.test_v1_field_selector_attributes + kubernetes.test.test_v1_field_selector_requirement kubernetes.test.test_v1_flex_persistent_volume_source kubernetes.test.test_v1_flex_volume_source kubernetes.test.test_v1_flocker_volume_source @@ -238,6 +242,7 @@ Submodules kubernetes.test.test_v1_http_header kubernetes.test.test_v1_http_ingress_path kubernetes.test.test_v1_http_ingress_rule_value + kubernetes.test.test_v1_image_volume_source kubernetes.test.test_v1_ingress kubernetes.test.test_v1_ingress_backend kubernetes.test.test_v1_ingress_class @@ -265,6 +270,7 @@ Submodules kubernetes.test.test_v1_json_schema_props kubernetes.test.test_v1_key_to_path kubernetes.test.test_v1_label_selector + kubernetes.test.test_v1_label_selector_attributes kubernetes.test.test_v1_label_selector_requirement kubernetes.test.test_v1_lease kubernetes.test.test_v1_lease_list @@ -277,6 +283,7 @@ Submodules kubernetes.test.test_v1_limit_range_spec kubernetes.test.test_v1_limit_response kubernetes.test.test_v1_limited_priority_level_configuration + kubernetes.test.test_v1_linux_container_user kubernetes.test.test_v1_list_meta kubernetes.test.test_v1_load_balancer_ingress kubernetes.test.test_v1_load_balancer_status @@ -311,6 +318,7 @@ Submodules kubernetes.test.test_v1_node_config_source kubernetes.test.test_v1_node_config_status kubernetes.test.test_v1_node_daemon_endpoints + kubernetes.test.test_v1_node_features kubernetes.test.test_v1_node_list kubernetes.test.test_v1_node_runtime_handler kubernetes.test.test_v1_node_runtime_handler_features @@ -403,6 +411,7 @@ Submodules kubernetes.test.test_v1_resource_attributes kubernetes.test.test_v1_resource_claim kubernetes.test.test_v1_resource_field_selector + kubernetes.test.test_v1_resource_health kubernetes.test.test_v1_resource_policy_rule kubernetes.test.test_v1_resource_quota kubernetes.test.test_v1_resource_quota_list @@ -410,6 +419,7 @@ Submodules kubernetes.test.test_v1_resource_quota_status kubernetes.test.test_v1_resource_requirements kubernetes.test.test_v1_resource_rule + kubernetes.test.test_v1_resource_status kubernetes.test.test_v1_role kubernetes.test.test_v1_role_binding kubernetes.test.test_v1_role_binding_list @@ -536,23 +546,18 @@ Submodules kubernetes.test.test_v1alpha1_cluster_trust_bundle_spec kubernetes.test.test_v1alpha1_expression_warning kubernetes.test.test_v1alpha1_group_version_resource - kubernetes.test.test_v1alpha1_ip_address - kubernetes.test.test_v1alpha1_ip_address_list - kubernetes.test.test_v1alpha1_ip_address_spec + kubernetes.test.test_v1alpha1_lease_candidate + kubernetes.test.test_v1alpha1_lease_candidate_list + kubernetes.test.test_v1alpha1_lease_candidate_spec kubernetes.test.test_v1alpha1_match_condition kubernetes.test.test_v1alpha1_match_resources kubernetes.test.test_v1alpha1_migration_condition kubernetes.test.test_v1alpha1_named_rule_with_operations kubernetes.test.test_v1alpha1_param_kind kubernetes.test.test_v1alpha1_param_ref - kubernetes.test.test_v1alpha1_parent_reference kubernetes.test.test_v1alpha1_self_subject_review kubernetes.test.test_v1alpha1_self_subject_review_status kubernetes.test.test_v1alpha1_server_storage_version - kubernetes.test.test_v1alpha1_service_cidr - kubernetes.test.test_v1alpha1_service_cidr_list - kubernetes.test.test_v1alpha1_service_cidr_spec - kubernetes.test.test_v1alpha1_service_cidr_status kubernetes.test.test_v1alpha1_storage_version kubernetes.test.test_v1alpha1_storage_version_condition kubernetes.test.test_v1alpha1_storage_version_list @@ -573,54 +578,58 @@ Submodules kubernetes.test.test_v1alpha1_variable kubernetes.test.test_v1alpha1_volume_attributes_class kubernetes.test.test_v1alpha1_volume_attributes_class_list - kubernetes.test.test_v1alpha2_allocation_result - kubernetes.test.test_v1alpha2_driver_allocation_result - kubernetes.test.test_v1alpha2_driver_requests - kubernetes.test.test_v1alpha2_named_resources_allocation_result - kubernetes.test.test_v1alpha2_named_resources_attribute - kubernetes.test.test_v1alpha2_named_resources_filter - kubernetes.test.test_v1alpha2_named_resources_instance - kubernetes.test.test_v1alpha2_named_resources_int_slice - kubernetes.test.test_v1alpha2_named_resources_request - kubernetes.test.test_v1alpha2_named_resources_resources - kubernetes.test.test_v1alpha2_named_resources_string_slice - kubernetes.test.test_v1alpha2_pod_scheduling_context - kubernetes.test.test_v1alpha2_pod_scheduling_context_list - kubernetes.test.test_v1alpha2_pod_scheduling_context_spec - kubernetes.test.test_v1alpha2_pod_scheduling_context_status - kubernetes.test.test_v1alpha2_resource_claim - kubernetes.test.test_v1alpha2_resource_claim_consumer_reference - kubernetes.test.test_v1alpha2_resource_claim_list - kubernetes.test.test_v1alpha2_resource_claim_parameters - kubernetes.test.test_v1alpha2_resource_claim_parameters_list - kubernetes.test.test_v1alpha2_resource_claim_parameters_reference - kubernetes.test.test_v1alpha2_resource_claim_scheduling_status - kubernetes.test.test_v1alpha2_resource_claim_spec - kubernetes.test.test_v1alpha2_resource_claim_status - kubernetes.test.test_v1alpha2_resource_claim_template - kubernetes.test.test_v1alpha2_resource_claim_template_list - kubernetes.test.test_v1alpha2_resource_claim_template_spec - kubernetes.test.test_v1alpha2_resource_class - kubernetes.test.test_v1alpha2_resource_class_list - kubernetes.test.test_v1alpha2_resource_class_parameters - kubernetes.test.test_v1alpha2_resource_class_parameters_list - kubernetes.test.test_v1alpha2_resource_class_parameters_reference - kubernetes.test.test_v1alpha2_resource_filter - kubernetes.test.test_v1alpha2_resource_handle - kubernetes.test.test_v1alpha2_resource_request - kubernetes.test.test_v1alpha2_resource_slice - kubernetes.test.test_v1alpha2_resource_slice_list - kubernetes.test.test_v1alpha2_structured_resource_handle - kubernetes.test.test_v1alpha2_vendor_parameters + kubernetes.test.test_v1alpha3_allocation_result + kubernetes.test.test_v1alpha3_basic_device + kubernetes.test.test_v1alpha3_cel_device_selector + kubernetes.test.test_v1alpha3_device + kubernetes.test.test_v1alpha3_device_allocation_configuration + kubernetes.test.test_v1alpha3_device_allocation_result + kubernetes.test.test_v1alpha3_device_attribute + kubernetes.test.test_v1alpha3_device_claim + kubernetes.test.test_v1alpha3_device_claim_configuration + kubernetes.test.test_v1alpha3_device_class + kubernetes.test.test_v1alpha3_device_class_configuration + kubernetes.test.test_v1alpha3_device_class_list + kubernetes.test.test_v1alpha3_device_class_spec + kubernetes.test.test_v1alpha3_device_constraint + kubernetes.test.test_v1alpha3_device_request + kubernetes.test.test_v1alpha3_device_request_allocation_result + kubernetes.test.test_v1alpha3_device_selector + kubernetes.test.test_v1alpha3_opaque_device_configuration + kubernetes.test.test_v1alpha3_pod_scheduling_context + kubernetes.test.test_v1alpha3_pod_scheduling_context_list + kubernetes.test.test_v1alpha3_pod_scheduling_context_spec + kubernetes.test.test_v1alpha3_pod_scheduling_context_status + kubernetes.test.test_v1alpha3_resource_claim + kubernetes.test.test_v1alpha3_resource_claim_consumer_reference + kubernetes.test.test_v1alpha3_resource_claim_list + kubernetes.test.test_v1alpha3_resource_claim_scheduling_status + kubernetes.test.test_v1alpha3_resource_claim_spec + kubernetes.test.test_v1alpha3_resource_claim_status + kubernetes.test.test_v1alpha3_resource_claim_template + kubernetes.test.test_v1alpha3_resource_claim_template_list + kubernetes.test.test_v1alpha3_resource_claim_template_spec + kubernetes.test.test_v1alpha3_resource_pool + kubernetes.test.test_v1alpha3_resource_slice + kubernetes.test.test_v1alpha3_resource_slice_list + kubernetes.test.test_v1alpha3_resource_slice_spec kubernetes.test.test_v1beta1_audit_annotation kubernetes.test.test_v1beta1_expression_warning + kubernetes.test.test_v1beta1_ip_address + kubernetes.test.test_v1beta1_ip_address_list + kubernetes.test.test_v1beta1_ip_address_spec kubernetes.test.test_v1beta1_match_condition kubernetes.test.test_v1beta1_match_resources kubernetes.test.test_v1beta1_named_rule_with_operations kubernetes.test.test_v1beta1_param_kind kubernetes.test.test_v1beta1_param_ref + kubernetes.test.test_v1beta1_parent_reference kubernetes.test.test_v1beta1_self_subject_review kubernetes.test.test_v1beta1_self_subject_review_status + kubernetes.test.test_v1beta1_service_cidr + kubernetes.test.test_v1beta1_service_cidr_list + kubernetes.test.test_v1beta1_service_cidr_spec + kubernetes.test.test_v1beta1_service_cidr_status kubernetes.test.test_v1beta1_type_checking kubernetes.test.test_v1beta1_validating_admission_policy kubernetes.test.test_v1beta1_validating_admission_policy_binding @@ -631,6 +640,8 @@ Submodules kubernetes.test.test_v1beta1_validating_admission_policy_status kubernetes.test.test_v1beta1_validation kubernetes.test.test_v1beta1_variable + kubernetes.test.test_v1beta1_volume_attributes_class + kubernetes.test.test_v1beta1_volume_attributes_class_list kubernetes.test.test_v1beta3_exempt_priority_level_configuration kubernetes.test.test_v1beta3_flow_distinguisher_method kubernetes.test.test_v1beta3_flow_schema diff --git a/doc/source/kubernetes.test.test_coordination_v1alpha1_api.rst b/doc/source/kubernetes.test.test_coordination_v1alpha1_api.rst new file mode 100644 index 000000000..8b32bed7d --- /dev/null +++ b/doc/source/kubernetes.test.test_coordination_v1alpha1_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_coordination\_v1alpha1\_api module +======================================================== + +.. automodule:: kubernetes.test.test_coordination_v1alpha1_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_networking_v1alpha1_api.rst b/doc/source/kubernetes.test.test_networking_v1alpha1_api.rst deleted file mode 100644 index 39c2864cc..000000000 --- a/doc/source/kubernetes.test.test_networking_v1alpha1_api.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_networking\_v1alpha1\_api module -====================================================== - -.. automodule:: kubernetes.test.test_networking_v1alpha1_api - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_networking_v1beta1_api.rst b/doc/source/kubernetes.test.test_networking_v1beta1_api.rst new file mode 100644 index 000000000..0288164a7 --- /dev/null +++ b/doc/source/kubernetes.test.test_networking_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_networking\_v1beta1\_api module +===================================================== + +.. automodule:: kubernetes.test.test_networking_v1beta1_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_resource_v1alpha2_api.rst b/doc/source/kubernetes.test.test_resource_v1alpha2_api.rst deleted file mode 100644 index 3be119235..000000000 --- a/doc/source/kubernetes.test.test_resource_v1alpha2_api.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_resource\_v1alpha2\_api module -==================================================== - -.. automodule:: kubernetes.test.test_resource_v1alpha2_api - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_resource_v1alpha3_api.rst b/doc/source/kubernetes.test.test_resource_v1alpha3_api.rst new file mode 100644 index 000000000..056024c4a --- /dev/null +++ b/doc/source/kubernetes.test.test_resource_v1alpha3_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_resource\_v1alpha3\_api module +==================================================== + +.. automodule:: kubernetes.test.test_resource_v1alpha3_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_storage_v1beta1_api.rst b/doc/source/kubernetes.test.test_storage_v1beta1_api.rst new file mode 100644 index 000000000..9f7394374 --- /dev/null +++ b/doc/source/kubernetes.test.test_storage_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_storage\_v1beta1\_api module +================================================== + +.. automodule:: kubernetes.test.test_storage_v1beta1_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_claim_source.rst b/doc/source/kubernetes.test.test_v1_claim_source.rst deleted file mode 100644 index d48e821ca..000000000 --- a/doc/source/kubernetes.test.test_v1_claim_source.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1\_claim\_source module -============================================== - -.. automodule:: kubernetes.test.test_v1_claim_source - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_container_user.rst b/doc/source/kubernetes.test.test_v1_container_user.rst new file mode 100644 index 000000000..3659d3746 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_container_user.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_container\_user module +================================================ + +.. automodule:: kubernetes.test.test_v1_container_user + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_field_selector_attributes.rst b/doc/source/kubernetes.test.test_v1_field_selector_attributes.rst new file mode 100644 index 000000000..333d5f113 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_field_selector_attributes.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_field\_selector\_attributes module +============================================================ + +.. automodule:: kubernetes.test.test_v1_field_selector_attributes + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_field_selector_requirement.rst b/doc/source/kubernetes.test.test_v1_field_selector_requirement.rst new file mode 100644 index 000000000..89ec61350 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_field_selector_requirement.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_field\_selector\_requirement module +============================================================= + +.. automodule:: kubernetes.test.test_v1_field_selector_requirement + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_image_volume_source.rst b/doc/source/kubernetes.test.test_v1_image_volume_source.rst new file mode 100644 index 000000000..928f46435 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_image_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_image\_volume\_source module +====================================================== + +.. automodule:: kubernetes.test.test_v1_image_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_label_selector_attributes.rst b/doc/source/kubernetes.test.test_v1_label_selector_attributes.rst new file mode 100644 index 000000000..9ef5884e5 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_label_selector_attributes.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_label\_selector\_attributes module +============================================================ + +.. automodule:: kubernetes.test.test_v1_label_selector_attributes + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_linux_container_user.rst b/doc/source/kubernetes.test.test_v1_linux_container_user.rst new file mode 100644 index 000000000..e457e70ff --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_linux_container_user.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_linux\_container\_user module +======================================================= + +.. automodule:: kubernetes.test.test_v1_linux_container_user + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_node_features.rst b/doc/source/kubernetes.test.test_v1_node_features.rst new file mode 100644 index 000000000..3043dd5f2 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_node_features.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_node\_features module +=============================================== + +.. automodule:: kubernetes.test.test_v1_node_features + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_resource_health.rst b/doc/source/kubernetes.test.test_v1_resource_health.rst new file mode 100644 index 000000000..093cf979b --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_health.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_health module +================================================= + +.. automodule:: kubernetes.test.test_v1_resource_health + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1_resource_status.rst b/doc/source/kubernetes.test.test_v1_resource_status.rst new file mode 100644 index 000000000..4cd0b3d9c --- /dev/null +++ b/doc/source/kubernetes.test.test_v1_resource_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1\_resource\_status module +================================================= + +.. automodule:: kubernetes.test.test_v1_resource_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_ip_address.rst b/doc/source/kubernetes.test.test_v1alpha1_ip_address.rst deleted file mode 100644 index 3781f6a18..000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_ip_address.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_ip\_address module -================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_ip_address - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_ip_address_list.rst b/doc/source/kubernetes.test.test_v1alpha1_ip_address_list.rst deleted file mode 100644 index 88b31e7fe..000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_ip_address_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_ip\_address\_list module -======================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_ip_address_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_ip_address_spec.rst b/doc/source/kubernetes.test.test_v1alpha1_ip_address_spec.rst deleted file mode 100644 index d3a7c6109..000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_ip_address_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_ip\_address\_spec module -======================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_ip_address_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_lease_candidate.rst b/doc/source/kubernetes.test.test_v1alpha1_lease_candidate.rst new file mode 100644 index 000000000..06203893b --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_lease_candidate.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_lease\_candidate module +======================================================= + +.. automodule:: kubernetes.test.test_v1alpha1_lease_candidate + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_lease_candidate_list.rst b/doc/source/kubernetes.test.test_v1alpha1_lease_candidate_list.rst new file mode 100644 index 000000000..5c80f45aa --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_lease_candidate_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_lease\_candidate\_list module +============================================================= + +.. automodule:: kubernetes.test.test_v1alpha1_lease_candidate_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_lease_candidate_spec.rst b/doc/source/kubernetes.test.test_v1alpha1_lease_candidate_spec.rst new file mode 100644 index 000000000..23d78ff0c --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha1_lease_candidate_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha1\_lease\_candidate\_spec module +============================================================= + +.. automodule:: kubernetes.test.test_v1alpha1_lease_candidate_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_parent_reference.rst b/doc/source/kubernetes.test.test_v1alpha1_parent_reference.rst deleted file mode 100644 index 5974f8b7a..000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_parent_reference.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_parent\_reference module -======================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_parent_reference - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_service_cidr.rst b/doc/source/kubernetes.test.test_v1alpha1_service_cidr.rst deleted file mode 100644 index 079d9667d..000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_service_cidr.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_service\_cidr module -==================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_service_cidr - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_service_cidr_list.rst b/doc/source/kubernetes.test.test_v1alpha1_service_cidr_list.rst deleted file mode 100644 index 36dd11163..000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_service_cidr_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_service\_cidr\_list module -========================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_service_cidr_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_service_cidr_spec.rst b/doc/source/kubernetes.test.test_v1alpha1_service_cidr_spec.rst deleted file mode 100644 index e79d6e422..000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_service_cidr_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_service\_cidr\_spec module -========================================================== - -.. automodule:: kubernetes.test.test_v1alpha1_service_cidr_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha1_service_cidr_status.rst b/doc/source/kubernetes.test.test_v1alpha1_service_cidr_status.rst deleted file mode 100644 index 421bf77df..000000000 --- a/doc/source/kubernetes.test.test_v1alpha1_service_cidr_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha1\_service\_cidr\_status module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha1_service_cidr_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_allocation_result.rst b/doc/source/kubernetes.test.test_v1alpha2_allocation_result.rst deleted file mode 100644 index b999c795c..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_allocation\_result module -========================================================= - -.. automodule:: kubernetes.test.test_v1alpha2_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_driver_requests.rst b/doc/source/kubernetes.test.test_v1alpha2_driver_requests.rst deleted file mode 100644 index e10e922a9..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_driver_requests.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_driver\_requests module -======================================================= - -.. automodule:: kubernetes.test.test_v1alpha2_driver_requests - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_named_resources_allocation_result.rst b/doc/source/kubernetes.test.test_v1alpha2_named_resources_allocation_result.rst deleted file mode 100644 index 2d830a01f..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_named_resources_allocation_result.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_named\_resources\_allocation\_result module -=========================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_named_resources_allocation_result - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_named_resources_attribute.rst b/doc/source/kubernetes.test.test_v1alpha2_named_resources_attribute.rst deleted file mode 100644 index 3d9d69185..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_named_resources_attribute.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_named\_resources\_attribute module -================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_named_resources_attribute - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_named_resources_filter.rst b/doc/source/kubernetes.test.test_v1alpha2_named_resources_filter.rst deleted file mode 100644 index d0cc945bf..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_named_resources_filter.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_named\_resources\_filter module -=============================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_named_resources_filter - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_named_resources_instance.rst b/doc/source/kubernetes.test.test_v1alpha2_named_resources_instance.rst deleted file mode 100644 index c8089b107..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_named_resources_instance.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_named\_resources\_instance module -================================================================= - -.. automodule:: kubernetes.test.test_v1alpha2_named_resources_instance - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_named_resources_int_slice.rst b/doc/source/kubernetes.test.test_v1alpha2_named_resources_int_slice.rst deleted file mode 100644 index c993f386a..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_named_resources_int_slice.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_named\_resources\_int\_slice module -=================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_named_resources_int_slice - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_named_resources_request.rst b/doc/source/kubernetes.test.test_v1alpha2_named_resources_request.rst deleted file mode 100644 index e37fdc875..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_named_resources_request.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_named\_resources\_request module -================================================================ - -.. automodule:: kubernetes.test.test_v1alpha2_named_resources_request - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_named_resources_resources.rst b/doc/source/kubernetes.test.test_v1alpha2_named_resources_resources.rst deleted file mode 100644 index 8ffea2bb9..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_named_resources_resources.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_named\_resources\_resources module -================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_named_resources_resources - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_named_resources_string_slice.rst b/doc/source/kubernetes.test.test_v1alpha2_named_resources_string_slice.rst deleted file mode 100644 index c25dba4f1..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_named_resources_string_slice.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_named\_resources\_string\_slice module -====================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_named_resources_string_slice - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context.rst b/doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context.rst deleted file mode 100644 index 1e83bd710..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_pod\_scheduling\_context module -=============================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_pod_scheduling_context - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_claim.rst deleted file mode 100644 index 9d3cc7d86..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim module -====================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_list.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_claim_list.rst deleted file mode 100644 index 0b9b35948..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_list module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters.rst deleted file mode 100644 index fbdaa0b3d..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_parameters module -================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_parameters - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters_list.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters_list.rst deleted file mode 100644 index f83eebbe2..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_parameters\_list module -======================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_parameters_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters_reference.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters_reference.rst deleted file mode 100644 index 7d80b8fca..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_parameters_reference.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_parameters\_reference module -============================================================================= - -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_parameters_reference - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_spec.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_claim_spec.rst deleted file mode 100644 index 2f664fced..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_spec.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_spec module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_spec - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_status.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_claim_status.rst deleted file mode 100644 index 5f522858e..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_status.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_status module -============================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_status - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_template.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_claim_template.rst deleted file mode 100644 index a4b11be41..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_template.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_template module -================================================================ - -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_template - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_class.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_class.rst deleted file mode 100644 index 22957518a..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_class.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_class module -====================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_resource_class - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_class_list.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_class_list.rst deleted file mode 100644 index 4ee5c85d9..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_class_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_class\_list module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha2_resource_class_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters.rst deleted file mode 100644 index cc01c16e5..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_class\_parameters module -================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_resource_class_parameters - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters_list.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters_list.rst deleted file mode 100644 index 751570518..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_class\_parameters\_list module -======================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_resource_class_parameters_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters_reference.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters_reference.rst deleted file mode 100644 index 694372797..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_class_parameters_reference.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_class\_parameters\_reference module -============================================================================= - -.. automodule:: kubernetes.test.test_v1alpha2_resource_class_parameters_reference - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_filter.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_filter.rst deleted file mode 100644 index 1428841ca..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_filter.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_filter module -======================================================= - -.. automodule:: kubernetes.test.test_v1alpha2_resource_filter - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_handle.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_handle.rst deleted file mode 100644 index aa8c0bc08..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_handle.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_handle module -======================================================= - -.. automodule:: kubernetes.test.test_v1alpha2_resource_handle - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_request.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_request.rst deleted file mode 100644 index 5ffa1d4ee..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_request.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_request module -======================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_resource_request - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_slice.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_slice.rst deleted file mode 100644 index ad7e69594..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_slice.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_slice module -====================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_resource_slice - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_slice_list.rst b/doc/source/kubernetes.test.test_v1alpha2_resource_slice_list.rst deleted file mode 100644 index e5c1b8feb..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_slice_list.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_resource\_slice\_list module -============================================================ - -.. automodule:: kubernetes.test.test_v1alpha2_resource_slice_list - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_structured_resource_handle.rst b/doc/source/kubernetes.test.test_v1alpha2_structured_resource_handle.rst deleted file mode 100644 index c7e321128..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_structured_resource_handle.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_structured\_resource\_handle module -=================================================================== - -.. automodule:: kubernetes.test.test_v1alpha2_structured_resource_handle - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_vendor_parameters.rst b/doc/source/kubernetes.test.test_v1alpha2_vendor_parameters.rst deleted file mode 100644 index c686255c9..000000000 --- a/doc/source/kubernetes.test.test_v1alpha2_vendor_parameters.rst +++ /dev/null @@ -1,7 +0,0 @@ -kubernetes.test.test\_v1alpha2\_vendor\_parameters module -========================================================= - -.. automodule:: kubernetes.test.test_v1alpha2_vendor_parameters - :members: - :undoc-members: - :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_allocation_result.rst b/doc/source/kubernetes.test.test_v1alpha3_allocation_result.rst new file mode 100644 index 000000000..36661644f --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_allocation\_result module +========================================================= + +.. automodule:: kubernetes.test.test_v1alpha3_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_basic_device.rst b/doc/source/kubernetes.test.test_v1alpha3_basic_device.rst new file mode 100644 index 000000000..fd5f1405d --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_basic_device.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_basic\_device module +==================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_basic_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_cel_device_selector.rst b/doc/source/kubernetes.test.test_v1alpha3_cel_device_selector.rst new file mode 100644 index 000000000..6330cd85f --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_cel\_device\_selector module +============================================================ + +.. automodule:: kubernetes.test.test_v1alpha3_cel_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device.rst b/doc/source/kubernetes.test.test_v1alpha3_device.rst new file mode 100644 index 000000000..4901d094b --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device module +============================================= + +.. automodule:: kubernetes.test.test_v1alpha3_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_allocation_configuration.rst b/doc/source/kubernetes.test.test_v1alpha3_device_allocation_configuration.rst new file mode 100644 index 000000000..180fe7d4b --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_allocation\_configuration module +======================================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_allocation_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_driver_allocation_result.rst b/doc/source/kubernetes.test.test_v1alpha3_device_allocation_result.rst similarity index 50% rename from doc/source/kubernetes.test.test_v1alpha2_driver_allocation_result.rst rename to doc/source/kubernetes.test.test_v1alpha3_device_allocation_result.rst index de7bd984c..4f2036367 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_driver_allocation_result.rst +++ b/doc/source/kubernetes.test.test_v1alpha3_device_allocation_result.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha2\_driver\_allocation\_result module +kubernetes.test.test\_v1alpha3\_device\_allocation\_result module ================================================================= -.. automodule:: kubernetes.test.test_v1alpha2_driver_allocation_result +.. automodule:: kubernetes.test.test_v1alpha3_device_allocation_result :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_attribute.rst b/doc/source/kubernetes.test.test_v1alpha3_device_attribute.rst new file mode 100644 index 000000000..3a186b3e8 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_attribute module +======================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_attribute + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_claim.rst b/doc/source/kubernetes.test.test_v1alpha3_device_claim.rst new file mode 100644 index 000000000..4196836f4 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_claim module +==================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_claim_configuration.rst b/doc/source/kubernetes.test.test_v1alpha3_device_claim_configuration.rst new file mode 100644 index 000000000..e04bacbd5 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_claim\_configuration module +=================================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_claim_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_class.rst b/doc/source/kubernetes.test.test_v1alpha3_device_class.rst new file mode 100644 index 000000000..b82b754ea --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_class.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_class module +==================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_class_configuration.rst b/doc/source/kubernetes.test.test_v1alpha3_device_class_configuration.rst new file mode 100644 index 000000000..4e17c6be5 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_class\_configuration module +=================================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_class_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_class_list.rst b/doc/source/kubernetes.test.test_v1alpha3_device_class_list.rst new file mode 100644 index 000000000..fb80803ee --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_class\_list module +========================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_class_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_device_class_spec.rst new file mode 100644 index 000000000..df824dd0d --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_class\_spec module +========================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_class_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_constraint.rst b/doc/source/kubernetes.test.test_v1alpha3_device_constraint.rst new file mode 100644 index 000000000..dfd78d041 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_constraint module +========================================================= + +.. automodule:: kubernetes.test.test_v1alpha3_device_constraint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_request.rst b/doc/source/kubernetes.test.test_v1alpha3_device_request.rst new file mode 100644 index 000000000..9c4a72edf --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_request.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_request module +====================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_request_allocation_result.rst b/doc/source/kubernetes.test.test_v1alpha3_device_request_allocation_result.rst new file mode 100644 index 000000000..c4a1dd604 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_request\_allocation\_result module +========================================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_device_request_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_device_selector.rst b/doc/source/kubernetes.test.test_v1alpha3_device_selector.rst new file mode 100644 index 000000000..a63f59c49 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_device\_selector module +======================================================= + +.. automodule:: kubernetes.test.test_v1alpha3_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_opaque_device_configuration.rst b/doc/source/kubernetes.test.test_v1alpha3_opaque_device_configuration.rst new file mode 100644 index 000000000..3290f692e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_opaque_device_configuration.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_opaque\_device\_configuration module +==================================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_opaque_device_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context.rst b/doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context.rst new file mode 100644 index 000000000..3a48fdeb6 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_pod\_scheduling\_context module +=============================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_pod_scheduling_context + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context_list.rst b/doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context_list.rst similarity index 52% rename from doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context_list.rst rename to doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context_list.rst index df87f9d5c..26ab4ed50 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context_list.rst +++ b/doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context_list.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha2\_pod\_scheduling\_context\_list module +kubernetes.test.test\_v1alpha3\_pod\_scheduling\_context\_list module ===================================================================== -.. automodule:: kubernetes.test.test_v1alpha2_pod_scheduling_context_list +.. automodule:: kubernetes.test.test_v1alpha3_pod_scheduling_context_list :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context_spec.rst similarity index 52% rename from doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context_spec.rst rename to doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context_spec.rst index af5846ca4..3da6456d5 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context_spec.rst +++ b/doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context_spec.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha2\_pod\_scheduling\_context\_spec module +kubernetes.test.test\_v1alpha3\_pod\_scheduling\_context\_spec module ===================================================================== -.. automodule:: kubernetes.test.test_v1alpha2_pod_scheduling_context_spec +.. automodule:: kubernetes.test.test_v1alpha3_pod_scheduling_context_spec :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context_status.rst b/doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context_status.rst similarity index 53% rename from doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context_status.rst rename to doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context_status.rst index f3f146bed..c550bcda3 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_pod_scheduling_context_status.rst +++ b/doc/source/kubernetes.test.test_v1alpha3_pod_scheduling_context_status.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha2\_pod\_scheduling\_context\_status module +kubernetes.test.test\_v1alpha3\_pod\_scheduling\_context\_status module ======================================================================= -.. automodule:: kubernetes.test.test_v1alpha2_pod_scheduling_context_status +.. automodule:: kubernetes.test.test_v1alpha3_pod_scheduling_context_status :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim.rst new file mode 100644 index 000000000..6fd7b3e66 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_resource\_claim module +====================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_resource_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_consumer_reference.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_consumer_reference.rst similarity index 55% rename from doc/source/kubernetes.test.test_v1alpha2_resource_claim_consumer_reference.rst rename to doc/source/kubernetes.test.test_v1alpha3_resource_claim_consumer_reference.rst index 3d810a406..3acc18dea 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_consumer_reference.rst +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_consumer_reference.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_consumer\_reference module +kubernetes.test.test\_v1alpha3\_resource\_claim\_consumer\_reference module =========================================================================== -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_consumer_reference +.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_consumer_reference :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_list.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_list.rst new file mode 100644 index 000000000..492599e76 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_resource\_claim\_list module +============================================================ + +.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_scheduling_status.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_scheduling_status.rst similarity index 54% rename from doc/source/kubernetes.test.test_v1alpha2_resource_claim_scheduling_status.rst rename to doc/source/kubernetes.test.test_v1alpha3_resource_claim_scheduling_status.rst index 3edbe5505..65c5bb6b0 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_scheduling_status.rst +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_scheduling_status.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_scheduling\_status module +kubernetes.test.test\_v1alpha3\_resource\_claim\_scheduling\_status module ========================================================================== -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_scheduling_status +.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_scheduling_status :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_spec.rst new file mode 100644 index 000000000..3f4e71def --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_resource\_claim\_spec module +============================================================ + +.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_status.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_status.rst new file mode 100644 index 000000000..acacd3f96 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_resource\_claim\_status module +============================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template.rst new file mode 100644 index 000000000..a821ee06e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_resource\_claim\_template module +================================================================ + +.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_template + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_template_list.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_list.rst similarity index 52% rename from doc/source/kubernetes.test.test_v1alpha2_resource_claim_template_list.rst rename to doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_list.rst index 34cb65a5e..2fe5f5753 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_template_list.rst +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_list.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_template\_list module +kubernetes.test.test\_v1alpha3\_resource\_claim\_template\_list module ====================================================================== -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_template_list +.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_template_list :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_template_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_spec.rst similarity index 52% rename from doc/source/kubernetes.test.test_v1alpha2_resource_claim_template_spec.rst rename to doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_spec.rst index 8c750a126..f2342406f 100644 --- a/doc/source/kubernetes.test.test_v1alpha2_resource_claim_template_spec.rst +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_claim_template_spec.rst @@ -1,7 +1,7 @@ -kubernetes.test.test\_v1alpha2\_resource\_claim\_template\_spec module +kubernetes.test.test\_v1alpha3\_resource\_claim\_template\_spec module ====================================================================== -.. automodule:: kubernetes.test.test_v1alpha2_resource_claim_template_spec +.. automodule:: kubernetes.test.test_v1alpha3_resource_claim_template_spec :members: :undoc-members: :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_pool.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_pool.rst new file mode 100644 index 000000000..6a0722eab --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_resource\_pool module +===================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_resource_pool + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_slice.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_slice.rst new file mode 100644 index 000000000..8a688cb42 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_resource\_slice module +====================================================== + +.. automodule:: kubernetes.test.test_v1alpha3_resource_slice + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_slice_list.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_slice_list.rst new file mode 100644 index 000000000..4af58a567 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_resource\_slice\_list module +============================================================ + +.. automodule:: kubernetes.test.test_v1alpha3_resource_slice_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1alpha3_resource_slice_spec.rst b/doc/source/kubernetes.test.test_v1alpha3_resource_slice_spec.rst new file mode 100644 index 000000000..1af2830ab --- /dev/null +++ b/doc/source/kubernetes.test.test_v1alpha3_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1alpha3\_resource\_slice\_spec module +============================================================ + +.. automodule:: kubernetes.test.test_v1alpha3_resource_slice_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_ip_address.rst b/doc/source/kubernetes.test.test_v1beta1_ip_address.rst new file mode 100644 index 000000000..8ff96fc08 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_ip_address.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_ip\_address module +================================================= + +.. automodule:: kubernetes.test.test_v1beta1_ip_address + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_ip_address_list.rst b/doc/source/kubernetes.test.test_v1beta1_ip_address_list.rst new file mode 100644 index 000000000..8a11dad4e --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_ip_address_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_ip\_address\_list module +======================================================= + +.. automodule:: kubernetes.test.test_v1beta1_ip_address_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_ip_address_spec.rst b/doc/source/kubernetes.test.test_v1beta1_ip_address_spec.rst new file mode 100644 index 000000000..047e66e96 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_ip_address_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_ip\_address\_spec module +======================================================= + +.. automodule:: kubernetes.test.test_v1beta1_ip_address_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_parent_reference.rst b/doc/source/kubernetes.test.test_v1beta1_parent_reference.rst new file mode 100644 index 000000000..6952c79c1 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_parent_reference.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_parent\_reference module +======================================================= + +.. automodule:: kubernetes.test.test_v1beta1_parent_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_service_cidr.rst b/doc/source/kubernetes.test.test_v1beta1_service_cidr.rst new file mode 100644 index 000000000..9db34b020 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_service_cidr.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_service\_cidr module +=================================================== + +.. automodule:: kubernetes.test.test_v1beta1_service_cidr + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_service_cidr_list.rst b/doc/source/kubernetes.test.test_v1beta1_service_cidr_list.rst new file mode 100644 index 000000000..ed7385868 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_service_cidr_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_service\_cidr\_list module +========================================================= + +.. automodule:: kubernetes.test.test_v1beta1_service_cidr_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_service_cidr_spec.rst b/doc/source/kubernetes.test.test_v1beta1_service_cidr_spec.rst new file mode 100644 index 000000000..f9eb6029c --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_service_cidr_spec.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_service\_cidr\_spec module +========================================================= + +.. automodule:: kubernetes.test.test_v1beta1_service_cidr_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_service_cidr_status.rst b/doc/source/kubernetes.test.test_v1beta1_service_cidr_status.rst new file mode 100644 index 000000000..5afbc4e17 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_service_cidr_status.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_service\_cidr\_status module +=========================================================== + +.. automodule:: kubernetes.test.test_v1beta1_service_cidr_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class.rst b/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class.rst new file mode 100644 index 000000000..3b767a924 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_volume\_attributes\_class module +=============================================================== + +.. automodule:: kubernetes.test.test_v1beta1_volume_attributes_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class_list.rst b/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class_list.rst new file mode 100644 index 000000000..daf247ad1 --- /dev/null +++ b/doc/source/kubernetes.test.test_v1beta1_volume_attributes_class_list.rst @@ -0,0 +1,7 @@ +kubernetes.test.test\_v1beta1\_volume\_attributes\_class\_list module +===================================================================== + +.. automodule:: kubernetes.test.test_v1beta1_volume_attributes_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.utils.duration.rst b/doc/source/kubernetes.utils.duration.rst new file mode 100644 index 000000000..1607ac0b7 --- /dev/null +++ b/doc/source/kubernetes.utils.duration.rst @@ -0,0 +1,7 @@ +kubernetes.utils.duration module +================================ + +.. automodule:: kubernetes.utils.duration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes.utils.rst b/doc/source/kubernetes.utils.rst index 52275ccd8..d1c6b6c3a 100644 --- a/doc/source/kubernetes.utils.rst +++ b/doc/source/kubernetes.utils.rst @@ -8,6 +8,7 @@ Submodules :maxdepth: 4 kubernetes.utils.create_from_yaml + kubernetes.utils.duration kubernetes.utils.quantity Module contents diff --git a/kubernetes/.openapi-generator/swagger.json.sha256 b/kubernetes/.openapi-generator/swagger.json.sha256 index ee69ca349..e8e1c4aa5 100644 --- a/kubernetes/.openapi-generator/swagger.json.sha256 +++ b/kubernetes/.openapi-generator/swagger.json.sha256 @@ -1 +1 @@ -6fd1426c8fa391e102e2e04f0d3937be4a4ce260ff7f23af66ef74ad49f46fb8 \ No newline at end of file +5bc69959534a9dd53d8c3b6b7d04f442eb2f54c9b1b30ed9dafcb43988488e51 \ No newline at end of file diff --git a/kubernetes/README.md b/kubernetes/README.md index be850c0dc..88b3343e2 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -3,8 +3,8 @@ No description provided (generated by Openapi Generator https://github.com/opena This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: release-1.30 -- Package version: 30.0.0+snapshot +- API version: release-1.31 +- Package version: 31.0.0+snapshot - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. @@ -335,6 +335,15 @@ Class | Method | HTTP request | Description *CoordinationV1Api* | [**patch_namespaced_lease**](docs/CoordinationV1Api.md#patch_namespaced_lease) | **PATCH** /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name} | *CoordinationV1Api* | [**read_namespaced_lease**](docs/CoordinationV1Api.md#read_namespaced_lease) | **GET** /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name} | *CoordinationV1Api* | [**replace_namespaced_lease**](docs/CoordinationV1Api.md#replace_namespaced_lease) | **PUT** /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name} | +*CoordinationV1alpha1Api* | [**create_namespaced_lease_candidate**](docs/CoordinationV1alpha1Api.md#create_namespaced_lease_candidate) | **POST** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates | +*CoordinationV1alpha1Api* | [**delete_collection_namespaced_lease_candidate**](docs/CoordinationV1alpha1Api.md#delete_collection_namespaced_lease_candidate) | **DELETE** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates | +*CoordinationV1alpha1Api* | [**delete_namespaced_lease_candidate**](docs/CoordinationV1alpha1Api.md#delete_namespaced_lease_candidate) | **DELETE** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name} | +*CoordinationV1alpha1Api* | [**get_api_resources**](docs/CoordinationV1alpha1Api.md#get_api_resources) | **GET** /apis/coordination.k8s.io/v1alpha1/ | +*CoordinationV1alpha1Api* | [**list_lease_candidate_for_all_namespaces**](docs/CoordinationV1alpha1Api.md#list_lease_candidate_for_all_namespaces) | **GET** /apis/coordination.k8s.io/v1alpha1/leasecandidates | +*CoordinationV1alpha1Api* | [**list_namespaced_lease_candidate**](docs/CoordinationV1alpha1Api.md#list_namespaced_lease_candidate) | **GET** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates | +*CoordinationV1alpha1Api* | [**patch_namespaced_lease_candidate**](docs/CoordinationV1alpha1Api.md#patch_namespaced_lease_candidate) | **PATCH** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name} | +*CoordinationV1alpha1Api* | [**read_namespaced_lease_candidate**](docs/CoordinationV1alpha1Api.md#read_namespaced_lease_candidate) | **GET** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name} | +*CoordinationV1alpha1Api* | [**replace_namespaced_lease_candidate**](docs/CoordinationV1alpha1Api.md#replace_namespaced_lease_candidate) | **PUT** /apis/coordination.k8s.io/v1alpha1/namespaces/{namespace}/leasecandidates/{name} | *CoreApi* | [**get_api_versions**](docs/CoreApi.md#get_api_versions) | **GET** /api/ | *CoreV1Api* | [**connect_delete_namespaced_pod_proxy**](docs/CoreV1Api.md#connect_delete_namespaced_pod_proxy) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy | *CoreV1Api* | [**connect_delete_namespaced_pod_proxy_with_path**](docs/CoreV1Api.md#connect_delete_namespaced_pod_proxy_with_path) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | @@ -671,24 +680,24 @@ Class | Method | HTTP request | Description *NetworkingV1Api* | [**replace_namespaced_ingress**](docs/NetworkingV1Api.md#replace_namespaced_ingress) | **PUT** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name} | *NetworkingV1Api* | [**replace_namespaced_ingress_status**](docs/NetworkingV1Api.md#replace_namespaced_ingress_status) | **PUT** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status | *NetworkingV1Api* | [**replace_namespaced_network_policy**](docs/NetworkingV1Api.md#replace_namespaced_network_policy) | **PUT** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | -*NetworkingV1alpha1Api* | [**create_ip_address**](docs/NetworkingV1alpha1Api.md#create_ip_address) | **POST** /apis/networking.k8s.io/v1alpha1/ipaddresses | -*NetworkingV1alpha1Api* | [**create_service_cidr**](docs/NetworkingV1alpha1Api.md#create_service_cidr) | **POST** /apis/networking.k8s.io/v1alpha1/servicecidrs | -*NetworkingV1alpha1Api* | [**delete_collection_ip_address**](docs/NetworkingV1alpha1Api.md#delete_collection_ip_address) | **DELETE** /apis/networking.k8s.io/v1alpha1/ipaddresses | -*NetworkingV1alpha1Api* | [**delete_collection_service_cidr**](docs/NetworkingV1alpha1Api.md#delete_collection_service_cidr) | **DELETE** /apis/networking.k8s.io/v1alpha1/servicecidrs | -*NetworkingV1alpha1Api* | [**delete_ip_address**](docs/NetworkingV1alpha1Api.md#delete_ip_address) | **DELETE** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -*NetworkingV1alpha1Api* | [**delete_service_cidr**](docs/NetworkingV1alpha1Api.md#delete_service_cidr) | **DELETE** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | -*NetworkingV1alpha1Api* | [**get_api_resources**](docs/NetworkingV1alpha1Api.md#get_api_resources) | **GET** /apis/networking.k8s.io/v1alpha1/ | -*NetworkingV1alpha1Api* | [**list_ip_address**](docs/NetworkingV1alpha1Api.md#list_ip_address) | **GET** /apis/networking.k8s.io/v1alpha1/ipaddresses | -*NetworkingV1alpha1Api* | [**list_service_cidr**](docs/NetworkingV1alpha1Api.md#list_service_cidr) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs | -*NetworkingV1alpha1Api* | [**patch_ip_address**](docs/NetworkingV1alpha1Api.md#patch_ip_address) | **PATCH** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -*NetworkingV1alpha1Api* | [**patch_service_cidr**](docs/NetworkingV1alpha1Api.md#patch_service_cidr) | **PATCH** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | -*NetworkingV1alpha1Api* | [**patch_service_cidr_status**](docs/NetworkingV1alpha1Api.md#patch_service_cidr_status) | **PATCH** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | -*NetworkingV1alpha1Api* | [**read_ip_address**](docs/NetworkingV1alpha1Api.md#read_ip_address) | **GET** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -*NetworkingV1alpha1Api* | [**read_service_cidr**](docs/NetworkingV1alpha1Api.md#read_service_cidr) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | -*NetworkingV1alpha1Api* | [**read_service_cidr_status**](docs/NetworkingV1alpha1Api.md#read_service_cidr_status) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | -*NetworkingV1alpha1Api* | [**replace_ip_address**](docs/NetworkingV1alpha1Api.md#replace_ip_address) | **PUT** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -*NetworkingV1alpha1Api* | [**replace_service_cidr**](docs/NetworkingV1alpha1Api.md#replace_service_cidr) | **PUT** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | -*NetworkingV1alpha1Api* | [**replace_service_cidr_status**](docs/NetworkingV1alpha1Api.md#replace_service_cidr_status) | **PUT** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | +*NetworkingV1beta1Api* | [**create_ip_address**](docs/NetworkingV1beta1Api.md#create_ip_address) | **POST** /apis/networking.k8s.io/v1beta1/ipaddresses | +*NetworkingV1beta1Api* | [**create_service_cidr**](docs/NetworkingV1beta1Api.md#create_service_cidr) | **POST** /apis/networking.k8s.io/v1beta1/servicecidrs | +*NetworkingV1beta1Api* | [**delete_collection_ip_address**](docs/NetworkingV1beta1Api.md#delete_collection_ip_address) | **DELETE** /apis/networking.k8s.io/v1beta1/ipaddresses | +*NetworkingV1beta1Api* | [**delete_collection_service_cidr**](docs/NetworkingV1beta1Api.md#delete_collection_service_cidr) | **DELETE** /apis/networking.k8s.io/v1beta1/servicecidrs | +*NetworkingV1beta1Api* | [**delete_ip_address**](docs/NetworkingV1beta1Api.md#delete_ip_address) | **DELETE** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +*NetworkingV1beta1Api* | [**delete_service_cidr**](docs/NetworkingV1beta1Api.md#delete_service_cidr) | **DELETE** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +*NetworkingV1beta1Api* | [**get_api_resources**](docs/NetworkingV1beta1Api.md#get_api_resources) | **GET** /apis/networking.k8s.io/v1beta1/ | +*NetworkingV1beta1Api* | [**list_ip_address**](docs/NetworkingV1beta1Api.md#list_ip_address) | **GET** /apis/networking.k8s.io/v1beta1/ipaddresses | +*NetworkingV1beta1Api* | [**list_service_cidr**](docs/NetworkingV1beta1Api.md#list_service_cidr) | **GET** /apis/networking.k8s.io/v1beta1/servicecidrs | +*NetworkingV1beta1Api* | [**patch_ip_address**](docs/NetworkingV1beta1Api.md#patch_ip_address) | **PATCH** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +*NetworkingV1beta1Api* | [**patch_service_cidr**](docs/NetworkingV1beta1Api.md#patch_service_cidr) | **PATCH** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +*NetworkingV1beta1Api* | [**patch_service_cidr_status**](docs/NetworkingV1beta1Api.md#patch_service_cidr_status) | **PATCH** /apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status | +*NetworkingV1beta1Api* | [**read_ip_address**](docs/NetworkingV1beta1Api.md#read_ip_address) | **GET** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +*NetworkingV1beta1Api* | [**read_service_cidr**](docs/NetworkingV1beta1Api.md#read_service_cidr) | **GET** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +*NetworkingV1beta1Api* | [**read_service_cidr_status**](docs/NetworkingV1beta1Api.md#read_service_cidr_status) | **GET** /apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status | +*NetworkingV1beta1Api* | [**replace_ip_address**](docs/NetworkingV1beta1Api.md#replace_ip_address) | **PUT** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +*NetworkingV1beta1Api* | [**replace_service_cidr**](docs/NetworkingV1beta1Api.md#replace_service_cidr) | **PUT** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +*NetworkingV1beta1Api* | [**replace_service_cidr_status**](docs/NetworkingV1beta1Api.md#replace_service_cidr_status) | **PUT** /apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status | *NodeApi* | [**get_api_group**](docs/NodeApi.md#get_api_group) | **GET** /apis/node.k8s.io/ | *NodeV1Api* | [**create_runtime_class**](docs/NodeV1Api.md#create_runtime_class) | **POST** /apis/node.k8s.io/v1/runtimeclasses | *NodeV1Api* | [**delete_collection_runtime_class**](docs/NodeV1Api.md#delete_collection_runtime_class) | **DELETE** /apis/node.k8s.io/v1/runtimeclasses | @@ -745,67 +754,51 @@ Class | Method | HTTP request | Description *RbacAuthorizationV1Api* | [**replace_namespaced_role**](docs/RbacAuthorizationV1Api.md#replace_namespaced_role) | **PUT** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name} | *RbacAuthorizationV1Api* | [**replace_namespaced_role_binding**](docs/RbacAuthorizationV1Api.md#replace_namespaced_role_binding) | **PUT** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} | *ResourceApi* | [**get_api_group**](docs/ResourceApi.md#get_api_group) | **GET** /apis/resource.k8s.io/ | -*ResourceV1alpha2Api* | [**create_namespaced_pod_scheduling_context**](docs/ResourceV1alpha2Api.md#create_namespaced_pod_scheduling_context) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts | -*ResourceV1alpha2Api* | [**create_namespaced_resource_claim**](docs/ResourceV1alpha2Api.md#create_namespaced_resource_claim) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims | -*ResourceV1alpha2Api* | [**create_namespaced_resource_claim_parameters**](docs/ResourceV1alpha2Api.md#create_namespaced_resource_claim_parameters) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters | -*ResourceV1alpha2Api* | [**create_namespaced_resource_claim_template**](docs/ResourceV1alpha2Api.md#create_namespaced_resource_claim_template) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates | -*ResourceV1alpha2Api* | [**create_namespaced_resource_class_parameters**](docs/ResourceV1alpha2Api.md#create_namespaced_resource_class_parameters) | **POST** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters | -*ResourceV1alpha2Api* | [**create_resource_class**](docs/ResourceV1alpha2Api.md#create_resource_class) | **POST** /apis/resource.k8s.io/v1alpha2/resourceclasses | -*ResourceV1alpha2Api* | [**create_resource_slice**](docs/ResourceV1alpha2Api.md#create_resource_slice) | **POST** /apis/resource.k8s.io/v1alpha2/resourceslices | -*ResourceV1alpha2Api* | [**delete_collection_namespaced_pod_scheduling_context**](docs/ResourceV1alpha2Api.md#delete_collection_namespaced_pod_scheduling_context) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts | -*ResourceV1alpha2Api* | [**delete_collection_namespaced_resource_claim**](docs/ResourceV1alpha2Api.md#delete_collection_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims | -*ResourceV1alpha2Api* | [**delete_collection_namespaced_resource_claim_parameters**](docs/ResourceV1alpha2Api.md#delete_collection_namespaced_resource_claim_parameters) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters | -*ResourceV1alpha2Api* | [**delete_collection_namespaced_resource_claim_template**](docs/ResourceV1alpha2Api.md#delete_collection_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates | -*ResourceV1alpha2Api* | [**delete_collection_namespaced_resource_class_parameters**](docs/ResourceV1alpha2Api.md#delete_collection_namespaced_resource_class_parameters) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters | -*ResourceV1alpha2Api* | [**delete_collection_resource_class**](docs/ResourceV1alpha2Api.md#delete_collection_resource_class) | **DELETE** /apis/resource.k8s.io/v1alpha2/resourceclasses | -*ResourceV1alpha2Api* | [**delete_collection_resource_slice**](docs/ResourceV1alpha2Api.md#delete_collection_resource_slice) | **DELETE** /apis/resource.k8s.io/v1alpha2/resourceslices | -*ResourceV1alpha2Api* | [**delete_namespaced_pod_scheduling_context**](docs/ResourceV1alpha2Api.md#delete_namespaced_pod_scheduling_context) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name} | -*ResourceV1alpha2Api* | [**delete_namespaced_resource_claim**](docs/ResourceV1alpha2Api.md#delete_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name} | -*ResourceV1alpha2Api* | [**delete_namespaced_resource_claim_parameters**](docs/ResourceV1alpha2Api.md#delete_namespaced_resource_claim_parameters) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name} | -*ResourceV1alpha2Api* | [**delete_namespaced_resource_claim_template**](docs/ResourceV1alpha2Api.md#delete_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name} | -*ResourceV1alpha2Api* | [**delete_namespaced_resource_class_parameters**](docs/ResourceV1alpha2Api.md#delete_namespaced_resource_class_parameters) | **DELETE** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name} | -*ResourceV1alpha2Api* | [**delete_resource_class**](docs/ResourceV1alpha2Api.md#delete_resource_class) | **DELETE** /apis/resource.k8s.io/v1alpha2/resourceclasses/{name} | -*ResourceV1alpha2Api* | [**delete_resource_slice**](docs/ResourceV1alpha2Api.md#delete_resource_slice) | **DELETE** /apis/resource.k8s.io/v1alpha2/resourceslices/{name} | -*ResourceV1alpha2Api* | [**get_api_resources**](docs/ResourceV1alpha2Api.md#get_api_resources) | **GET** /apis/resource.k8s.io/v1alpha2/ | -*ResourceV1alpha2Api* | [**list_namespaced_pod_scheduling_context**](docs/ResourceV1alpha2Api.md#list_namespaced_pod_scheduling_context) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts | -*ResourceV1alpha2Api* | [**list_namespaced_resource_claim**](docs/ResourceV1alpha2Api.md#list_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims | -*ResourceV1alpha2Api* | [**list_namespaced_resource_claim_parameters**](docs/ResourceV1alpha2Api.md#list_namespaced_resource_claim_parameters) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters | -*ResourceV1alpha2Api* | [**list_namespaced_resource_claim_template**](docs/ResourceV1alpha2Api.md#list_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates | -*ResourceV1alpha2Api* | [**list_namespaced_resource_class_parameters**](docs/ResourceV1alpha2Api.md#list_namespaced_resource_class_parameters) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters | -*ResourceV1alpha2Api* | [**list_pod_scheduling_context_for_all_namespaces**](docs/ResourceV1alpha2Api.md#list_pod_scheduling_context_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/podschedulingcontexts | -*ResourceV1alpha2Api* | [**list_resource_claim_for_all_namespaces**](docs/ResourceV1alpha2Api.md#list_resource_claim_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclaims | -*ResourceV1alpha2Api* | [**list_resource_claim_parameters_for_all_namespaces**](docs/ResourceV1alpha2Api.md#list_resource_claim_parameters_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclaimparameters | -*ResourceV1alpha2Api* | [**list_resource_claim_template_for_all_namespaces**](docs/ResourceV1alpha2Api.md#list_resource_claim_template_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclaimtemplates | -*ResourceV1alpha2Api* | [**list_resource_class**](docs/ResourceV1alpha2Api.md#list_resource_class) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclasses | -*ResourceV1alpha2Api* | [**list_resource_class_parameters_for_all_namespaces**](docs/ResourceV1alpha2Api.md#list_resource_class_parameters_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclassparameters | -*ResourceV1alpha2Api* | [**list_resource_slice**](docs/ResourceV1alpha2Api.md#list_resource_slice) | **GET** /apis/resource.k8s.io/v1alpha2/resourceslices | -*ResourceV1alpha2Api* | [**patch_namespaced_pod_scheduling_context**](docs/ResourceV1alpha2Api.md#patch_namespaced_pod_scheduling_context) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name} | -*ResourceV1alpha2Api* | [**patch_namespaced_pod_scheduling_context_status**](docs/ResourceV1alpha2Api.md#patch_namespaced_pod_scheduling_context_status) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status | -*ResourceV1alpha2Api* | [**patch_namespaced_resource_claim**](docs/ResourceV1alpha2Api.md#patch_namespaced_resource_claim) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name} | -*ResourceV1alpha2Api* | [**patch_namespaced_resource_claim_parameters**](docs/ResourceV1alpha2Api.md#patch_namespaced_resource_claim_parameters) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name} | -*ResourceV1alpha2Api* | [**patch_namespaced_resource_claim_status**](docs/ResourceV1alpha2Api.md#patch_namespaced_resource_claim_status) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status | -*ResourceV1alpha2Api* | [**patch_namespaced_resource_claim_template**](docs/ResourceV1alpha2Api.md#patch_namespaced_resource_claim_template) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name} | -*ResourceV1alpha2Api* | [**patch_namespaced_resource_class_parameters**](docs/ResourceV1alpha2Api.md#patch_namespaced_resource_class_parameters) | **PATCH** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name} | -*ResourceV1alpha2Api* | [**patch_resource_class**](docs/ResourceV1alpha2Api.md#patch_resource_class) | **PATCH** /apis/resource.k8s.io/v1alpha2/resourceclasses/{name} | -*ResourceV1alpha2Api* | [**patch_resource_slice**](docs/ResourceV1alpha2Api.md#patch_resource_slice) | **PATCH** /apis/resource.k8s.io/v1alpha2/resourceslices/{name} | -*ResourceV1alpha2Api* | [**read_namespaced_pod_scheduling_context**](docs/ResourceV1alpha2Api.md#read_namespaced_pod_scheduling_context) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name} | -*ResourceV1alpha2Api* | [**read_namespaced_pod_scheduling_context_status**](docs/ResourceV1alpha2Api.md#read_namespaced_pod_scheduling_context_status) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status | -*ResourceV1alpha2Api* | [**read_namespaced_resource_claim**](docs/ResourceV1alpha2Api.md#read_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name} | -*ResourceV1alpha2Api* | [**read_namespaced_resource_claim_parameters**](docs/ResourceV1alpha2Api.md#read_namespaced_resource_claim_parameters) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name} | -*ResourceV1alpha2Api* | [**read_namespaced_resource_claim_status**](docs/ResourceV1alpha2Api.md#read_namespaced_resource_claim_status) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status | -*ResourceV1alpha2Api* | [**read_namespaced_resource_claim_template**](docs/ResourceV1alpha2Api.md#read_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name} | -*ResourceV1alpha2Api* | [**read_namespaced_resource_class_parameters**](docs/ResourceV1alpha2Api.md#read_namespaced_resource_class_parameters) | **GET** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name} | -*ResourceV1alpha2Api* | [**read_resource_class**](docs/ResourceV1alpha2Api.md#read_resource_class) | **GET** /apis/resource.k8s.io/v1alpha2/resourceclasses/{name} | -*ResourceV1alpha2Api* | [**read_resource_slice**](docs/ResourceV1alpha2Api.md#read_resource_slice) | **GET** /apis/resource.k8s.io/v1alpha2/resourceslices/{name} | -*ResourceV1alpha2Api* | [**replace_namespaced_pod_scheduling_context**](docs/ResourceV1alpha2Api.md#replace_namespaced_pod_scheduling_context) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name} | -*ResourceV1alpha2Api* | [**replace_namespaced_pod_scheduling_context_status**](docs/ResourceV1alpha2Api.md#replace_namespaced_pod_scheduling_context_status) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status | -*ResourceV1alpha2Api* | [**replace_namespaced_resource_claim**](docs/ResourceV1alpha2Api.md#replace_namespaced_resource_claim) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name} | -*ResourceV1alpha2Api* | [**replace_namespaced_resource_claim_parameters**](docs/ResourceV1alpha2Api.md#replace_namespaced_resource_claim_parameters) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name} | -*ResourceV1alpha2Api* | [**replace_namespaced_resource_claim_status**](docs/ResourceV1alpha2Api.md#replace_namespaced_resource_claim_status) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status | -*ResourceV1alpha2Api* | [**replace_namespaced_resource_claim_template**](docs/ResourceV1alpha2Api.md#replace_namespaced_resource_claim_template) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name} | -*ResourceV1alpha2Api* | [**replace_namespaced_resource_class_parameters**](docs/ResourceV1alpha2Api.md#replace_namespaced_resource_class_parameters) | **PUT** /apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name} | -*ResourceV1alpha2Api* | [**replace_resource_class**](docs/ResourceV1alpha2Api.md#replace_resource_class) | **PUT** /apis/resource.k8s.io/v1alpha2/resourceclasses/{name} | -*ResourceV1alpha2Api* | [**replace_resource_slice**](docs/ResourceV1alpha2Api.md#replace_resource_slice) | **PUT** /apis/resource.k8s.io/v1alpha2/resourceslices/{name} | +*ResourceV1alpha3Api* | [**create_device_class**](docs/ResourceV1alpha3Api.md#create_device_class) | **POST** /apis/resource.k8s.io/v1alpha3/deviceclasses | +*ResourceV1alpha3Api* | [**create_namespaced_pod_scheduling_context**](docs/ResourceV1alpha3Api.md#create_namespaced_pod_scheduling_context) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts | +*ResourceV1alpha3Api* | [**create_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#create_namespaced_resource_claim) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | +*ResourceV1alpha3Api* | [**create_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#create_namespaced_resource_claim_template) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | +*ResourceV1alpha3Api* | [**create_resource_slice**](docs/ResourceV1alpha3Api.md#create_resource_slice) | **POST** /apis/resource.k8s.io/v1alpha3/resourceslices | +*ResourceV1alpha3Api* | [**delete_collection_device_class**](docs/ResourceV1alpha3Api.md#delete_collection_device_class) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses | +*ResourceV1alpha3Api* | [**delete_collection_namespaced_pod_scheduling_context**](docs/ResourceV1alpha3Api.md#delete_collection_namespaced_pod_scheduling_context) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts | +*ResourceV1alpha3Api* | [**delete_collection_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#delete_collection_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | +*ResourceV1alpha3Api* | [**delete_collection_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#delete_collection_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | +*ResourceV1alpha3Api* | [**delete_collection_resource_slice**](docs/ResourceV1alpha3Api.md#delete_collection_resource_slice) | **DELETE** /apis/resource.k8s.io/v1alpha3/resourceslices | +*ResourceV1alpha3Api* | [**delete_device_class**](docs/ResourceV1alpha3Api.md#delete_device_class) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +*ResourceV1alpha3Api* | [**delete_namespaced_pod_scheduling_context**](docs/ResourceV1alpha3Api.md#delete_namespaced_pod_scheduling_context) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name} | +*ResourceV1alpha3Api* | [**delete_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#delete_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1alpha3Api* | [**delete_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#delete_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1alpha3Api* | [**delete_resource_slice**](docs/ResourceV1alpha3Api.md#delete_resource_slice) | **DELETE** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +*ResourceV1alpha3Api* | [**get_api_resources**](docs/ResourceV1alpha3Api.md#get_api_resources) | **GET** /apis/resource.k8s.io/v1alpha3/ | +*ResourceV1alpha3Api* | [**list_device_class**](docs/ResourceV1alpha3Api.md#list_device_class) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses | +*ResourceV1alpha3Api* | [**list_namespaced_pod_scheduling_context**](docs/ResourceV1alpha3Api.md#list_namespaced_pod_scheduling_context) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts | +*ResourceV1alpha3Api* | [**list_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#list_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | +*ResourceV1alpha3Api* | [**list_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#list_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | +*ResourceV1alpha3Api* | [**list_pod_scheduling_context_for_all_namespaces**](docs/ResourceV1alpha3Api.md#list_pod_scheduling_context_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha3/podschedulingcontexts | +*ResourceV1alpha3Api* | [**list_resource_claim_for_all_namespaces**](docs/ResourceV1alpha3Api.md#list_resource_claim_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha3/resourceclaims | +*ResourceV1alpha3Api* | [**list_resource_claim_template_for_all_namespaces**](docs/ResourceV1alpha3Api.md#list_resource_claim_template_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1alpha3/resourceclaimtemplates | +*ResourceV1alpha3Api* | [**list_resource_slice**](docs/ResourceV1alpha3Api.md#list_resource_slice) | **GET** /apis/resource.k8s.io/v1alpha3/resourceslices | +*ResourceV1alpha3Api* | [**patch_device_class**](docs/ResourceV1alpha3Api.md#patch_device_class) | **PATCH** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +*ResourceV1alpha3Api* | [**patch_namespaced_pod_scheduling_context**](docs/ResourceV1alpha3Api.md#patch_namespaced_pod_scheduling_context) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name} | +*ResourceV1alpha3Api* | [**patch_namespaced_pod_scheduling_context_status**](docs/ResourceV1alpha3Api.md#patch_namespaced_pod_scheduling_context_status) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status | +*ResourceV1alpha3Api* | [**patch_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#patch_namespaced_resource_claim) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1alpha3Api* | [**patch_namespaced_resource_claim_status**](docs/ResourceV1alpha3Api.md#patch_namespaced_resource_claim_status) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | +*ResourceV1alpha3Api* | [**patch_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#patch_namespaced_resource_claim_template) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1alpha3Api* | [**patch_resource_slice**](docs/ResourceV1alpha3Api.md#patch_resource_slice) | **PATCH** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +*ResourceV1alpha3Api* | [**read_device_class**](docs/ResourceV1alpha3Api.md#read_device_class) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +*ResourceV1alpha3Api* | [**read_namespaced_pod_scheduling_context**](docs/ResourceV1alpha3Api.md#read_namespaced_pod_scheduling_context) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name} | +*ResourceV1alpha3Api* | [**read_namespaced_pod_scheduling_context_status**](docs/ResourceV1alpha3Api.md#read_namespaced_pod_scheduling_context_status) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status | +*ResourceV1alpha3Api* | [**read_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#read_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1alpha3Api* | [**read_namespaced_resource_claim_status**](docs/ResourceV1alpha3Api.md#read_namespaced_resource_claim_status) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | +*ResourceV1alpha3Api* | [**read_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#read_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1alpha3Api* | [**read_resource_slice**](docs/ResourceV1alpha3Api.md#read_resource_slice) | **GET** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +*ResourceV1alpha3Api* | [**replace_device_class**](docs/ResourceV1alpha3Api.md#replace_device_class) | **PUT** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +*ResourceV1alpha3Api* | [**replace_namespaced_pod_scheduling_context**](docs/ResourceV1alpha3Api.md#replace_namespaced_pod_scheduling_context) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name} | +*ResourceV1alpha3Api* | [**replace_namespaced_pod_scheduling_context_status**](docs/ResourceV1alpha3Api.md#replace_namespaced_pod_scheduling_context_status) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/podschedulingcontexts/{name}/status | +*ResourceV1alpha3Api* | [**replace_namespaced_resource_claim**](docs/ResourceV1alpha3Api.md#replace_namespaced_resource_claim) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1alpha3Api* | [**replace_namespaced_resource_claim_status**](docs/ResourceV1alpha3Api.md#replace_namespaced_resource_claim_status) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | +*ResourceV1alpha3Api* | [**replace_namespaced_resource_claim_template**](docs/ResourceV1alpha3Api.md#replace_namespaced_resource_claim_template) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1alpha3Api* | [**replace_resource_slice**](docs/ResourceV1alpha3Api.md#replace_resource_slice) | **PUT** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | *SchedulingApi* | [**get_api_group**](docs/SchedulingApi.md#get_api_group) | **GET** /apis/scheduling.k8s.io/ | *SchedulingV1Api* | [**create_priority_class**](docs/SchedulingV1Api.md#create_priority_class) | **POST** /apis/scheduling.k8s.io/v1/priorityclasses | *SchedulingV1Api* | [**delete_collection_priority_class**](docs/SchedulingV1Api.md#delete_collection_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1/priorityclasses | @@ -864,6 +857,14 @@ Class | Method | HTTP request | Description *StorageV1alpha1Api* | [**patch_volume_attributes_class**](docs/StorageV1alpha1Api.md#patch_volume_attributes_class) | **PATCH** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | *StorageV1alpha1Api* | [**read_volume_attributes_class**](docs/StorageV1alpha1Api.md#read_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | *StorageV1alpha1Api* | [**replace_volume_attributes_class**](docs/StorageV1alpha1Api.md#replace_volume_attributes_class) | **PUT** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | +*StorageV1beta1Api* | [**create_volume_attributes_class**](docs/StorageV1beta1Api.md#create_volume_attributes_class) | **POST** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | +*StorageV1beta1Api* | [**delete_collection_volume_attributes_class**](docs/StorageV1beta1Api.md#delete_collection_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | +*StorageV1beta1Api* | [**delete_volume_attributes_class**](docs/StorageV1beta1Api.md#delete_volume_attributes_class) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | +*StorageV1beta1Api* | [**get_api_resources**](docs/StorageV1beta1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1beta1/ | +*StorageV1beta1Api* | [**list_volume_attributes_class**](docs/StorageV1beta1Api.md#list_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | +*StorageV1beta1Api* | [**patch_volume_attributes_class**](docs/StorageV1beta1Api.md#patch_volume_attributes_class) | **PATCH** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | +*StorageV1beta1Api* | [**read_volume_attributes_class**](docs/StorageV1beta1Api.md#read_volume_attributes_class) | **GET** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | +*StorageV1beta1Api* | [**replace_volume_attributes_class**](docs/StorageV1beta1Api.md#replace_volume_attributes_class) | **PUT** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | *StoragemigrationApi* | [**get_api_group**](docs/StoragemigrationApi.md#get_api_group) | **GET** /apis/storagemigration.k8s.io/ | *StoragemigrationV1alpha1Api* | [**create_storage_version_migration**](docs/StoragemigrationV1alpha1Api.md#create_storage_version_migration) | **POST** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations | *StoragemigrationV1alpha1Api* | [**delete_collection_storage_version_migration**](docs/StoragemigrationV1alpha1Api.md#delete_collection_storage_version_migration) | **DELETE** /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations | @@ -940,7 +941,6 @@ Class | Method | HTTP request | Description - [V1CertificateSigningRequestStatus](docs/V1CertificateSigningRequestStatus.md) - [V1CinderPersistentVolumeSource](docs/V1CinderPersistentVolumeSource.md) - [V1CinderVolumeSource](docs/V1CinderVolumeSource.md) - - [V1ClaimSource](docs/V1ClaimSource.md) - [V1ClientIPConfig](docs/V1ClientIPConfig.md) - [V1ClusterRole](docs/V1ClusterRole.md) - [V1ClusterRoleBinding](docs/V1ClusterRoleBinding.md) @@ -967,6 +967,7 @@ Class | Method | HTTP request | Description - [V1ContainerStateTerminated](docs/V1ContainerStateTerminated.md) - [V1ContainerStateWaiting](docs/V1ContainerStateWaiting.md) - [V1ContainerStatus](docs/V1ContainerStatus.md) + - [V1ContainerUser](docs/V1ContainerUser.md) - [V1ControllerRevision](docs/V1ControllerRevision.md) - [V1ControllerRevisionList](docs/V1ControllerRevisionList.md) - [V1CronJob](docs/V1CronJob.md) @@ -1025,6 +1026,8 @@ Class | Method | HTTP request | Description - [V1ExpressionWarning](docs/V1ExpressionWarning.md) - [V1ExternalDocumentation](docs/V1ExternalDocumentation.md) - [V1FCVolumeSource](docs/V1FCVolumeSource.md) + - [V1FieldSelectorAttributes](docs/V1FieldSelectorAttributes.md) + - [V1FieldSelectorRequirement](docs/V1FieldSelectorRequirement.md) - [V1FlexPersistentVolumeSource](docs/V1FlexPersistentVolumeSource.md) - [V1FlexVolumeSource](docs/V1FlexVolumeSource.md) - [V1FlockerVolumeSource](docs/V1FlockerVolumeSource.md) @@ -1056,6 +1059,7 @@ Class | Method | HTTP request | Description - [V1IPBlock](docs/V1IPBlock.md) - [V1ISCSIPersistentVolumeSource](docs/V1ISCSIPersistentVolumeSource.md) - [V1ISCSIVolumeSource](docs/V1ISCSIVolumeSource.md) + - [V1ImageVolumeSource](docs/V1ImageVolumeSource.md) - [V1Ingress](docs/V1Ingress.md) - [V1IngressBackend](docs/V1IngressBackend.md) - [V1IngressClass](docs/V1IngressClass.md) @@ -1080,6 +1084,7 @@ Class | Method | HTTP request | Description - [V1JobTemplateSpec](docs/V1JobTemplateSpec.md) - [V1KeyToPath](docs/V1KeyToPath.md) - [V1LabelSelector](docs/V1LabelSelector.md) + - [V1LabelSelectorAttributes](docs/V1LabelSelectorAttributes.md) - [V1LabelSelectorRequirement](docs/V1LabelSelectorRequirement.md) - [V1Lease](docs/V1Lease.md) - [V1LeaseList](docs/V1LeaseList.md) @@ -1092,6 +1097,7 @@ Class | Method | HTTP request | Description - [V1LimitRangeSpec](docs/V1LimitRangeSpec.md) - [V1LimitResponse](docs/V1LimitResponse.md) - [V1LimitedPriorityLevelConfiguration](docs/V1LimitedPriorityLevelConfiguration.md) + - [V1LinuxContainerUser](docs/V1LinuxContainerUser.md) - [V1ListMeta](docs/V1ListMeta.md) - [V1LoadBalancerIngress](docs/V1LoadBalancerIngress.md) - [V1LoadBalancerStatus](docs/V1LoadBalancerStatus.md) @@ -1126,6 +1132,7 @@ Class | Method | HTTP request | Description - [V1NodeConfigSource](docs/V1NodeConfigSource.md) - [V1NodeConfigStatus](docs/V1NodeConfigStatus.md) - [V1NodeDaemonEndpoints](docs/V1NodeDaemonEndpoints.md) + - [V1NodeFeatures](docs/V1NodeFeatures.md) - [V1NodeList](docs/V1NodeList.md) - [V1NodeRuntimeHandler](docs/V1NodeRuntimeHandler.md) - [V1NodeRuntimeHandlerFeatures](docs/V1NodeRuntimeHandlerFeatures.md) @@ -1218,6 +1225,7 @@ Class | Method | HTTP request | Description - [V1ResourceAttributes](docs/V1ResourceAttributes.md) - [V1ResourceClaim](docs/V1ResourceClaim.md) - [V1ResourceFieldSelector](docs/V1ResourceFieldSelector.md) + - [V1ResourceHealth](docs/V1ResourceHealth.md) - [V1ResourcePolicyRule](docs/V1ResourcePolicyRule.md) - [V1ResourceQuota](docs/V1ResourceQuota.md) - [V1ResourceQuotaList](docs/V1ResourceQuotaList.md) @@ -1225,6 +1233,7 @@ Class | Method | HTTP request | Description - [V1ResourceQuotaStatus](docs/V1ResourceQuotaStatus.md) - [V1ResourceRequirements](docs/V1ResourceRequirements.md) - [V1ResourceRule](docs/V1ResourceRule.md) + - [V1ResourceStatus](docs/V1ResourceStatus.md) - [V1Role](docs/V1Role.md) - [V1RoleBinding](docs/V1RoleBinding.md) - [V1RoleBindingList](docs/V1RoleBindingList.md) @@ -1351,23 +1360,18 @@ Class | Method | HTTP request | Description - [V1alpha1ClusterTrustBundleSpec](docs/V1alpha1ClusterTrustBundleSpec.md) - [V1alpha1ExpressionWarning](docs/V1alpha1ExpressionWarning.md) - [V1alpha1GroupVersionResource](docs/V1alpha1GroupVersionResource.md) - - [V1alpha1IPAddress](docs/V1alpha1IPAddress.md) - - [V1alpha1IPAddressList](docs/V1alpha1IPAddressList.md) - - [V1alpha1IPAddressSpec](docs/V1alpha1IPAddressSpec.md) + - [V1alpha1LeaseCandidate](docs/V1alpha1LeaseCandidate.md) + - [V1alpha1LeaseCandidateList](docs/V1alpha1LeaseCandidateList.md) + - [V1alpha1LeaseCandidateSpec](docs/V1alpha1LeaseCandidateSpec.md) - [V1alpha1MatchCondition](docs/V1alpha1MatchCondition.md) - [V1alpha1MatchResources](docs/V1alpha1MatchResources.md) - [V1alpha1MigrationCondition](docs/V1alpha1MigrationCondition.md) - [V1alpha1NamedRuleWithOperations](docs/V1alpha1NamedRuleWithOperations.md) - [V1alpha1ParamKind](docs/V1alpha1ParamKind.md) - [V1alpha1ParamRef](docs/V1alpha1ParamRef.md) - - [V1alpha1ParentReference](docs/V1alpha1ParentReference.md) - [V1alpha1SelfSubjectReview](docs/V1alpha1SelfSubjectReview.md) - [V1alpha1SelfSubjectReviewStatus](docs/V1alpha1SelfSubjectReviewStatus.md) - [V1alpha1ServerStorageVersion](docs/V1alpha1ServerStorageVersion.md) - - [V1alpha1ServiceCIDR](docs/V1alpha1ServiceCIDR.md) - - [V1alpha1ServiceCIDRList](docs/V1alpha1ServiceCIDRList.md) - - [V1alpha1ServiceCIDRSpec](docs/V1alpha1ServiceCIDRSpec.md) - - [V1alpha1ServiceCIDRStatus](docs/V1alpha1ServiceCIDRStatus.md) - [V1alpha1StorageVersion](docs/V1alpha1StorageVersion.md) - [V1alpha1StorageVersionCondition](docs/V1alpha1StorageVersionCondition.md) - [V1alpha1StorageVersionList](docs/V1alpha1StorageVersionList.md) @@ -1388,54 +1392,58 @@ Class | Method | HTTP request | Description - [V1alpha1Variable](docs/V1alpha1Variable.md) - [V1alpha1VolumeAttributesClass](docs/V1alpha1VolumeAttributesClass.md) - [V1alpha1VolumeAttributesClassList](docs/V1alpha1VolumeAttributesClassList.md) - - [V1alpha2AllocationResult](docs/V1alpha2AllocationResult.md) - - [V1alpha2DriverAllocationResult](docs/V1alpha2DriverAllocationResult.md) - - [V1alpha2DriverRequests](docs/V1alpha2DriverRequests.md) - - [V1alpha2NamedResourcesAllocationResult](docs/V1alpha2NamedResourcesAllocationResult.md) - - [V1alpha2NamedResourcesAttribute](docs/V1alpha2NamedResourcesAttribute.md) - - [V1alpha2NamedResourcesFilter](docs/V1alpha2NamedResourcesFilter.md) - - [V1alpha2NamedResourcesInstance](docs/V1alpha2NamedResourcesInstance.md) - - [V1alpha2NamedResourcesIntSlice](docs/V1alpha2NamedResourcesIntSlice.md) - - [V1alpha2NamedResourcesRequest](docs/V1alpha2NamedResourcesRequest.md) - - [V1alpha2NamedResourcesResources](docs/V1alpha2NamedResourcesResources.md) - - [V1alpha2NamedResourcesStringSlice](docs/V1alpha2NamedResourcesStringSlice.md) - - [V1alpha2PodSchedulingContext](docs/V1alpha2PodSchedulingContext.md) - - [V1alpha2PodSchedulingContextList](docs/V1alpha2PodSchedulingContextList.md) - - [V1alpha2PodSchedulingContextSpec](docs/V1alpha2PodSchedulingContextSpec.md) - - [V1alpha2PodSchedulingContextStatus](docs/V1alpha2PodSchedulingContextStatus.md) - - [V1alpha2ResourceClaim](docs/V1alpha2ResourceClaim.md) - - [V1alpha2ResourceClaimConsumerReference](docs/V1alpha2ResourceClaimConsumerReference.md) - - [V1alpha2ResourceClaimList](docs/V1alpha2ResourceClaimList.md) - - [V1alpha2ResourceClaimParameters](docs/V1alpha2ResourceClaimParameters.md) - - [V1alpha2ResourceClaimParametersList](docs/V1alpha2ResourceClaimParametersList.md) - - [V1alpha2ResourceClaimParametersReference](docs/V1alpha2ResourceClaimParametersReference.md) - - [V1alpha2ResourceClaimSchedulingStatus](docs/V1alpha2ResourceClaimSchedulingStatus.md) - - [V1alpha2ResourceClaimSpec](docs/V1alpha2ResourceClaimSpec.md) - - [V1alpha2ResourceClaimStatus](docs/V1alpha2ResourceClaimStatus.md) - - [V1alpha2ResourceClaimTemplate](docs/V1alpha2ResourceClaimTemplate.md) - - [V1alpha2ResourceClaimTemplateList](docs/V1alpha2ResourceClaimTemplateList.md) - - [V1alpha2ResourceClaimTemplateSpec](docs/V1alpha2ResourceClaimTemplateSpec.md) - - [V1alpha2ResourceClass](docs/V1alpha2ResourceClass.md) - - [V1alpha2ResourceClassList](docs/V1alpha2ResourceClassList.md) - - [V1alpha2ResourceClassParameters](docs/V1alpha2ResourceClassParameters.md) - - [V1alpha2ResourceClassParametersList](docs/V1alpha2ResourceClassParametersList.md) - - [V1alpha2ResourceClassParametersReference](docs/V1alpha2ResourceClassParametersReference.md) - - [V1alpha2ResourceFilter](docs/V1alpha2ResourceFilter.md) - - [V1alpha2ResourceHandle](docs/V1alpha2ResourceHandle.md) - - [V1alpha2ResourceRequest](docs/V1alpha2ResourceRequest.md) - - [V1alpha2ResourceSlice](docs/V1alpha2ResourceSlice.md) - - [V1alpha2ResourceSliceList](docs/V1alpha2ResourceSliceList.md) - - [V1alpha2StructuredResourceHandle](docs/V1alpha2StructuredResourceHandle.md) - - [V1alpha2VendorParameters](docs/V1alpha2VendorParameters.md) + - [V1alpha3AllocationResult](docs/V1alpha3AllocationResult.md) + - [V1alpha3BasicDevice](docs/V1alpha3BasicDevice.md) + - [V1alpha3CELDeviceSelector](docs/V1alpha3CELDeviceSelector.md) + - [V1alpha3Device](docs/V1alpha3Device.md) + - [V1alpha3DeviceAllocationConfiguration](docs/V1alpha3DeviceAllocationConfiguration.md) + - [V1alpha3DeviceAllocationResult](docs/V1alpha3DeviceAllocationResult.md) + - [V1alpha3DeviceAttribute](docs/V1alpha3DeviceAttribute.md) + - [V1alpha3DeviceClaim](docs/V1alpha3DeviceClaim.md) + - [V1alpha3DeviceClaimConfiguration](docs/V1alpha3DeviceClaimConfiguration.md) + - [V1alpha3DeviceClass](docs/V1alpha3DeviceClass.md) + - [V1alpha3DeviceClassConfiguration](docs/V1alpha3DeviceClassConfiguration.md) + - [V1alpha3DeviceClassList](docs/V1alpha3DeviceClassList.md) + - [V1alpha3DeviceClassSpec](docs/V1alpha3DeviceClassSpec.md) + - [V1alpha3DeviceConstraint](docs/V1alpha3DeviceConstraint.md) + - [V1alpha3DeviceRequest](docs/V1alpha3DeviceRequest.md) + - [V1alpha3DeviceRequestAllocationResult](docs/V1alpha3DeviceRequestAllocationResult.md) + - [V1alpha3DeviceSelector](docs/V1alpha3DeviceSelector.md) + - [V1alpha3OpaqueDeviceConfiguration](docs/V1alpha3OpaqueDeviceConfiguration.md) + - [V1alpha3PodSchedulingContext](docs/V1alpha3PodSchedulingContext.md) + - [V1alpha3PodSchedulingContextList](docs/V1alpha3PodSchedulingContextList.md) + - [V1alpha3PodSchedulingContextSpec](docs/V1alpha3PodSchedulingContextSpec.md) + - [V1alpha3PodSchedulingContextStatus](docs/V1alpha3PodSchedulingContextStatus.md) + - [V1alpha3ResourceClaim](docs/V1alpha3ResourceClaim.md) + - [V1alpha3ResourceClaimConsumerReference](docs/V1alpha3ResourceClaimConsumerReference.md) + - [V1alpha3ResourceClaimList](docs/V1alpha3ResourceClaimList.md) + - [V1alpha3ResourceClaimSchedulingStatus](docs/V1alpha3ResourceClaimSchedulingStatus.md) + - [V1alpha3ResourceClaimSpec](docs/V1alpha3ResourceClaimSpec.md) + - [V1alpha3ResourceClaimStatus](docs/V1alpha3ResourceClaimStatus.md) + - [V1alpha3ResourceClaimTemplate](docs/V1alpha3ResourceClaimTemplate.md) + - [V1alpha3ResourceClaimTemplateList](docs/V1alpha3ResourceClaimTemplateList.md) + - [V1alpha3ResourceClaimTemplateSpec](docs/V1alpha3ResourceClaimTemplateSpec.md) + - [V1alpha3ResourcePool](docs/V1alpha3ResourcePool.md) + - [V1alpha3ResourceSlice](docs/V1alpha3ResourceSlice.md) + - [V1alpha3ResourceSliceList](docs/V1alpha3ResourceSliceList.md) + - [V1alpha3ResourceSliceSpec](docs/V1alpha3ResourceSliceSpec.md) - [V1beta1AuditAnnotation](docs/V1beta1AuditAnnotation.md) - [V1beta1ExpressionWarning](docs/V1beta1ExpressionWarning.md) + - [V1beta1IPAddress](docs/V1beta1IPAddress.md) + - [V1beta1IPAddressList](docs/V1beta1IPAddressList.md) + - [V1beta1IPAddressSpec](docs/V1beta1IPAddressSpec.md) - [V1beta1MatchCondition](docs/V1beta1MatchCondition.md) - [V1beta1MatchResources](docs/V1beta1MatchResources.md) - [V1beta1NamedRuleWithOperations](docs/V1beta1NamedRuleWithOperations.md) - [V1beta1ParamKind](docs/V1beta1ParamKind.md) - [V1beta1ParamRef](docs/V1beta1ParamRef.md) + - [V1beta1ParentReference](docs/V1beta1ParentReference.md) - [V1beta1SelfSubjectReview](docs/V1beta1SelfSubjectReview.md) - [V1beta1SelfSubjectReviewStatus](docs/V1beta1SelfSubjectReviewStatus.md) + - [V1beta1ServiceCIDR](docs/V1beta1ServiceCIDR.md) + - [V1beta1ServiceCIDRList](docs/V1beta1ServiceCIDRList.md) + - [V1beta1ServiceCIDRSpec](docs/V1beta1ServiceCIDRSpec.md) + - [V1beta1ServiceCIDRStatus](docs/V1beta1ServiceCIDRStatus.md) - [V1beta1TypeChecking](docs/V1beta1TypeChecking.md) - [V1beta1ValidatingAdmissionPolicy](docs/V1beta1ValidatingAdmissionPolicy.md) - [V1beta1ValidatingAdmissionPolicyBinding](docs/V1beta1ValidatingAdmissionPolicyBinding.md) @@ -1446,6 +1454,8 @@ Class | Method | HTTP request | Description - [V1beta1ValidatingAdmissionPolicyStatus](docs/V1beta1ValidatingAdmissionPolicyStatus.md) - [V1beta1Validation](docs/V1beta1Validation.md) - [V1beta1Variable](docs/V1beta1Variable.md) + - [V1beta1VolumeAttributesClass](docs/V1beta1VolumeAttributesClass.md) + - [V1beta1VolumeAttributesClassList](docs/V1beta1VolumeAttributesClassList.md) - [V1beta3ExemptPriorityLevelConfiguration](docs/V1beta3ExemptPriorityLevelConfiguration.md) - [V1beta3FlowDistinguisherMethod](docs/V1beta3FlowDistinguisherMethod.md) - [V1beta3FlowSchema](docs/V1beta3FlowSchema.md) diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 68c026004..f0af5a264 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "30.0.0+snapshot" +__version__ = "31.0.0+snapshot" from . import client from . import config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 1b6c67d09..eb8edcc8a 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -7,14 +7,14 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import -__version__ = "30.0.0+snapshot" +__version__ = "31.0.0+snapshot" # import apis into sdk package from kubernetes.client.api.well_known_api import WellKnownApi @@ -45,6 +45,7 @@ from kubernetes.client.api.certificates_v1_api import CertificatesV1Api from kubernetes.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api from kubernetes.client.api.coordination_api import CoordinationApi from kubernetes.client.api.coordination_v1_api import CoordinationV1Api +from kubernetes.client.api.coordination_v1alpha1_api import CoordinationV1alpha1Api from kubernetes.client.api.core_api import CoreApi from kubernetes.client.api.core_v1_api import CoreV1Api from kubernetes.client.api.custom_objects_api import CustomObjectsApi @@ -60,7 +61,7 @@ from kubernetes.client.api.internal_apiserver_v1alpha1_api import InternalApiser from kubernetes.client.api.logs_api import LogsApi from kubernetes.client.api.networking_api import NetworkingApi from kubernetes.client.api.networking_v1_api import NetworkingV1Api -from kubernetes.client.api.networking_v1alpha1_api import NetworkingV1alpha1Api +from kubernetes.client.api.networking_v1beta1_api import NetworkingV1beta1Api from kubernetes.client.api.node_api import NodeApi from kubernetes.client.api.node_v1_api import NodeV1Api from kubernetes.client.api.openid_api import OpenidApi @@ -69,12 +70,13 @@ from kubernetes.client.api.policy_v1_api import PolicyV1Api from kubernetes.client.api.rbac_authorization_api import RbacAuthorizationApi from kubernetes.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api from kubernetes.client.api.resource_api import ResourceApi -from kubernetes.client.api.resource_v1alpha2_api import ResourceV1alpha2Api +from kubernetes.client.api.resource_v1alpha3_api import ResourceV1alpha3Api from kubernetes.client.api.scheduling_api import SchedulingApi from kubernetes.client.api.scheduling_v1_api import SchedulingV1Api from kubernetes.client.api.storage_api import StorageApi from kubernetes.client.api.storage_v1_api import StorageV1Api from kubernetes.client.api.storage_v1alpha1_api import StorageV1alpha1Api +from kubernetes.client.api.storage_v1beta1_api import StorageV1beta1Api from kubernetes.client.api.storagemigration_api import StoragemigrationApi from kubernetes.client.api.storagemigration_v1alpha1_api import StoragemigrationV1alpha1Api from kubernetes.client.api.version_api import VersionApi @@ -147,7 +149,6 @@ from kubernetes.client.models.v1_certificate_signing_request_spec import V1Certi from kubernetes.client.models.v1_certificate_signing_request_status import V1CertificateSigningRequestStatus from kubernetes.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource from kubernetes.client.models.v1_cinder_volume_source import V1CinderVolumeSource -from kubernetes.client.models.v1_claim_source import V1ClaimSource from kubernetes.client.models.v1_client_ip_config import V1ClientIPConfig from kubernetes.client.models.v1_cluster_role import V1ClusterRole from kubernetes.client.models.v1_cluster_role_binding import V1ClusterRoleBinding @@ -174,6 +175,7 @@ from kubernetes.client.models.v1_container_state_running import V1ContainerState from kubernetes.client.models.v1_container_state_terminated import V1ContainerStateTerminated from kubernetes.client.models.v1_container_state_waiting import V1ContainerStateWaiting from kubernetes.client.models.v1_container_status import V1ContainerStatus +from kubernetes.client.models.v1_container_user import V1ContainerUser from kubernetes.client.models.v1_controller_revision import V1ControllerRevision from kubernetes.client.models.v1_controller_revision_list import V1ControllerRevisionList from kubernetes.client.models.v1_cron_job import V1CronJob @@ -232,6 +234,8 @@ from kubernetes.client.models.v1_exempt_priority_level_configuration import V1Ex from kubernetes.client.models.v1_expression_warning import V1ExpressionWarning from kubernetes.client.models.v1_external_documentation import V1ExternalDocumentation from kubernetes.client.models.v1_fc_volume_source import V1FCVolumeSource +from kubernetes.client.models.v1_field_selector_attributes import V1FieldSelectorAttributes +from kubernetes.client.models.v1_field_selector_requirement import V1FieldSelectorRequirement from kubernetes.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource @@ -263,6 +267,7 @@ from kubernetes.client.models.v1_host_path_volume_source import V1HostPathVolume from kubernetes.client.models.v1_ip_block import V1IPBlock from kubernetes.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource from kubernetes.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource +from kubernetes.client.models.v1_image_volume_source import V1ImageVolumeSource from kubernetes.client.models.v1_ingress import V1Ingress from kubernetes.client.models.v1_ingress_backend import V1IngressBackend from kubernetes.client.models.v1_ingress_class import V1IngressClass @@ -287,6 +292,7 @@ from kubernetes.client.models.v1_job_status import V1JobStatus from kubernetes.client.models.v1_job_template_spec import V1JobTemplateSpec from kubernetes.client.models.v1_key_to_path import V1KeyToPath from kubernetes.client.models.v1_label_selector import V1LabelSelector +from kubernetes.client.models.v1_label_selector_attributes import V1LabelSelectorAttributes from kubernetes.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement from kubernetes.client.models.v1_lease import V1Lease from kubernetes.client.models.v1_lease_list import V1LeaseList @@ -299,6 +305,7 @@ from kubernetes.client.models.v1_limit_range_list import V1LimitRangeList from kubernetes.client.models.v1_limit_range_spec import V1LimitRangeSpec from kubernetes.client.models.v1_limit_response import V1LimitResponse from kubernetes.client.models.v1_limited_priority_level_configuration import V1LimitedPriorityLevelConfiguration +from kubernetes.client.models.v1_linux_container_user import V1LinuxContainerUser from kubernetes.client.models.v1_list_meta import V1ListMeta from kubernetes.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress from kubernetes.client.models.v1_load_balancer_status import V1LoadBalancerStatus @@ -333,6 +340,7 @@ from kubernetes.client.models.v1_node_condition import V1NodeCondition from kubernetes.client.models.v1_node_config_source import V1NodeConfigSource from kubernetes.client.models.v1_node_config_status import V1NodeConfigStatus from kubernetes.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints +from kubernetes.client.models.v1_node_features import V1NodeFeatures from kubernetes.client.models.v1_node_list import V1NodeList from kubernetes.client.models.v1_node_runtime_handler import V1NodeRuntimeHandler from kubernetes.client.models.v1_node_runtime_handler_features import V1NodeRuntimeHandlerFeatures @@ -425,6 +433,7 @@ from kubernetes.client.models.v1_replication_controller_status import V1Replicat from kubernetes.client.models.v1_resource_attributes import V1ResourceAttributes from kubernetes.client.models.v1_resource_claim import V1ResourceClaim from kubernetes.client.models.v1_resource_field_selector import V1ResourceFieldSelector +from kubernetes.client.models.v1_resource_health import V1ResourceHealth from kubernetes.client.models.v1_resource_policy_rule import V1ResourcePolicyRule from kubernetes.client.models.v1_resource_quota import V1ResourceQuota from kubernetes.client.models.v1_resource_quota_list import V1ResourceQuotaList @@ -432,6 +441,7 @@ from kubernetes.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec from kubernetes.client.models.v1_resource_quota_status import V1ResourceQuotaStatus from kubernetes.client.models.v1_resource_requirements import V1ResourceRequirements from kubernetes.client.models.v1_resource_rule import V1ResourceRule +from kubernetes.client.models.v1_resource_status import V1ResourceStatus from kubernetes.client.models.v1_role import V1Role from kubernetes.client.models.v1_role_binding import V1RoleBinding from kubernetes.client.models.v1_role_binding_list import V1RoleBindingList @@ -558,23 +568,18 @@ from kubernetes.client.models.v1alpha1_cluster_trust_bundle_list import V1alpha1 from kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec import V1alpha1ClusterTrustBundleSpec from kubernetes.client.models.v1alpha1_expression_warning import V1alpha1ExpressionWarning from kubernetes.client.models.v1alpha1_group_version_resource import V1alpha1GroupVersionResource -from kubernetes.client.models.v1alpha1_ip_address import V1alpha1IPAddress -from kubernetes.client.models.v1alpha1_ip_address_list import V1alpha1IPAddressList -from kubernetes.client.models.v1alpha1_ip_address_spec import V1alpha1IPAddressSpec +from kubernetes.client.models.v1alpha1_lease_candidate import V1alpha1LeaseCandidate +from kubernetes.client.models.v1alpha1_lease_candidate_list import V1alpha1LeaseCandidateList +from kubernetes.client.models.v1alpha1_lease_candidate_spec import V1alpha1LeaseCandidateSpec from kubernetes.client.models.v1alpha1_match_condition import V1alpha1MatchCondition from kubernetes.client.models.v1alpha1_match_resources import V1alpha1MatchResources from kubernetes.client.models.v1alpha1_migration_condition import V1alpha1MigrationCondition from kubernetes.client.models.v1alpha1_named_rule_with_operations import V1alpha1NamedRuleWithOperations from kubernetes.client.models.v1alpha1_param_kind import V1alpha1ParamKind from kubernetes.client.models.v1alpha1_param_ref import V1alpha1ParamRef -from kubernetes.client.models.v1alpha1_parent_reference import V1alpha1ParentReference from kubernetes.client.models.v1alpha1_self_subject_review import V1alpha1SelfSubjectReview from kubernetes.client.models.v1alpha1_self_subject_review_status import V1alpha1SelfSubjectReviewStatus from kubernetes.client.models.v1alpha1_server_storage_version import V1alpha1ServerStorageVersion -from kubernetes.client.models.v1alpha1_service_cidr import V1alpha1ServiceCIDR -from kubernetes.client.models.v1alpha1_service_cidr_list import V1alpha1ServiceCIDRList -from kubernetes.client.models.v1alpha1_service_cidr_spec import V1alpha1ServiceCIDRSpec -from kubernetes.client.models.v1alpha1_service_cidr_status import V1alpha1ServiceCIDRStatus from kubernetes.client.models.v1alpha1_storage_version import V1alpha1StorageVersion from kubernetes.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition from kubernetes.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList @@ -595,54 +600,58 @@ from kubernetes.client.models.v1alpha1_validation import V1alpha1Validation from kubernetes.client.models.v1alpha1_variable import V1alpha1Variable from kubernetes.client.models.v1alpha1_volume_attributes_class import V1alpha1VolumeAttributesClass from kubernetes.client.models.v1alpha1_volume_attributes_class_list import V1alpha1VolumeAttributesClassList -from kubernetes.client.models.v1alpha2_allocation_result import V1alpha2AllocationResult -from kubernetes.client.models.v1alpha2_driver_allocation_result import V1alpha2DriverAllocationResult -from kubernetes.client.models.v1alpha2_driver_requests import V1alpha2DriverRequests -from kubernetes.client.models.v1alpha2_named_resources_allocation_result import V1alpha2NamedResourcesAllocationResult -from kubernetes.client.models.v1alpha2_named_resources_attribute import V1alpha2NamedResourcesAttribute -from kubernetes.client.models.v1alpha2_named_resources_filter import V1alpha2NamedResourcesFilter -from kubernetes.client.models.v1alpha2_named_resources_instance import V1alpha2NamedResourcesInstance -from kubernetes.client.models.v1alpha2_named_resources_int_slice import V1alpha2NamedResourcesIntSlice -from kubernetes.client.models.v1alpha2_named_resources_request import V1alpha2NamedResourcesRequest -from kubernetes.client.models.v1alpha2_named_resources_resources import V1alpha2NamedResourcesResources -from kubernetes.client.models.v1alpha2_named_resources_string_slice import V1alpha2NamedResourcesStringSlice -from kubernetes.client.models.v1alpha2_pod_scheduling_context import V1alpha2PodSchedulingContext -from kubernetes.client.models.v1alpha2_pod_scheduling_context_list import V1alpha2PodSchedulingContextList -from kubernetes.client.models.v1alpha2_pod_scheduling_context_spec import V1alpha2PodSchedulingContextSpec -from kubernetes.client.models.v1alpha2_pod_scheduling_context_status import V1alpha2PodSchedulingContextStatus -from kubernetes.client.models.v1alpha2_resource_claim import V1alpha2ResourceClaim -from kubernetes.client.models.v1alpha2_resource_claim_consumer_reference import V1alpha2ResourceClaimConsumerReference -from kubernetes.client.models.v1alpha2_resource_claim_list import V1alpha2ResourceClaimList -from kubernetes.client.models.v1alpha2_resource_claim_parameters import V1alpha2ResourceClaimParameters -from kubernetes.client.models.v1alpha2_resource_claim_parameters_list import V1alpha2ResourceClaimParametersList -from kubernetes.client.models.v1alpha2_resource_claim_parameters_reference import V1alpha2ResourceClaimParametersReference -from kubernetes.client.models.v1alpha2_resource_claim_scheduling_status import V1alpha2ResourceClaimSchedulingStatus -from kubernetes.client.models.v1alpha2_resource_claim_spec import V1alpha2ResourceClaimSpec -from kubernetes.client.models.v1alpha2_resource_claim_status import V1alpha2ResourceClaimStatus -from kubernetes.client.models.v1alpha2_resource_claim_template import V1alpha2ResourceClaimTemplate -from kubernetes.client.models.v1alpha2_resource_claim_template_list import V1alpha2ResourceClaimTemplateList -from kubernetes.client.models.v1alpha2_resource_claim_template_spec import V1alpha2ResourceClaimTemplateSpec -from kubernetes.client.models.v1alpha2_resource_class import V1alpha2ResourceClass -from kubernetes.client.models.v1alpha2_resource_class_list import V1alpha2ResourceClassList -from kubernetes.client.models.v1alpha2_resource_class_parameters import V1alpha2ResourceClassParameters -from kubernetes.client.models.v1alpha2_resource_class_parameters_list import V1alpha2ResourceClassParametersList -from kubernetes.client.models.v1alpha2_resource_class_parameters_reference import V1alpha2ResourceClassParametersReference -from kubernetes.client.models.v1alpha2_resource_filter import V1alpha2ResourceFilter -from kubernetes.client.models.v1alpha2_resource_handle import V1alpha2ResourceHandle -from kubernetes.client.models.v1alpha2_resource_request import V1alpha2ResourceRequest -from kubernetes.client.models.v1alpha2_resource_slice import V1alpha2ResourceSlice -from kubernetes.client.models.v1alpha2_resource_slice_list import V1alpha2ResourceSliceList -from kubernetes.client.models.v1alpha2_structured_resource_handle import V1alpha2StructuredResourceHandle -from kubernetes.client.models.v1alpha2_vendor_parameters import V1alpha2VendorParameters +from kubernetes.client.models.v1alpha3_allocation_result import V1alpha3AllocationResult +from kubernetes.client.models.v1alpha3_basic_device import V1alpha3BasicDevice +from kubernetes.client.models.v1alpha3_cel_device_selector import V1alpha3CELDeviceSelector +from kubernetes.client.models.v1alpha3_device import V1alpha3Device +from kubernetes.client.models.v1alpha3_device_allocation_configuration import V1alpha3DeviceAllocationConfiguration +from kubernetes.client.models.v1alpha3_device_allocation_result import V1alpha3DeviceAllocationResult +from kubernetes.client.models.v1alpha3_device_attribute import V1alpha3DeviceAttribute +from kubernetes.client.models.v1alpha3_device_claim import V1alpha3DeviceClaim +from kubernetes.client.models.v1alpha3_device_claim_configuration import V1alpha3DeviceClaimConfiguration +from kubernetes.client.models.v1alpha3_device_class import V1alpha3DeviceClass +from kubernetes.client.models.v1alpha3_device_class_configuration import V1alpha3DeviceClassConfiguration +from kubernetes.client.models.v1alpha3_device_class_list import V1alpha3DeviceClassList +from kubernetes.client.models.v1alpha3_device_class_spec import V1alpha3DeviceClassSpec +from kubernetes.client.models.v1alpha3_device_constraint import V1alpha3DeviceConstraint +from kubernetes.client.models.v1alpha3_device_request import V1alpha3DeviceRequest +from kubernetes.client.models.v1alpha3_device_request_allocation_result import V1alpha3DeviceRequestAllocationResult +from kubernetes.client.models.v1alpha3_device_selector import V1alpha3DeviceSelector +from kubernetes.client.models.v1alpha3_opaque_device_configuration import V1alpha3OpaqueDeviceConfiguration +from kubernetes.client.models.v1alpha3_pod_scheduling_context import V1alpha3PodSchedulingContext +from kubernetes.client.models.v1alpha3_pod_scheduling_context_list import V1alpha3PodSchedulingContextList +from kubernetes.client.models.v1alpha3_pod_scheduling_context_spec import V1alpha3PodSchedulingContextSpec +from kubernetes.client.models.v1alpha3_pod_scheduling_context_status import V1alpha3PodSchedulingContextStatus +from kubernetes.client.models.v1alpha3_resource_claim import V1alpha3ResourceClaim +from kubernetes.client.models.v1alpha3_resource_claim_consumer_reference import V1alpha3ResourceClaimConsumerReference +from kubernetes.client.models.v1alpha3_resource_claim_list import V1alpha3ResourceClaimList +from kubernetes.client.models.v1alpha3_resource_claim_scheduling_status import V1alpha3ResourceClaimSchedulingStatus +from kubernetes.client.models.v1alpha3_resource_claim_spec import V1alpha3ResourceClaimSpec +from kubernetes.client.models.v1alpha3_resource_claim_status import V1alpha3ResourceClaimStatus +from kubernetes.client.models.v1alpha3_resource_claim_template import V1alpha3ResourceClaimTemplate +from kubernetes.client.models.v1alpha3_resource_claim_template_list import V1alpha3ResourceClaimTemplateList +from kubernetes.client.models.v1alpha3_resource_claim_template_spec import V1alpha3ResourceClaimTemplateSpec +from kubernetes.client.models.v1alpha3_resource_pool import V1alpha3ResourcePool +from kubernetes.client.models.v1alpha3_resource_slice import V1alpha3ResourceSlice +from kubernetes.client.models.v1alpha3_resource_slice_list import V1alpha3ResourceSliceList +from kubernetes.client.models.v1alpha3_resource_slice_spec import V1alpha3ResourceSliceSpec from kubernetes.client.models.v1beta1_audit_annotation import V1beta1AuditAnnotation from kubernetes.client.models.v1beta1_expression_warning import V1beta1ExpressionWarning +from kubernetes.client.models.v1beta1_ip_address import V1beta1IPAddress +from kubernetes.client.models.v1beta1_ip_address_list import V1beta1IPAddressList +from kubernetes.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec from kubernetes.client.models.v1beta1_match_condition import V1beta1MatchCondition from kubernetes.client.models.v1beta1_match_resources import V1beta1MatchResources from kubernetes.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations from kubernetes.client.models.v1beta1_param_kind import V1beta1ParamKind from kubernetes.client.models.v1beta1_param_ref import V1beta1ParamRef +from kubernetes.client.models.v1beta1_parent_reference import V1beta1ParentReference from kubernetes.client.models.v1beta1_self_subject_review import V1beta1SelfSubjectReview from kubernetes.client.models.v1beta1_self_subject_review_status import V1beta1SelfSubjectReviewStatus +from kubernetes.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR +from kubernetes.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList +from kubernetes.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec +from kubernetes.client.models.v1beta1_service_cidr_status import V1beta1ServiceCIDRStatus from kubernetes.client.models.v1beta1_type_checking import V1beta1TypeChecking from kubernetes.client.models.v1beta1_validating_admission_policy import V1beta1ValidatingAdmissionPolicy from kubernetes.client.models.v1beta1_validating_admission_policy_binding import V1beta1ValidatingAdmissionPolicyBinding @@ -653,6 +662,8 @@ from kubernetes.client.models.v1beta1_validating_admission_policy_spec import V1 from kubernetes.client.models.v1beta1_validating_admission_policy_status import V1beta1ValidatingAdmissionPolicyStatus from kubernetes.client.models.v1beta1_validation import V1beta1Validation from kubernetes.client.models.v1beta1_variable import V1beta1Variable +from kubernetes.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass +from kubernetes.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList from kubernetes.client.models.v1beta3_exempt_priority_level_configuration import V1beta3ExemptPriorityLevelConfiguration from kubernetes.client.models.v1beta3_flow_distinguisher_method import V1beta3FlowDistinguisherMethod from kubernetes.client.models.v1beta3_flow_schema import V1beta3FlowSchema diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index f46bdb52a..301f732c8 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -78,7 +78,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/30.0.0+snapshot/python' + self.user_agent = 'OpenAPI-Generator/31.0.0+snapshot/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index 0c7d3c142..1f1b1916b 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ @@ -353,8 +353,8 @@ class Configuration(object): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: release-1.30\n"\ - "SDK Package Version: 30.0.0+snapshot".\ + "Version of the API: release-1.31\n"\ + "SDK Package Version: 31.0.0+snapshot".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes/client/exceptions.py b/kubernetes/client/exceptions.py index 7274cbdf5..f5bb41b13 100644 --- a/kubernetes/client/exceptions.py +++ b/kubernetes/client/exceptions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/rest.py b/kubernetes/client/rest.py index 5e5577715..6ad8825f1 100644 --- a/kubernetes/client/rest.py +++ b/kubernetes/client/rest.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.30 + The version of the OpenAPI document: release-1.31 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/test/test_duration.py b/kubernetes/test/test_duration.py deleted file mode 100644 index 713322fac..000000000 --- a/kubernetes/test/test_duration.py +++ /dev/null @@ -1,70 +0,0 @@ -import unittest -import datetime - -import kubernetes -from kubernetes.utils.duration import parse_duration, format_duration - -class TestDuration(unittest.TestCase): - - def test_parse_duration(self): - # Valid durations - self.assertEqual(parse_duration("0h"), datetime.timedelta(hours=0)) - self.assertEqual(parse_duration("0s"), datetime.timedelta(hours=0)) - self.assertEqual(parse_duration("0h0m0s"), datetime.timedelta(hours=0)) - self.assertEqual(parse_duration("1h"), datetime.timedelta(hours=1)) - self.assertEqual(parse_duration("30m"), datetime.timedelta(minutes=30)) - self.assertEqual(parse_duration("10s"), datetime.timedelta(seconds=10)) - self.assertEqual(parse_duration("500ms"), datetime.timedelta(milliseconds=500)) - self.assertEqual(parse_duration("2h30m"), datetime.timedelta(hours=2, minutes=30)) - self.assertEqual(parse_duration("150m"), datetime.timedelta(hours=2, minutes=30)) - self.assertEqual(parse_duration("7230s"), datetime.timedelta(hours=2, seconds=30)) - self.assertEqual(parse_duration("1h30m10s"), datetime.timedelta(hours=1, minutes=30, seconds=10)) - self.assertEqual(parse_duration("10s30m1h"), datetime.timedelta(hours=1, minutes=30, seconds=10)) - self.assertEqual(parse_duration("100ms200ms300ms"), datetime.timedelta(milliseconds=600)) - self.assertEqual(parse_duration("100ms200ms300ms"), datetime.timedelta(milliseconds=600)) - - # Invalid durations - with self.assertRaises(ValueError): - parse_duration("1d") # Invalid unit 'd' - with self.assertRaises(ValueError): - parse_duration("1") # Missing unit - with self.assertRaises(ValueError): - parse_duration("1m1") # Missing unit - with self.assertRaises(ValueError): - parse_duration("1h30m10s20ms50h") # Too many units - with self.assertRaises(ValueError): - parse_duration("999999h") # Too many digits - with self.assertRaises(ValueError): - parse_duration("1.5h") # Floating point is not supported - with self.assertRaises(ValueError): - parse_duration("-15m") # Negative durations are not supported - - def test_format_duration(self): - # Valid durations - self.assertEqual(format_duration(datetime.timedelta(0)), "0s") - self.assertEqual(format_duration(datetime.timedelta(hours=1)), "1h") - self.assertEqual(format_duration(datetime.timedelta(minutes=30)), "30m") - self.assertEqual(format_duration(datetime.timedelta(seconds=10)), "10s") - self.assertEqual(format_duration(datetime.timedelta(milliseconds=500)), "500ms") - self.assertEqual(format_duration(datetime.timedelta(hours=2, minutes=30)), "2h30m") - self.assertEqual(format_duration(datetime.timedelta(hours=1, minutes=30, seconds=10)), "1h30m10s") - self.assertEqual(format_duration(datetime.timedelta(milliseconds=600)), "600ms") - self.assertEqual(format_duration(datetime.timedelta(hours=2, milliseconds=600)), "2h600ms") - self.assertEqual(format_duration(datetime.timedelta(hours=2, minutes=30, milliseconds=600)), "2h30m600ms") - self.assertEqual(format_duration(datetime.timedelta(hours=2, minutes=30, seconds=10, milliseconds=600)), "2h30m10s600ms") - self.assertEqual(format_duration(datetime.timedelta(minutes=0.5)), "30s") - self.assertEqual(format_duration(datetime.timedelta(seconds=0.5)), "500ms") - self.assertEqual(format_duration(datetime.timedelta(days=10)), "240h") # 10 days = 240 hours - - # Invalid durations - with self.assertRaises(ValueError): - format_duration(datetime.timedelta(microseconds=100)) # Sub-millisecond precision - with self.assertRaises(ValueError): - format_duration(datetime.timedelta(milliseconds=0.5)) # Sub-millisecond precision - with self.assertRaises(ValueError): - format_duration(datetime.timedelta(days=10000)) # Out of range (more than 99999 hours) - with self.assertRaises(ValueError): - format_duration(datetime.timedelta(minutes=-15)) # Negative durations are not supported - -if __name__ == '__main__': - unittest.main() \ No newline at end of file diff --git a/setup.py b/setup.py index cc62e71aa..74eb82d63 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import setup # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "30.0.0+snapshot" +CLIENT_VERSION = "31.0.0+snapshot" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "3 - Alpha" From dcc00cc92802764fc116e330c54a61b20780cc4a Mon Sep 17 00:00:00 2001 From: yliao Date: Thu, 29 Aug 2024 22:50:37 +0000 Subject: [PATCH 08/20] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cff67e175..2622938b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# v31.0.0+snapshot +# v31.0.0a1 Kubernetes API Version: v1.31.0 From c7be67cb541796ae7c104d9fadfd8adc17109e03 Mon Sep 17 00:00:00 2001 From: yliao Date: Thu, 29 Aug 2024 22:54:25 +0000 Subject: [PATCH 09/20] updated compatibility matrix and maintenance status in the README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c85e670f9..e39ba759d 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ supported versions of Kubernetes clusters. - [client 28.y.z](https://pypi.org/project/kubernetes/28.1.0/): Kubernetes 1.27 or below (+-), Kubernetes 1.28 (✓), Kubernetes 1.29 or above (+-) - [client 29.y.z](https://pypi.org/project/kubernetes/29.0.0/): Kubernetes 1.28 or below (+-), Kubernetes 1.29 (✓), Kubernetes 1.30 or above (+-) - [client 30.y.z](https://pypi.org/project/kubernetes/30.1.0/): Kubernetes 1.29 or below (+-), Kubernetes 1.30 (✓), Kubernetes 1.31 or above (+-) +- [client 31.y.z](https://pypi.org/project/kubernetes/31.0.0/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. @@ -165,6 +166,7 @@ between client-python versions. | 29.0 | Kubernetes main repo, 1.29 branch | ✓ | | 30.0 Alpha/Beta | Kubernetes main repo, 1.30 branch | ✗ | | 30.0 | Kubernetes main repo, 1.30 branch | ✓ | +| 31.0 Alpha/Beta | Kubernetes main repo, 1.31 branch | ✓ | > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. From 5331a4ea27de4e6e4b19b1c0eef6d1fc85424c70 Mon Sep 17 00:00:00 2001 From: yliao Date: Fri, 6 Sep 2024 18:38:27 +0000 Subject: [PATCH 10/20] update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2622938b1..14edd7981 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v31.0.0b1 + +Kubernetes API Version: v1.31.0 + + # v31.0.0a1 Kubernetes API Version: v1.31.0 From ec6041b1c189305d658ff87dcd217cd39ac76e94 Mon Sep 17 00:00:00 2001 From: yliao Date: Fri, 6 Sep 2024 18:42:29 +0000 Subject: [PATCH 11/20] updated compatibility matrix and maintenance status --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e39ba759d..6574e74a9 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ supported versions of Kubernetes clusters. - [client 28.y.z](https://pypi.org/project/kubernetes/28.1.0/): Kubernetes 1.27 or below (+-), Kubernetes 1.28 (✓), Kubernetes 1.29 or above (+-) - [client 29.y.z](https://pypi.org/project/kubernetes/29.0.0/): Kubernetes 1.28 or below (+-), Kubernetes 1.29 (✓), Kubernetes 1.30 or above (+-) - [client 30.y.z](https://pypi.org/project/kubernetes/30.1.0/): Kubernetes 1.29 or below (+-), Kubernetes 1.30 (✓), Kubernetes 1.31 or above (+-) -- [client 31.y.z](https://pypi.org/project/kubernetes/31.0.0/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-) +- [client 31.y.z](https://pypi.org/project/kubernetes/31.0.0b1/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. From 51a04804bdb3cc930fe9db7155009aafe5a85a0f Mon Sep 17 00:00:00 2001 From: yliao Date: Fri, 13 Sep 2024 21:42:10 +0000 Subject: [PATCH 12/20] Update the compatibility matrix and maintenance status in the README file --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6574e74a9..6fb1b4a03 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ supported versions of Kubernetes clusters. - [client 28.y.z](https://pypi.org/project/kubernetes/28.1.0/): Kubernetes 1.27 or below (+-), Kubernetes 1.28 (✓), Kubernetes 1.29 or above (+-) - [client 29.y.z](https://pypi.org/project/kubernetes/29.0.0/): Kubernetes 1.28 or below (+-), Kubernetes 1.29 (✓), Kubernetes 1.30 or above (+-) - [client 30.y.z](https://pypi.org/project/kubernetes/30.1.0/): Kubernetes 1.29 or below (+-), Kubernetes 1.30 (✓), Kubernetes 1.31 or above (+-) -- [client 31.y.z](https://pypi.org/project/kubernetes/31.0.0b1/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-) +- [client 31.y.z](https://pypi.org/project/kubernetes/31.0.0/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. @@ -161,12 +161,13 @@ between client-python versions. | 27.0 Alpha/Beta | Kubernetes main repo, 1.27 branch | ✗ | | 27.0 | Kubernetes main repo, 1.27 branch | ✗ | | 28.0 Alpha/Beta | Kubernetes main repo, 1.28 branch | ✗ | -| 28.0 | Kubernetes main repo, 1.28 branch | ✓ | +| 28.0 | Kubernetes main repo, 1.28 branch | ✗ | | 29.0 Alpha/Beta | Kubernetes main repo, 1.29 branch | ✗ | | 29.0 | Kubernetes main repo, 1.29 branch | ✓ | | 30.0 Alpha/Beta | Kubernetes main repo, 1.30 branch | ✗ | | 30.0 | Kubernetes main repo, 1.30 branch | ✓ | -| 31.0 Alpha/Beta | Kubernetes main repo, 1.31 branch | ✓ | +| 31.0 Alpha/Beta | Kubernetes main repo, 1.31 branch | ✗ | +| 31.0 | Kubernetes main repo, 1.31 branch | ✓ | > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. From 03225b62676b32300dab7a8215dd1013a02720dc Mon Sep 17 00:00:00 2001 From: yliao Date: Fri, 13 Sep 2024 21:39:03 +0000 Subject: [PATCH 13/20] update changelog --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14edd7981..59c6c468d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# v31.0.0 + +Kubernetes API Version: v1.31.1 + +### API Change +- The resource/v1alpha3.ResourceSliceList filed which should have been named "metadata" but was instead named "listMeta" is now properly "metadata". ([kubernetes/kubernetes#126761](https://github.com/kubernetes/kubernetes/pull/126761), [@thockin](https://github.com/thockin)) [SIG API Machinery] + + # v31.0.0b1 Kubernetes API Version: v1.31.0 From 6d3338997b0098af0d9917d91474929bf6abefbb Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 18 Sep 2024 20:59:09 +0000 Subject: [PATCH 14/20] Fixed CHANGELOG, the API version should be 1.31.0, the release tooling mistook 1.31.1 API. --- CHANGELOG.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c6c468d..fee0b75e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,11 @@ # v31.0.0 -Kubernetes API Version: v1.31.1 - -### API Change -- The resource/v1alpha3.ResourceSliceList filed which should have been named "metadata" but was instead named "listMeta" is now properly "metadata". ([kubernetes/kubernetes#126761](https://github.com/kubernetes/kubernetes/pull/126761), [@thockin](https://github.com/thockin)) [SIG API Machinery] - +Kubernetes API Version: v1.31.0 # v31.0.0b1 Kubernetes API Version: v1.31.0 - # v31.0.0a1 Kubernetes API Version: v1.31.0 From 10ced927758c2dbbd9c7dd8e2a8c2726294e8a1a Mon Sep 17 00:00:00 2001 From: Jason Montleon Date: Sun, 22 Sep 2024 16:46:45 -0400 Subject: [PATCH 15/20] Remove mock from test-requirements.txt Signed-off-by: Jason Montleon --- test-requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 80a5be1fd..6e8c24c0e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,7 +5,6 @@ pytest-cov pluggy>=0.3.1 py>=1.4.31 randomize>=0.13 -mock>=2.0.0 sphinx>=1.4 # BSD recommonmark sphinx_markdown_tables From 5939b73640b7d99174d1c54e849abcce783bc780 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Thu, 26 Sep 2024 15:07:41 +0200 Subject: [PATCH 16/20] Remove py from test-requirements.txt `py` is in maintenance mode and nothing in this project depends on it. --- test-requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 6e8c24c0e..668b82e2e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,7 +3,6 @@ nose>=1.3.7 pytest pytest-cov pluggy>=0.3.1 -py>=1.4.31 randomize>=0.13 sphinx>=1.4 # BSD recommonmark From 2dfa782fb9bc575e2eef25b19b90a8284b491e03 Mon Sep 17 00:00:00 2001 From: Pranoy Dey Date: Sat, 5 Oct 2024 17:31:29 +0530 Subject: [PATCH 17/20] Added Shell=True for windows flow. Fixes file not found error while running in Windows --- kubernetes/base/config/exec_provider.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kubernetes/base/config/exec_provider.py b/kubernetes/base/config/exec_provider.py index 9dd382760..10b73dbe1 100644 --- a/kubernetes/base/config/exec_provider.py +++ b/kubernetes/base/config/exec_provider.py @@ -75,7 +75,8 @@ class ExecProvider(object): stdin=sys.stdin if is_interactive else None, cwd=self.cwd, env=self.env, - universal_newlines=True) + universal_newlines=True, + shell=True) (stdout, stderr) = process.communicate() exit_code = process.wait() if exit_code != 0: From 331848f4d8be852bc89929e8789c990f2235b2ae Mon Sep 17 00:00:00 2001 From: broken-dream <1085639628@qq.com> Date: Thu, 24 Oct 2024 20:50:43 +0800 Subject: [PATCH 18/20] Add patch_namespaced_config_map example --- examples/patch_namespaced_config_map.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 examples/patch_namespaced_config_map.py diff --git a/examples/patch_namespaced_config_map.py b/examples/patch_namespaced_config_map.py new file mode 100644 index 000000000..9ee03aa44 --- /dev/null +++ b/examples/patch_namespaced_config_map.py @@ -0,0 +1,24 @@ +""" +This example demonstrates how to update config map by +patch_namespaced_config_map api. +""" + +from kubernetes import client, config + +def main(): + config.load_kube_config() + v1 = client.CoreV1Api() + + namespace = "your-namespace" + config_map_data = {"test_key": "test_value"} + config_map_name = "your-config-map-name" + + # Use client.V1ConfigMap instead of the python dict + object_meta = client.V1ObjectMeta(name=config_map_name, namespace=namespace) + body = client.V1ConfigMap( + api_version="v1", kind="ConfigMap", metadata=object_meta, data=config_map_data) + + v1.patch_namespaced_config_map(name=config_map_name, namespace=namespace, body=body) + +if __name__ == "__main__": + main() From 8c60fe94e06b8364d95cd35c22fdaf3177c1c564 Mon Sep 17 00:00:00 2001 From: Brendan Burns <5751682+brendandburns@users.noreply.github.com> Date: Wed, 30 Oct 2024 19:50:34 +0000 Subject: [PATCH 19/20] Support providing cluster info to the exec provider --- kubernetes/base/config/exec_provider.py | 10 ++++++++-- kubernetes/base/config/exec_provider_test.py | 21 ++++++++++++++++++++ kubernetes/base/config/kube_config.py | 2 +- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/kubernetes/base/config/exec_provider.py b/kubernetes/base/config/exec_provider.py index 10b73dbe1..317a56695 100644 --- a/kubernetes/base/config/exec_provider.py +++ b/kubernetes/base/config/exec_provider.py @@ -31,7 +31,7 @@ class ExecProvider(object): * caching """ - def __init__(self, exec_config, cwd): + def __init__(self, exec_config, cwd, cluster=None): """ exec_config must be of type ConfigNode because we depend on safe_get(self, key) to correctly handle optional exec provider @@ -53,7 +53,10 @@ class ExecProvider(object): value = item['value'] additional_vars[name] = value self.env.update(additional_vars) - + if exec_config.safe_get('provideClusterInfo'): + self.cluster = cluster + else: + self.cluster = None self.cwd = cwd or None def run(self, previous_response=None): @@ -67,6 +70,9 @@ class ExecProvider(object): } if previous_response: kubernetes_exec_info['spec']['response'] = previous_response + if self.cluster: + kubernetes_exec_info['spec']['cluster'] = self.cluster + self.env['KUBERNETES_EXEC_INFO'] = json.dumps(kubernetes_exec_info) process = subprocess.Popen( self.args, diff --git a/kubernetes/base/config/exec_provider_test.py b/kubernetes/base/config/exec_provider_test.py index de8109499..9ff62d12e 100644 --- a/kubernetes/base/config/exec_provider_test.py +++ b/kubernetes/base/config/exec_provider_test.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +import json import os import unittest @@ -31,6 +32,13 @@ class ExecProviderTest(unittest.TestCase): 'apiVersion': 'client.authentication.k8s.io/v1beta1', 'env': None }) + self.input_with_cluster = ConfigNode('test', { + 'command': 'aws-iam-authenticator', + 'args': ['token', '-i', 'dummy'], + 'apiVersion': 'client.authentication.k8s.io/v1beta1', + 'provideClusterInfo': True, + 'env': None + }) self.output_ok = """ { "apiVersion": "client.authentication.k8s.io/v1beta1", @@ -162,6 +170,19 @@ class ExecProviderTest(unittest.TestCase): self.assertTrue(isinstance(result, dict)) self.assertTrue('token' in result) + @mock.patch('subprocess.Popen') + def test_with_cluster_info(self, mock): + instance = mock.return_value + instance.wait.return_value = 0 + instance.communicate.return_value = (self.output_ok, '') + ep = ExecProvider(self.input_with_cluster, None, {'server': 'name.company.com'}) + result = ep.run() + self.assertTrue(isinstance(result, dict)) + self.assertTrue('token' in result) + + obj = json.loads(mock.call_args.kwargs['env']['KUBERNETES_EXEC_INFO']) + self.assertEqual(obj['spec']['cluster']['server'], 'name.company.com') + if __name__ == '__main__': unittest.main() diff --git a/kubernetes/base/config/kube_config.py b/kubernetes/base/config/kube_config.py index 09cda8bda..7077955ca 100644 --- a/kubernetes/base/config/kube_config.py +++ b/kubernetes/base/config/kube_config.py @@ -487,7 +487,7 @@ class KubeConfigLoader(object): return try: base_path = self._get_base_path(self._cluster.path) - status = ExecProvider(self._user['exec'], base_path).run() + status = ExecProvider(self._user['exec'], base_path, self._cluster).run() if 'token' in status: self.token = "Bearer %s" % status['token'] elif 'clientCertificateData' in status: From b2f84206faa101b4df419b34a5e32cd5d63d7ab6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 03:01:12 +0000 Subject: [PATCH 20/20] Bump codecov/codecov-action from 4 to 5 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4...v5) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e140039e6..dca23462f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -44,7 +44,7 @@ jobs: - name: Upload coverage to Codecov if: "matrix.use_coverage" - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: fail_ci_if_error: false verbose: true