diff --git a/CHANGELOG.md b/CHANGELOG.md index d9901658..7a7a9d20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,118 @@ +# v33.3.0 + +* Allow for async refresh_api_key_hook methods. ([#359](https://github.com/tomplus/kubernetes_asyncio/pull/359), [@iciclespider](https://github.com/iciclespider)) +* Fix usage of response_types_map inside API client's call_api method. ([#362](https://github.com/tomplus/kubernetes_asyncio/pull/362), [@ndhansen](https://github.com/ndhansen)) +* Fix parsing of bookmark objects ([#364](https://github.com/tomplus/kubernetes_asyncio/pull/364), [@ndhansen](https://github.com/ndhansen)) +* Fix: handle ContentTypeError in dynamic client discovery ([#368](https://github.com/tomplus/kubernetes_asyncio/pull/368), [@tamilhce](https://github.com/tamilhce)) + + +### API Change + +- A new alpha feature gate, `MutableCSINodeAllocatableCount`, has been introduced. + + When this feature gate is enabled, the `CSINode.Spec.Drivers[*].Allocatable.Count` field becomes mutable, and a new field, `NodeAllocatableUpdatePeriodSeconds`, is available in the `CSIDriver` object. This allows periodic updates to a node's reported allocatable volume capacity, preventing stateful pods from becoming stuck due to outdated information that kube-scheduler relies on. ([#130007](https://github.com/kubernetes/kubernetes/pull/130007), [@torredil](https://github.com/torredil)) [SIG Apps, Node, Scheduling and Storage] +- Added feature gate `DRAPartitionableDevices`, when enabled, Dynamic Resource Allocation support partitionable devices allocation. ([#130764](https://github.com/kubernetes/kubernetes/pull/130764), [@cici37](https://github.com/cici37)) [SIG API Machinery, Architecture, Auth, CLI, Cloud Provider, Cluster Lifecycle, Instrumentation, Network, Node, Scheduling, Storage and Testing] +- Added DRA support for a "one-of" prioritized list of selection criteria to satisfy a device request in a resource claim. ([#128586](https://github.com/kubernetes/kubernetes/pull/128586), [@mortent](https://github.com/mortent)) [SIG API Machinery, Apps, Etcd, Node, Scheduling and Testing] +- Added a `/flagz` endpoint for kubelet endpoint ([#128857](https://github.com/kubernetes/kubernetes/pull/128857), [@zhifei92](https://github.com/zhifei92)) [SIG Architecture, Instrumentation and Node] +- Added a new `tolerance` field to HorizontalPodAutoscaler, overriding the cluster-wide default. Enabled via the HPAConfigurableTolerance alpha feature gate. ([#130797](https://github.com/kubernetes/kubernetes/pull/130797), [@jm-franc](https://github.com/jm-franc)) [SIG API Machinery, Apps, Autoscaling, Etcd, Node, Scheduling and Testing] +- Added support for configuring custom stop signals with a new StopSignal container lifecycle ([#130556](https://github.com/kubernetes/kubernetes/pull/130556), [@sreeram-venkitesh](https://github.com/sreeram-venkitesh)) [SIG API Machinery, Apps, Node and Testing] +- Added support for in-place vertical scaling of Pods with sidecars (containers defined within `initContainers` where the `restartPolicy` is set to `Always`). ([#128367](https://github.com/kubernetes/kubernetes/pull/128367), [@vivzbansal](https://github.com/vivzbansal)) [SIG API Machinery, Apps, CLI, Node, Scheduling and Testing] +- CPUManager Policy Options support is GA ([#130535](https://github.com/kubernetes/kubernetes/pull/130535), [@ffromani](https://github.com/ffromani)) [SIG API Machinery, Node and Testing] +- Changed the Pod API to support `hugepage resources` at `spec` level for pod-level resources. ([#130577](https://github.com/kubernetes/kubernetes/pull/130577), [@KevinTMtz](https://github.com/KevinTMtz)) [SIG Apps, CLI, Node, Scheduling, Storage and Testing] +- DRA API: The maximum number of pods that can use the same ResourceClaim is now 256 instead of 32. Downgrading a cluster where this relaxed limit is in use to Kubernetes 1.32.0 is not supported, as version 1.32.0 would refuse to update ResourceClaims with more than 32 entries in the `status.reservedFor` field. ([#129543](https://github.com/kubernetes/kubernetes/pull/129543), [@pohly](https://github.com/pohly)) [SIG API Machinery, Node and Testing] +- DRA: CEL expressions using attribute strings exceeded the cost limit because their cost estimation was incomplete. ([#129661](https://github.com/kubernetes/kubernetes/pull/129661), [@pohly](https://github.com/pohly)) [SIG Node] +- DRA: Device taints enable DRA drivers or admins to mark device as unusable, which prevents allocating them. Pods may also get evicted at runtime if a device becomes unusable, depending on the severity of the taint and whether the claim tolerates the taint. ([#130447](https://github.com/kubernetes/kubernetes/pull/130447), [@pohly](https://github.com/pohly)) [SIG API Machinery, Apps, Architecture, Auth, Etcd, Instrumentation, Node, Scheduling and Testing] +- DRA: Starting Kubernetes 1.33, only users with access to an admin namespace with the `kubernetes.io/dra-admin-access` label are authorized to create ResourceClaim or ResourceClaimTemplate objects with the `adminAccess` field in this admin namespace if they want to and only they can reference these ResourceClaims or ResourceClaimTemplates in their pod or deployment specs. ([#130225](https://github.com/kubernetes/kubernetes/pull/130225), [@ritazh](https://github.com/ritazh)) [SIG API Machinery, Apps, Auth, Node and Testing] +- DRA: when asking for "All" devices on a node, Kubernetes <= 1.32 proceeded to schedule pods onto nodes with no devices by not allocating any devices for those pods. Kubernetes 1.33 changes that to only picking nodes which have at least one device. Users who want the "proceed with scheduling also without devices" semantic can use the upcoming prioritized list feature with one sub-request for "all" devices and a second alternative with "count: 0". ([#129560](https://github.com/kubernetes/kubernetes/pull/129560), [@bart0sh](https://github.com/bart0sh)) [SIG API Machinery and Node] +- Expanded the on-disk kubelet credential provider configuration to allow an optional `tokenAttribute` field to be configured. When it is set, the kubelet will provision a token with the given audience bound to the current pod and its service account. This KSA token along with required annotations on the KSA defined in configuration will be sent to the credential provider plugin via its standard input (along with the image information that is already sent today). The KSA annotations to be sent are configurable in the kubelet credential provider configuration. ([#128372](https://github.com/kubernetes/kubernetes/pull/128372), [@aramase](https://github.com/aramase)) [SIG API Machinery, Auth, Node and Testing] +- Fixed the example validation rule in godoc: + + When configuring a JWT authenticator: + + If username.expression uses 'claims.email', then 'claims.email_verified' must be used in + username.expression or extra[*].valueExpression or claimValidationRules[*].expression. + An example claim validation rule expression that matches the validation automatically + applied when username.claim is set to 'email' is 'claims.?email_verified.orValue(true) == true'. + By explicitly comparing the value to true, we let type-checking see the result will be a boolean, + and to make sure a non-boolean `email_verified` claim will be caught at runtime. ([#130875](https://github.com/kubernetes/kubernetes/pull/130875), [@aramase](https://github.com/aramase)) [SIG Auth and Release] +- For the `InPlacePodVerticalScaling` feature, the API server will no longer set the resize status to `Proposed` upon receiving a resize request. ([#130574](https://github.com/kubernetes/kubernetes/pull/130574), [@natasha41575](https://github.com/natasha41575)) [SIG Apps, Node and Testing] +- Graduate the `MatchLabelKeys` (MismatchLabelKeys) feature in PodAffinity (PodAntiAffinity) to GA ([#130463](https://github.com/kubernetes/kubernetes/pull/130463), [@sanposhiho](https://github.com/sanposhiho)) [SIG API Machinery, Apps, Node, Scheduling and Testing] +- Graduated image volume sources to beta: + - Allowed `subPath`/`subPathExpr` for image volumes + - Added kubelet metrics `kubelet_image_volume_requested_total`, `kubelet_image_volume_mounted_succeed_total` and `kubelet_image_volume_mounted_errors_total` ([#130135](https://github.com/kubernetes/kubernetes/pull/130135), [@saschagrunert](https://github.com/saschagrunert)) [SIG API Machinery, Apps, Node and Testing] +- Implemented a new status field, `.status.terminatingReplicas`, for Deployments and ReplicaSets to track terminating pods. The new field is present when the `DeploymentPodReplacementPolicy` feature gate is enabled. ([#128546](https://github.com/kubernetes/kubernetes/pull/128546), [@atiratree](https://github.com/atiratree)) [SIG API Machinery, Apps and Testing] +- Implemented validation for `NodeSelectorRequirement` values in Kubernetes when creating pods. ([#128212](https://github.com/kubernetes/kubernetes/pull/128212), [@AxeZhan](https://github.com/AxeZhan)) [SIG Apps and Scheduling] +- Improved how the API server responds to **list** requests where the response format negotiates to Protobuf. List responses in Protobuf are marshalled one element at the time, drastically reducing memory needed to serve large collections. Streaming list responses can be disabled via the `StreamingCollectionEncodingToProtobuf` feature gate. ([#129407](https://github.com/kubernetes/kubernetes/pull/129407), [@serathius](https://github.com/serathius)) [SIG API Machinery, Apps, Architecture, Auth, CLI, Cloud Provider, Network, Node, Release, Scheduling, Storage and Testing] +- InPlacePodVerticalScaling: Memory limits cannot be decreased unless the memory resize restart policy is set to `RestartContainer`. Container resizePolicy is no longer mutable. ([#130183](https://github.com/kubernetes/kubernetes/pull/130183), [@tallclair](https://github.com/tallclair)) [SIG Apps and Node] +- Introduced API type `coordination.k8s.io/v1beta1/LeaseCandidate` + `CoordinatedLeaderElection` feature moves to Beta ([#130751](https://github.com/kubernetes/kubernetes/pull/130751), [@Jefftree](https://github.com/Jefftree)) [SIG API Machinery, Etcd and Testing] +- Introduced API type `coordination.k8s.io/v1beta1/LeaseCandidate` ([#130291](https://github.com/kubernetes/kubernetes/pull/130291), [@Jefftree](https://github.com/Jefftree)) [SIG API Machinery, Etcd and Testing] +- It introduces a new scope name `VolumeAttributesClass`. + + It matches all PVC objects that have the volume attributes class mentioned. + + If you want to limit the count of PVCs that have a specific volume attributes class. In that case, you can create a quota object with the scope name `VolumeAttributesClass` and a `matchExpressions` that match the volume attributes class. ([#124360](https://github.com/kubernetes/kubernetes/pull/124360), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps and Testing] +- KEP-3857: Recursive Read-only (RRO) mounts: promote to GA ([#130116](https://github.com/kubernetes/kubernetes/pull/130116), [@AkihiroSuda](https://github.com/AkihiroSuda)) [SIG Apps, Node and Testing] +- kubectl: Added alpha support for customizing kubectl behavior using preferences from a `kuberc` file, separate from `kubeconfig`. ([#125230](https://github.com/kubernetes/kubernetes/pull/125230), [@ardaguclu](https://github.com/ardaguclu)) [SIG API Machinery, CLI and Testing] +- kubelet: added `KubeletConfiguration.subidsPerPod`. ([#130028](https://github.com/kubernetes/kubernetes/pull/130028), [@AkihiroSuda](https://github.com/AkihiroSuda)) [SIG API Machinery and Node] +- Kubernetes components that accepted X.509 client certificate authentication now read the user UID from a certificate subject name RDN with object ID `1.3.6.1.4.1.57683.2`. An RDN with this object ID had to contain a string value and appear no more than once in the certificate subject. Reading the user UID from this RDN could be disabled by setting the beta feature gate `AllowParsingUserUIDFromCertAuth` to `false`(until the feature gate graduated to GA). ([#127897](https://github.com/kubernetes/kubernetes/pull/127897), [@modulitos](https://github.com/modulitos)) [SIG API Machinery, Auth and Testing] +- `MergeDefaultEvictionSettings` indicates that defaults for the evictionHard, evictionSoft, evictionSoftGracePeriod, and evictionMinimumReclaim fields should be merged into values specified for those fields in this configuration. Signals specified in this configuration take precedence. Signals not specified in this configuration inherit their defaults. ([#127577](https://github.com/kubernetes/kubernetes/pull/127577), [@vaibhav2107](https://github.com/vaibhav2107)) [SIG API Machinery and Node] +- New configuration is introduced to the kubelet that allows it to track container images and the list of authentication information that leads to their successful pulls. This data is persisted across reboots of the host and restarts of the kubelet. + + The kubelet ensures any image requiring credential verification is always pulled if authentication information from an image pull is not yet present, thus enforcing authentication / re-authentication. This means an image pull might be attempted even in cases where a pod requests the `IfNotPresent` image pull policy, and might lead to the pod not starting if its pull policy is `Never` and is unable to present authentication information that led to a previous successful pull of the image it is requesting. ([#128152](https://github.com/kubernetes/kubernetes/pull/128152), [@stlaz](https://github.com/stlaz)) [SIG API Machinery, Architecture, Auth, Node and Testing] +- Promoted JobSuccessPolicy E2E to Conformance ([#130658](https://github.com/kubernetes/kubernetes/pull/130658), [@tenzen-y](https://github.com/tenzen-y)) [SIG API Machinery, Apps, Architecture and Testing] +- Promoted `NodeInclusionPolicyInPodTopologySpread` to Stable in v1.33 ([#130920](https://github.com/kubernetes/kubernetes/pull/130920), [@kerthcet](https://github.com/kerthcet)) [SIG Apps, Node, Scheduling and Testing] +- Promoted the `JobSuccessPolicy` to Stable. ([#130536](https://github.com/kubernetes/kubernetes/pull/130536), [@tenzen-y](https://github.com/tenzen-y)) [SIG API Machinery, Apps, Architecture and Testing] +- Promoted the Job's `JobBackoffLimitPerIndex` feature-gate to stable. ([#130061](https://github.com/kubernetes/kubernetes/pull/130061), [@mimowo](https://github.com/mimowo)) [SIG API Machinery, Apps, Architecture and Testing] +- Promoted the feature gate `AnyVolumeDataSource` to GA. ([#129770](https://github.com/kubernetes/kubernetes/pull/129770), [@sunnylovestiramisu](https://github.com/sunnylovestiramisu)) [SIG Apps, Storage and Testing] +- Removed general available feature gate `CPUManager`. ([#129296](https://github.com/kubernetes/kubernetes/pull/129296), [@carlory](https://github.com/carlory)) [SIG API Machinery, Node and Testing] +- Removed general available feature-gate `PDBUnhealthyPodEvictionPolicy`. ([#129500](https://github.com/kubernetes/kubernetes/pull/129500), [@carlory](https://github.com/carlory)) [SIG API Machinery, Apps and Auth] +- Start reporting swap capacity as part of `node.status.nodeSystemInfo`. ([#129954](https://github.com/kubernetes/kubernetes/pull/129954), [@iholder101](https://github.com/iholder101)) [SIG API Machinery, Apps and Node] +- Graduated the `MultiCIDRServiceAllocator` feature gate to stable, and the `DisableAllocatorDualWrite` feature gate to beta (disabled by default). +**Action required** for Kubernetes cluster administrators and for distributions that manage the cluster Service CIDR. +Kubernetes now allows users to define the cluster Service CIDR via an API object: ServiceCIDR. +Distributions or administrators of Kubernetes may want to control that new Service CIDRs added to the cluster do not overlap with other networks on the cluster, that only belong to a specific range of IPs. Administrators may also prefer to retain the existing behavior of only having one ServiceCIDR per cluster. You can use `ValidatingAdmissionPolicy` to achieve this. ([#128971](https://github.com/kubernetes/kubernetes/pull/128971), [@aojea](https://github.com/aojea)) [SIG Apps, Architecture, Auth, CLI, Etcd, Network, Release and Testing] +- The `ClusterTrustBundle` API is moving to `v1beta1`. + In order for the `ClusterTrustBundleProjection` feature to work on the kubelet side, the `ClusterTrustBundle` API must be available at `v1beta1` version and the `ClusterTrustBundleProjection` feature gate must be enabled. If the API becomes later after kubelet started running, restart the kubelet to enable the feature. ([#128499](https://github.com/kubernetes/kubernetes/pull/128499), [@stlaz](https://github.com/stlaz)) [SIG API Machinery, Apps, Auth, Etcd, Node, Storage and Testing] +- The Service trafficDistribution field, including the PreferClose option, has graduated + to GA. Services that do not have the field configured will continue to operate + with their existing behavior. Refer to the documentation + https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution + for more details. ([#130673](https://github.com/kubernetes/kubernetes/pull/130673), [@gauravkghildiyal](https://github.com/gauravkghildiyal)) [SIG Apps, Network and Testing] +- The feature gate `InPlacePodVerticalScalingAllocatedStatus` is deprecated and no longer used. The `AllocatedResources` field in `ContainerStatus` is now guarded by the `InPlacePodVerticalScaling` feature gate. ([#130880](https://github.com/kubernetes/kubernetes/pull/130880), [@tallclair](https://github.com/tallclair)) [SIG CLI, Node and Scheduling] +- The kube-controller-manager will set the `observedGeneration` field on pod conditions when the `PodObservedGenerationTracking` feature gate is set. ([#130650](https://github.com/kubernetes/kubernetes/pull/130650), [@natasha41575](https://github.com/natasha41575)) [SIG API Machinery, Apps, Node, Scheduling, Storage, Testing and Windows] +- The kube-scheduler will set the `observedGeneration` field on pod conditions when the `PodObservedGenerationTracking` feature gate is set. ([#130649](https://github.com/kubernetes/kubernetes/pull/130649), [@natasha41575](https://github.com/natasha41575)) [SIG Node, Scheduling and Testing] +- The kubelet will set the `observedGeneration` field on pod conditions when the `PodObservedGenerationTracking` feature gate is set. ([#130573](https://github.com/kubernetes/kubernetes/pull/130573), [@natasha41575](https://github.com/natasha41575)) [SIG Apps, Node, Scheduling, Storage, Testing and Windows] +- The minimum value validation of ReplicationController's `replicas` and `minReadySeconds` fields have been migrated to declarative validation. The requiredness of both fields is also declaratively validated. + If the `DeclarativeValidation` feature gate is enabled, mismatches with existing validation are reported via metrics. + If the `DeclarativeValidationTakeover` feature gate is enabled, declarative validation is the primary source of errors for migrated fields. ([#130725](https://github.com/kubernetes/kubernetes/pull/130725), [@jpbetz](https://github.com/jpbetz)) [SIG API Machinery, Apps, Architecture, CLI, Cluster Lifecycle, Instrumentation, Network, Node and Storage] +- The `resource.k8s.io/v1beta1` API is deprecated and will be removed in 1.36. Use `v1beta2` instead. ([#129970](https://github.com/kubernetes/kubernetes/pull/129970), [@mortent](https://github.com/mortent)) [SIG API Machinery, Apps, Auth, Etcd, Node, Scheduling and Testing] +- Validation now requires new StatefulSets with a `.spec.serviceName` field value to pass DNS1123 validation. Previously created StatefulSets with an invalid `.spec.serviceName` field value could not create any pods, and should be deleted. + - Published OpenAPI for the StatefulSet schema is corrected to indicate the `.spec.serviceName` is optional. ([#130233](https://github.com/kubernetes/kubernetes/pull/130233), [@soltysh](https://github.com/soltysh)) [SIG API Machinery, Apps and Testing] +- When the `PreferSameTrafficDistribution` feature gate is enabled, a new `trafficDistribution` value `PreferSameNode` is available, which attempts to always route Service connections to an endpoint on the same node as the client. Additionally, `PreferSameZone` is introduced as an alias for `PreferClose`. ([#130844](https://github.com/kubernetes/kubernetes/pull/130844), [@danwinship](https://github.com/danwinship)) [SIG API Machinery, Apps, Network and Windows] +- When the `PodObservedGenerationTracking` feature gate was set, the kubelet populated `status.observedGeneration` to reflect the latest `metadata.generation` it observed for the pod. ([#130352](https://github.com/kubernetes/kubernetes/pull/130352), [@natasha41575](https://github.com/natasha41575)) [SIG API Machinery, Apps, CLI, Node, Release, Scheduling, Storage, Testing and Windows] +- When the `StrictIPCIDRValidation` feature gate is enabled, Kubernetes will be + slightly stricter about what values will be accepted as IP addresses and network + address ranges (“CIDR blocks”). + + In particular, octets within IPv4 addresses are not allowed to have any leading + `0`s, and IPv4-mapped IPv6 values (e.g. `::ffff:192.168.0.1`) are forbidden. + These sorts of values can potentially cause security problems when different + components interpret the same string as referring to different IP addresses + (as in CVE-2021-29923). + + This tightening applies only to fields in built-in API kinds, and not to + custom resource kinds, values in Kubernetes configuration files, or + command-line arguments. + + (When the feature gate is disabled, creating an object with such an invalid + IP or CIDR value will result in a warning from the API server about the fact + that it will be rejected in the future.) ([#122550](https://github.com/kubernetes/kubernetes/pull/122550), [#128786](https://github.com/kubernetes/kubernetes/pull/128786), [@danwinship](https://github.com/danwinship)) [SIG API Machinery, Apps, Network, Node, Scheduling and Testing] +- `apidiscovery.k8s.io/v2beta1` API group is disabled by default ([#130347](https://github.com/kubernetes/kubernetes/pull/130347), [@Jefftree](https://github.com/Jefftree)) [SIG API Machinery and Testing] +- `kubectl apply` now coerces `null` values for labels and annotations in manifests to empty string values, +consistent with typed JSON metadata decoding, rather than dropping all labels and annotations ([#129257](https://github.com/kubernetes/kubernetes/pull/129257), [@liggitt](https://github.com/liggitt)) [SIG API Machinery] + + # v32.3.2 * fix: add missing leaderelection.resourcelock package ([#358](https://github.com/tomplus/kubernetes_asyncio/pull/358), [@tomplus](https://github.com/tomplus)) diff --git a/doc/source/kubernetes_asyncio.client.api.resource_v1beta2_api.rst b/doc/source/kubernetes_asyncio.client.api.resource_v1beta2_api.rst new file mode 100644 index 00000000..492e5264 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.api.resource_v1beta2_api.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.api.resource\_v1beta2\_api module +============================================================ + +.. automodule:: kubernetes_asyncio.client.api.resource_v1beta2_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.api.rst b/doc/source/kubernetes_asyncio.client.api.rst index 2dbfffb9..26bfc5fb 100644 --- a/doc/source/kubernetes_asyncio.client.api.rst +++ b/doc/source/kubernetes_asyncio.client.api.rst @@ -32,10 +32,12 @@ Submodules kubernetes_asyncio.client.api.certificates_api kubernetes_asyncio.client.api.certificates_v1_api kubernetes_asyncio.client.api.certificates_v1alpha1_api + kubernetes_asyncio.client.api.certificates_v1beta1_api kubernetes_asyncio.client.api.coordination_api kubernetes_asyncio.client.api.coordination_v1_api kubernetes_asyncio.client.api.coordination_v1alpha1_api kubernetes_asyncio.client.api.coordination_v1alpha2_api + kubernetes_asyncio.client.api.coordination_v1beta1_api kubernetes_asyncio.client.api.core_api kubernetes_asyncio.client.api.core_v1_api kubernetes_asyncio.client.api.custom_objects_api @@ -64,6 +66,7 @@ Submodules kubernetes_asyncio.client.api.resource_v1alpha2_api kubernetes_asyncio.client.api.resource_v1alpha3_api kubernetes_asyncio.client.api.resource_v1beta1_api + kubernetes_asyncio.client.api.resource_v1beta2_api kubernetes_asyncio.client.api.scheduling_api kubernetes_asyncio.client.api.scheduling_v1_api kubernetes_asyncio.client.api.storage_api diff --git a/doc/source/kubernetes_asyncio.client.models.rst b/doc/source/kubernetes_asyncio.client.models.rst index 39420445..e23e2aee 100644 --- a/doc/source/kubernetes_asyncio.client.models.rst +++ b/doc/source/kubernetes_asyncio.client.models.rst @@ -162,6 +162,7 @@ Submodules kubernetes_asyncio.client.models.v1_flow_schema_list kubernetes_asyncio.client.models.v1_flow_schema_spec kubernetes_asyncio.client.models.v1_flow_schema_status + kubernetes_asyncio.client.models.v1_for_node kubernetes_asyncio.client.models.v1_for_zone kubernetes_asyncio.client.models.v1_gce_persistent_disk_volume_source kubernetes_asyncio.client.models.v1_git_repo_volume_source @@ -197,6 +198,9 @@ Submodules kubernetes_asyncio.client.models.v1_ingress_spec kubernetes_asyncio.client.models.v1_ingress_status kubernetes_asyncio.client.models.v1_ingress_tls + kubernetes_asyncio.client.models.v1_ip_address + kubernetes_asyncio.client.models.v1_ip_address_list + kubernetes_asyncio.client.models.v1_ip_address_spec kubernetes_asyncio.client.models.v1_ip_block kubernetes_asyncio.client.models.v1_iscsi_persistent_volume_source kubernetes_asyncio.client.models.v1_iscsi_volume_source @@ -266,6 +270,7 @@ Submodules kubernetes_asyncio.client.models.v1_node_selector_term kubernetes_asyncio.client.models.v1_node_spec kubernetes_asyncio.client.models.v1_node_status + kubernetes_asyncio.client.models.v1_node_swap_status kubernetes_asyncio.client.models.v1_node_system_info kubernetes_asyncio.client.models.v1_non_resource_attributes kubernetes_asyncio.client.models.v1_non_resource_policy_rule @@ -277,6 +282,7 @@ Submodules kubernetes_asyncio.client.models.v1_owner_reference kubernetes_asyncio.client.models.v1_param_kind kubernetes_asyncio.client.models.v1_param_ref + kubernetes_asyncio.client.models.v1_parent_reference kubernetes_asyncio.client.models.v1_persistent_volume kubernetes_asyncio.client.models.v1_persistent_volume_claim kubernetes_asyncio.client.models.v1_persistent_volume_claim_condition @@ -402,6 +408,10 @@ Submodules kubernetes_asyncio.client.models.v1_service_account_subject kubernetes_asyncio.client.models.v1_service_account_token_projection kubernetes_asyncio.client.models.v1_service_backend_port + kubernetes_asyncio.client.models.v1_service_cidr + kubernetes_asyncio.client.models.v1_service_cidr_list + kubernetes_asyncio.client.models.v1_service_cidr_spec + kubernetes_asyncio.client.models.v1_service_cidr_status kubernetes_asyncio.client.models.v1_service_list kubernetes_asyncio.client.models.v1_service_port kubernetes_asyncio.client.models.v1_service_spec @@ -517,6 +527,8 @@ Submodules kubernetes_asyncio.client.models.v1alpha3_allocation_result kubernetes_asyncio.client.models.v1alpha3_basic_device kubernetes_asyncio.client.models.v1alpha3_cel_device_selector + kubernetes_asyncio.client.models.v1alpha3_counter + kubernetes_asyncio.client.models.v1alpha3_counter_set kubernetes_asyncio.client.models.v1alpha3_device kubernetes_asyncio.client.models.v1alpha3_device_allocation_configuration kubernetes_asyncio.client.models.v1alpha3_device_allocation_result @@ -528,9 +540,17 @@ Submodules kubernetes_asyncio.client.models.v1alpha3_device_class_list kubernetes_asyncio.client.models.v1alpha3_device_class_spec kubernetes_asyncio.client.models.v1alpha3_device_constraint + kubernetes_asyncio.client.models.v1alpha3_device_counter_consumption kubernetes_asyncio.client.models.v1alpha3_device_request kubernetes_asyncio.client.models.v1alpha3_device_request_allocation_result kubernetes_asyncio.client.models.v1alpha3_device_selector + kubernetes_asyncio.client.models.v1alpha3_device_sub_request + kubernetes_asyncio.client.models.v1alpha3_device_taint + kubernetes_asyncio.client.models.v1alpha3_device_taint_rule + kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_list + kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec + kubernetes_asyncio.client.models.v1alpha3_device_taint_selector + kubernetes_asyncio.client.models.v1alpha3_device_toleration kubernetes_asyncio.client.models.v1alpha3_network_device_data kubernetes_asyncio.client.models.v1alpha3_opaque_device_configuration kubernetes_asyncio.client.models.v1alpha3_resource_claim @@ -550,6 +570,11 @@ Submodules kubernetes_asyncio.client.models.v1beta1_audit_annotation kubernetes_asyncio.client.models.v1beta1_basic_device kubernetes_asyncio.client.models.v1beta1_cel_device_selector + kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle + kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_list + kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec + kubernetes_asyncio.client.models.v1beta1_counter + kubernetes_asyncio.client.models.v1beta1_counter_set kubernetes_asyncio.client.models.v1beta1_device kubernetes_asyncio.client.models.v1beta1_device_allocation_configuration kubernetes_asyncio.client.models.v1beta1_device_allocation_result @@ -562,13 +587,20 @@ Submodules kubernetes_asyncio.client.models.v1beta1_device_class_list kubernetes_asyncio.client.models.v1beta1_device_class_spec kubernetes_asyncio.client.models.v1beta1_device_constraint + kubernetes_asyncio.client.models.v1beta1_device_counter_consumption kubernetes_asyncio.client.models.v1beta1_device_request kubernetes_asyncio.client.models.v1beta1_device_request_allocation_result kubernetes_asyncio.client.models.v1beta1_device_selector + kubernetes_asyncio.client.models.v1beta1_device_sub_request + kubernetes_asyncio.client.models.v1beta1_device_taint + kubernetes_asyncio.client.models.v1beta1_device_toleration kubernetes_asyncio.client.models.v1beta1_expression_warning kubernetes_asyncio.client.models.v1beta1_ip_address kubernetes_asyncio.client.models.v1beta1_ip_address_list kubernetes_asyncio.client.models.v1beta1_ip_address_spec + kubernetes_asyncio.client.models.v1beta1_lease_candidate + kubernetes_asyncio.client.models.v1beta1_lease_candidate_list + kubernetes_asyncio.client.models.v1beta1_lease_candidate_spec kubernetes_asyncio.client.models.v1beta1_match_condition kubernetes_asyncio.client.models.v1beta1_match_resources kubernetes_asyncio.client.models.v1beta1_named_rule_with_operations @@ -589,8 +621,6 @@ Submodules kubernetes_asyncio.client.models.v1beta1_resource_slice kubernetes_asyncio.client.models.v1beta1_resource_slice_list kubernetes_asyncio.client.models.v1beta1_resource_slice_spec - kubernetes_asyncio.client.models.v1beta1_self_subject_review - kubernetes_asyncio.client.models.v1beta1_self_subject_review_status kubernetes_asyncio.client.models.v1beta1_service_cidr kubernetes_asyncio.client.models.v1beta1_service_cidr_list kubernetes_asyncio.client.models.v1beta1_service_cidr_spec @@ -607,6 +637,45 @@ Submodules kubernetes_asyncio.client.models.v1beta1_variable kubernetes_asyncio.client.models.v1beta1_volume_attributes_class kubernetes_asyncio.client.models.v1beta1_volume_attributes_class_list + kubernetes_asyncio.client.models.v1beta2_allocated_device_status + kubernetes_asyncio.client.models.v1beta2_allocation_result + kubernetes_asyncio.client.models.v1beta2_cel_device_selector + kubernetes_asyncio.client.models.v1beta2_counter + kubernetes_asyncio.client.models.v1beta2_counter_set + kubernetes_asyncio.client.models.v1beta2_device + kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration + kubernetes_asyncio.client.models.v1beta2_device_allocation_result + kubernetes_asyncio.client.models.v1beta2_device_attribute + kubernetes_asyncio.client.models.v1beta2_device_capacity + kubernetes_asyncio.client.models.v1beta2_device_claim + kubernetes_asyncio.client.models.v1beta2_device_claim_configuration + kubernetes_asyncio.client.models.v1beta2_device_class + kubernetes_asyncio.client.models.v1beta2_device_class_configuration + kubernetes_asyncio.client.models.v1beta2_device_class_list + kubernetes_asyncio.client.models.v1beta2_device_class_spec + kubernetes_asyncio.client.models.v1beta2_device_constraint + kubernetes_asyncio.client.models.v1beta2_device_counter_consumption + kubernetes_asyncio.client.models.v1beta2_device_request + kubernetes_asyncio.client.models.v1beta2_device_request_allocation_result + kubernetes_asyncio.client.models.v1beta2_device_selector + kubernetes_asyncio.client.models.v1beta2_device_sub_request + kubernetes_asyncio.client.models.v1beta2_device_taint + kubernetes_asyncio.client.models.v1beta2_device_toleration + kubernetes_asyncio.client.models.v1beta2_exact_device_request + kubernetes_asyncio.client.models.v1beta2_network_device_data + kubernetes_asyncio.client.models.v1beta2_opaque_device_configuration + kubernetes_asyncio.client.models.v1beta2_resource_claim + kubernetes_asyncio.client.models.v1beta2_resource_claim_consumer_reference + kubernetes_asyncio.client.models.v1beta2_resource_claim_list + kubernetes_asyncio.client.models.v1beta2_resource_claim_spec + kubernetes_asyncio.client.models.v1beta2_resource_claim_status + kubernetes_asyncio.client.models.v1beta2_resource_claim_template + kubernetes_asyncio.client.models.v1beta2_resource_claim_template_list + kubernetes_asyncio.client.models.v1beta2_resource_claim_template_spec + kubernetes_asyncio.client.models.v1beta2_resource_pool + kubernetes_asyncio.client.models.v1beta2_resource_slice + kubernetes_asyncio.client.models.v1beta2_resource_slice_list + kubernetes_asyncio.client.models.v1beta2_resource_slice_spec kubernetes_asyncio.client.models.v2_container_resource_metric_source kubernetes_asyncio.client.models.v2_container_resource_metric_status kubernetes_asyncio.client.models.v2_cross_version_object_reference diff --git a/doc/source/kubernetes_asyncio.client.models.v1_for_node.rst b/doc/source/kubernetes_asyncio.client.models.v1_for_node.rst new file mode 100644 index 00000000..fb7aa775 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_for_node.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_for\_node module +====================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1_for_node + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1_ip_address.rst b/doc/source/kubernetes_asyncio.client.models.v1_ip_address.rst new file mode 100644 index 00000000..1b67c929 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_ip_address.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_ip\_address module +======================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1_ip_address + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1_ip_address_list.rst b/doc/source/kubernetes_asyncio.client.models.v1_ip_address_list.rst new file mode 100644 index 00000000..bfbab7db --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_ip_address_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_ip\_address\_list module +============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1_ip_address_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1_ip_address_spec.rst b/doc/source/kubernetes_asyncio.client.models.v1_ip_address_spec.rst new file mode 100644 index 00000000..fd5d5608 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_ip_address_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_ip\_address\_spec module +============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1_ip_address_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1_node_swap_status.rst b/doc/source/kubernetes_asyncio.client.models.v1_node_swap_status.rst new file mode 100644 index 00000000..e42b9c24 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_node_swap_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_node\_swap\_status module +=============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1_node_swap_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1_parent_reference.rst b/doc/source/kubernetes_asyncio.client.models.v1_parent_reference.rst new file mode 100644 index 00000000..a74b5498 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_parent_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_parent\_reference module +============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1_parent_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1_service_cidr.rst b/doc/source/kubernetes_asyncio.client.models.v1_service_cidr.rst new file mode 100644 index 00000000..1482e5a2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_service_cidr.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_service\_cidr module +========================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1_service_cidr + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1_service_cidr_list.rst b/doc/source/kubernetes_asyncio.client.models.v1_service_cidr_list.rst new file mode 100644 index 00000000..77b934fb --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_service_cidr_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_service\_cidr\_list module +================================================================ + +.. automodule:: kubernetes_asyncio.client.models.v1_service_cidr_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1_service_cidr_spec.rst b/doc/source/kubernetes_asyncio.client.models.v1_service_cidr_spec.rst new file mode 100644 index 00000000..37247aae --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_service_cidr_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_service\_cidr\_spec module +================================================================ + +.. automodule:: kubernetes_asyncio.client.models.v1_service_cidr_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1_service_cidr_status.rst b/doc/source/kubernetes_asyncio.client.models.v1_service_cidr_status.rst new file mode 100644 index 00000000..f72037b5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1_service_cidr_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1\_service\_cidr\_status module +================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1_service_cidr_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_counter.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_counter.rst new file mode 100644 index 00000000..6887f87e --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_counter.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_counter module +========================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_counter + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_counter_set.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_counter_set.rst new file mode 100644 index 00000000..9b8b1ecd --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_counter\_set module +=============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_counter_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_counter_consumption.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_counter_consumption.rst new file mode 100644 index 00000000..f9923cdb --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_device\_counter\_consumption module +=============================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_device_counter_consumption + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_sub_request.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_sub_request.rst new file mode 100644 index 00000000..03001a25 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_device\_sub\_request module +======================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_device_sub_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint.rst new file mode 100644 index 00000000..ac8995c4 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_device\_taint module +================================================================ + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_device_taint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_rule.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_rule.rst new file mode 100644 index 00000000..ee163e15 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_device\_taint\_rule module +====================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_device_taint_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_list.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_list.rst new file mode 100644 index 00000000..651c821b --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_device\_taint\_rule\_list module +============================================================================ + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec.rst new file mode 100644 index 00000000..3a003f92 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_device\_taint\_rule\_spec module +============================================================================ + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_selector.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_selector.rst new file mode 100644 index 00000000..9d6b93b3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_taint_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_device\_taint\_selector module +========================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_device_taint_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_toleration.rst b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_toleration.rst new file mode 100644 index 00000000..afca589f --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1alpha3_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1alpha3\_device\_toleration module +===================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1alpha3_device_toleration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle.rst new file mode 100644 index 00000000..3aebc600 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_cluster\_trust\_bundle module +======================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_list.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_list.rst new file mode 100644 index 00000000..b7046780 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_cluster\_trust\_bundle\_list module +============================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec.rst new file mode 100644 index 00000000..233b5230 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_cluster\_trust\_bundle\_spec module +============================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_counter.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_counter.rst new file mode 100644 index 00000000..54e50397 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_counter.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_counter module +========================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_counter + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_counter_set.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_counter_set.rst new file mode 100644 index 00000000..2a021747 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_counter\_set module +============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_counter_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_device_counter_consumption.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_device_counter_consumption.rst new file mode 100644 index 00000000..c706f2e8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_device\_counter\_consumption module +============================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_device_counter_consumption + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_device_sub_request.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_device_sub_request.rst new file mode 100644 index 00000000..f45b9d22 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_device\_sub\_request module +====================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_device_sub_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_device_taint.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_device_taint.rst new file mode 100644 index 00000000..77cfa9f6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_device\_taint module +=============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_device_taint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_device_toleration.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_device_toleration.rst new file mode 100644 index 00000000..5f766f5e --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_device\_toleration module +==================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_device_toleration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_lease_candidate.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_lease_candidate.rst new file mode 100644 index 00000000..c493e482 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_lease_candidate.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_lease\_candidate module +================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_lease_candidate + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_lease_candidate_list.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_lease_candidate_list.rst new file mode 100644 index 00000000..ec70968f --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_lease_candidate_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_lease\_candidate\_list module +======================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_lease_candidate_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta1_lease_candidate_spec.rst b/doc/source/kubernetes_asyncio.client.models.v1beta1_lease_candidate_spec.rst new file mode 100644 index 00000000..6035fa23 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta1_lease_candidate_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta1\_lease\_candidate\_spec module +======================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta1_lease_candidate_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_allocated_device_status.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_allocated_device_status.rst new file mode 100644 index 00000000..3aa8fbdb --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_allocated_device_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_allocated\_device\_status module +=========================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_allocated_device_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_allocation_result.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_allocation_result.rst new file mode 100644 index 00000000..bf12350c --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_allocation\_result module +==================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_cel_device_selector.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_cel_device_selector.rst new file mode 100644 index 00000000..ba73d288 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_cel\_device\_selector module +======================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_cel_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_counter.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_counter.rst new file mode 100644 index 00000000..5482ef05 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_counter.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_counter module +========================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_counter + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_counter_set.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_counter_set.rst new file mode 100644 index 00000000..86e44094 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_counter\_set module +============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_counter_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device.rst new file mode 100644 index 00000000..59464979 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device module +======================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration.rst new file mode 100644 index 00000000..7f7868f0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_allocation\_configuration module +=================================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_allocation_result.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_allocation_result.rst new file mode 100644 index 00000000..f3eb6d87 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_allocation\_result module +============================================================================ + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_attribute.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_attribute.rst new file mode 100644 index 00000000..8b5dd7e2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_attribute module +=================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_attribute + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_capacity.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_capacity.rst new file mode 100644 index 00000000..7da54678 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_capacity.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_capacity module +================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_capacity + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_claim.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_claim.rst new file mode 100644 index 00000000..0ba89c5f --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_claim module +=============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_claim_configuration.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_claim_configuration.rst new file mode 100644 index 00000000..40ff9b83 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_claim\_configuration module +============================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_claim_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class.rst new file mode 100644 index 00000000..9d50b0f5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_class module +=============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class_configuration.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class_configuration.rst new file mode 100644 index 00000000..aefe8e44 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_class\_configuration module +============================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_class_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class_list.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class_list.rst new file mode 100644 index 00000000..f41feecc --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_class\_list module +===================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class_spec.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class_spec.rst new file mode 100644 index 00000000..c7ecf793 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_class\_spec module +===================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_class_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_constraint.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_constraint.rst new file mode 100644 index 00000000..72b82927 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_constraint module +==================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_constraint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_counter_consumption.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_counter_consumption.rst new file mode 100644 index 00000000..424e1a2b --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_counter\_consumption module +============================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_counter_consumption + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_request.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_request.rst new file mode 100644 index 00000000..5ad4c24a --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_request module +================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_request_allocation_result.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_request_allocation_result.rst new file mode 100644 index 00000000..1fac0475 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_request\_allocation\_result module +===================================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_request_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_selector.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_selector.rst new file mode 100644 index 00000000..165c1525 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_selector module +================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_sub_request.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_sub_request.rst new file mode 100644 index 00000000..1dd104dd --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_sub\_request module +====================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_sub_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_taint.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_taint.rst new file mode 100644 index 00000000..844ade9f --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_taint module +=============================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_taint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_device_toleration.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_toleration.rst new file mode 100644 index 00000000..6e40d550 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_device\_toleration module +==================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_device_toleration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_exact_device_request.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_exact_device_request.rst new file mode 100644 index 00000000..a82e39c8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_exact_device_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_exact\_device\_request module +======================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_exact_device_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_network_device_data.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_network_device_data.rst new file mode 100644 index 00000000..b9728686 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_network_device_data.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_network\_device\_data module +======================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_network_device_data + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_opaque_device_configuration.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_opaque_device_configuration.rst new file mode 100644 index 00000000..3884edf2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_opaque_device_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_opaque\_device\_configuration module +=============================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_opaque_device_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim.rst new file mode 100644 index 00000000..0f1e0999 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_claim module +================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_consumer_reference.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_consumer_reference.rst new file mode 100644 index 00000000..7334c7dc --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_consumer_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_claim\_consumer\_reference module +====================================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_claim_consumer_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_list.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_list.rst new file mode 100644 index 00000000..964205f8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_claim\_list module +======================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_claim_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_spec.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_spec.rst new file mode 100644 index 00000000..3b843d5f --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_claim\_spec module +======================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_claim_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_status.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_status.rst new file mode 100644 index 00000000..03a1beb3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_claim\_status module +========================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_claim_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_template.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_template.rst new file mode 100644 index 00000000..8ef5d48a --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_claim\_template module +=========================================================================== + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_claim_template + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_template_list.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_template_list.rst new file mode 100644 index 00000000..7b76d25d --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_template_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_claim\_template\_list module +================================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_claim_template_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_template_spec.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_template_spec.rst new file mode 100644 index 00000000..eb521b5a --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_claim_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_claim\_template\_spec module +================================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_claim_template_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_pool.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_pool.rst new file mode 100644 index 00000000..6e93c052 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_pool module +================================================================ + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_pool + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_slice.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_slice.rst new file mode 100644 index 00000000..48bdad32 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_slice module +================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_slice + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_slice_list.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_slice_list.rst new file mode 100644 index 00000000..839f3abb --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_slice\_list module +======================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_slice_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_slice_spec.rst b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_slice_spec.rst new file mode 100644 index 00000000..36084c38 --- /dev/null +++ b/doc/source/kubernetes_asyncio.client.models.v1beta2_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.client.models.v1beta2\_resource\_slice\_spec module +======================================================================= + +.. automodule:: kubernetes_asyncio.client.models.v1beta2_resource_slice_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.leaderelection.electionconfig.rst b/doc/source/kubernetes_asyncio.leaderelection.electionconfig.rst new file mode 100644 index 00000000..1dca1107 --- /dev/null +++ b/doc/source/kubernetes_asyncio.leaderelection.electionconfig.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.leaderelection.electionconfig module +======================================================== + +.. automodule:: kubernetes_asyncio.leaderelection.electionconfig + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.leaderelection.leaderelection.rst b/doc/source/kubernetes_asyncio.leaderelection.leaderelection.rst new file mode 100644 index 00000000..882ae865 --- /dev/null +++ b/doc/source/kubernetes_asyncio.leaderelection.leaderelection.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.leaderelection.leaderelection module +======================================================== + +.. automodule:: kubernetes_asyncio.leaderelection.leaderelection + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.leaderelection.leaderelection_test.rst b/doc/source/kubernetes_asyncio.leaderelection.leaderelection_test.rst new file mode 100644 index 00000000..b26f10a3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.leaderelection.leaderelection_test.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.leaderelection.leaderelection\_test module +============================================================== + +.. automodule:: kubernetes_asyncio.leaderelection.leaderelection_test + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.leaderelection.leaderelectionrecord.rst b/doc/source/kubernetes_asyncio.leaderelection.leaderelectionrecord.rst new file mode 100644 index 00000000..121829b0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.leaderelection.leaderelectionrecord.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.leaderelection.leaderelectionrecord module +============================================================== + +.. automodule:: kubernetes_asyncio.leaderelection.leaderelectionrecord + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.leaderelection.resourcelock.configmaplock.rst b/doc/source/kubernetes_asyncio.leaderelection.resourcelock.configmaplock.rst new file mode 100644 index 00000000..d21fc2cd --- /dev/null +++ b/doc/source/kubernetes_asyncio.leaderelection.resourcelock.configmaplock.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.leaderelection.resourcelock.configmaplock module +==================================================================== + +.. automodule:: kubernetes_asyncio.leaderelection.resourcelock.configmaplock + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.leaderelection.resourcelock.leaselock.rst b/doc/source/kubernetes_asyncio.leaderelection.resourcelock.leaselock.rst new file mode 100644 index 00000000..d4f567a4 --- /dev/null +++ b/doc/source/kubernetes_asyncio.leaderelection.resourcelock.leaselock.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.leaderelection.resourcelock.leaselock module +================================================================ + +.. automodule:: kubernetes_asyncio.leaderelection.resourcelock.leaselock + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.leaderelection.resourcelock.rst b/doc/source/kubernetes_asyncio.leaderelection.resourcelock.rst new file mode 100644 index 00000000..e201353d --- /dev/null +++ b/doc/source/kubernetes_asyncio.leaderelection.resourcelock.rst @@ -0,0 +1,19 @@ +kubernetes\_asyncio.leaderelection.resourcelock package +======================================================= + +Submodules +---------- + +.. toctree:: + :maxdepth: 4 + + kubernetes_asyncio.leaderelection.resourcelock.configmaplock + kubernetes_asyncio.leaderelection.resourcelock.leaselock + +Module contents +--------------- + +.. automodule:: kubernetes_asyncio.leaderelection.resourcelock + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.leaderelection.rst b/doc/source/kubernetes_asyncio.leaderelection.rst new file mode 100644 index 00000000..2cc6434d --- /dev/null +++ b/doc/source/kubernetes_asyncio.leaderelection.rst @@ -0,0 +1,29 @@ +kubernetes\_asyncio.leaderelection package +========================================== + +Subpackages +----------- + +.. toctree:: + :maxdepth: 4 + + kubernetes_asyncio.leaderelection.resourcelock + +Submodules +---------- + +.. toctree:: + :maxdepth: 4 + + kubernetes_asyncio.leaderelection.electionconfig + kubernetes_asyncio.leaderelection.leaderelection + kubernetes_asyncio.leaderelection.leaderelection_test + kubernetes_asyncio.leaderelection.leaderelectionrecord + +Module contents +--------------- + +.. automodule:: kubernetes_asyncio.leaderelection + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.rst b/doc/source/kubernetes_asyncio.rst index 4cb6d390..16c9949d 100644 --- a/doc/source/kubernetes_asyncio.rst +++ b/doc/source/kubernetes_asyncio.rst @@ -11,6 +11,7 @@ Subpackages kubernetes_asyncio.config kubernetes_asyncio.dynamic kubernetes_asyncio.e2e_test + kubernetes_asyncio.leaderelection kubernetes_asyncio.stream kubernetes_asyncio.test kubernetes_asyncio.utils diff --git a/doc/source/kubernetes_asyncio.test.rst b/doc/source/kubernetes_asyncio.test.rst index aa2a7046..32347cc5 100644 --- a/doc/source/kubernetes_asyncio.test.rst +++ b/doc/source/kubernetes_asyncio.test.rst @@ -9,18 +9,23 @@ Submodules kubernetes_asyncio.test.test_admissionregistration_api kubernetes_asyncio.test.test_admissionregistration_v1_api + kubernetes_asyncio.test.test_admissionregistration_v1_service_reference + kubernetes_asyncio.test.test_admissionregistration_v1_webhook_client_config kubernetes_asyncio.test.test_admissionregistration_v1alpha1_api kubernetes_asyncio.test.test_admissionregistration_v1beta1_api kubernetes_asyncio.test.test_apiextensions_api kubernetes_asyncio.test.test_apiextensions_v1_api + kubernetes_asyncio.test.test_apiextensions_v1_service_reference + kubernetes_asyncio.test.test_apiextensions_v1_webhook_client_config kubernetes_asyncio.test.test_apiregistration_api kubernetes_asyncio.test.test_apiregistration_v1_api + kubernetes_asyncio.test.test_apiregistration_v1_service_reference kubernetes_asyncio.test.test_apis_api kubernetes_asyncio.test.test_apps_api kubernetes_asyncio.test.test_apps_v1_api kubernetes_asyncio.test.test_authentication_api kubernetes_asyncio.test.test_authentication_v1_api - kubernetes_asyncio.test.test_authentication_v1beta1_api + kubernetes_asyncio.test.test_authentication_v1_token_request kubernetes_asyncio.test.test_authorization_api kubernetes_asyncio.test.test_authorization_v1_api kubernetes_asyncio.test.test_autoscaling_api @@ -31,18 +36,29 @@ Submodules kubernetes_asyncio.test.test_certificates_api kubernetes_asyncio.test.test_certificates_v1_api kubernetes_asyncio.test.test_certificates_v1alpha1_api + kubernetes_asyncio.test.test_certificates_v1beta1_api kubernetes_asyncio.test.test_coordination_api kubernetes_asyncio.test.test_coordination_v1_api kubernetes_asyncio.test.test_coordination_v1alpha2_api + kubernetes_asyncio.test.test_coordination_v1beta1_api kubernetes_asyncio.test.test_core_api kubernetes_asyncio.test.test_core_v1_api + kubernetes_asyncio.test.test_core_v1_endpoint_port + kubernetes_asyncio.test.test_core_v1_event + kubernetes_asyncio.test.test_core_v1_event_list + kubernetes_asyncio.test.test_core_v1_event_series kubernetes_asyncio.test.test_custom_objects_api kubernetes_asyncio.test.test_discovery_api kubernetes_asyncio.test.test_discovery_v1_api + kubernetes_asyncio.test.test_discovery_v1_endpoint_port kubernetes_asyncio.test.test_events_api kubernetes_asyncio.test.test_events_v1_api + kubernetes_asyncio.test.test_events_v1_event + kubernetes_asyncio.test.test_events_v1_event_list + kubernetes_asyncio.test.test_events_v1_event_series kubernetes_asyncio.test.test_flowcontrol_apiserver_api kubernetes_asyncio.test.test_flowcontrol_apiserver_v1_api + kubernetes_asyncio.test.test_flowcontrol_v1_subject kubernetes_asyncio.test.test_internal_apiserver_api kubernetes_asyncio.test.test_internal_apiserver_v1alpha1_api kubernetes_asyncio.test.test_logs_api @@ -56,18 +72,698 @@ Submodules kubernetes_asyncio.test.test_policy_v1_api kubernetes_asyncio.test.test_rbac_authorization_api kubernetes_asyncio.test.test_rbac_authorization_v1_api + kubernetes_asyncio.test.test_rbac_v1_subject kubernetes_asyncio.test.test_resource_api kubernetes_asyncio.test.test_resource_v1alpha3_api kubernetes_asyncio.test.test_resource_v1beta1_api + kubernetes_asyncio.test.test_resource_v1beta2_api kubernetes_asyncio.test.test_scheduling_api kubernetes_asyncio.test.test_scheduling_v1_api kubernetes_asyncio.test.test_storage_api kubernetes_asyncio.test.test_storage_v1_api + kubernetes_asyncio.test.test_storage_v1_token_request kubernetes_asyncio.test.test_storage_v1alpha1_api kubernetes_asyncio.test.test_storage_v1beta1_api kubernetes_asyncio.test.test_storagemigration_api kubernetes_asyncio.test.test_storagemigration_v1alpha1_api + kubernetes_asyncio.test.test_v1_affinity + kubernetes_asyncio.test.test_v1_aggregation_rule + kubernetes_asyncio.test.test_v1_api_group + kubernetes_asyncio.test.test_v1_api_group_list + kubernetes_asyncio.test.test_v1_api_resource + kubernetes_asyncio.test.test_v1_api_resource_list + kubernetes_asyncio.test.test_v1_api_service + kubernetes_asyncio.test.test_v1_api_service_condition + kubernetes_asyncio.test.test_v1_api_service_list + kubernetes_asyncio.test.test_v1_api_service_spec + kubernetes_asyncio.test.test_v1_api_service_status + kubernetes_asyncio.test.test_v1_api_versions + kubernetes_asyncio.test.test_v1_app_armor_profile + kubernetes_asyncio.test.test_v1_attached_volume + kubernetes_asyncio.test.test_v1_audit_annotation + kubernetes_asyncio.test.test_v1_aws_elastic_block_store_volume_source + kubernetes_asyncio.test.test_v1_azure_disk_volume_source + kubernetes_asyncio.test.test_v1_azure_file_persistent_volume_source + kubernetes_asyncio.test.test_v1_azure_file_volume_source + kubernetes_asyncio.test.test_v1_binding + kubernetes_asyncio.test.test_v1_bound_object_reference + kubernetes_asyncio.test.test_v1_capabilities + kubernetes_asyncio.test.test_v1_ceph_fs_persistent_volume_source + kubernetes_asyncio.test.test_v1_ceph_fs_volume_source + kubernetes_asyncio.test.test_v1_certificate_signing_request + kubernetes_asyncio.test.test_v1_certificate_signing_request_condition + kubernetes_asyncio.test.test_v1_certificate_signing_request_list + kubernetes_asyncio.test.test_v1_certificate_signing_request_spec + kubernetes_asyncio.test.test_v1_certificate_signing_request_status + kubernetes_asyncio.test.test_v1_cinder_persistent_volume_source + kubernetes_asyncio.test.test_v1_cinder_volume_source + kubernetes_asyncio.test.test_v1_client_ip_config + kubernetes_asyncio.test.test_v1_cluster_role + kubernetes_asyncio.test.test_v1_cluster_role_binding + kubernetes_asyncio.test.test_v1_cluster_role_binding_list + kubernetes_asyncio.test.test_v1_cluster_role_list + kubernetes_asyncio.test.test_v1_cluster_trust_bundle_projection + kubernetes_asyncio.test.test_v1_component_condition + kubernetes_asyncio.test.test_v1_component_status + kubernetes_asyncio.test.test_v1_component_status_list + kubernetes_asyncio.test.test_v1_condition + kubernetes_asyncio.test.test_v1_config_map + kubernetes_asyncio.test.test_v1_config_map_env_source + kubernetes_asyncio.test.test_v1_config_map_key_selector + kubernetes_asyncio.test.test_v1_config_map_list + kubernetes_asyncio.test.test_v1_config_map_node_config_source + kubernetes_asyncio.test.test_v1_config_map_projection + kubernetes_asyncio.test.test_v1_config_map_volume_source + kubernetes_asyncio.test.test_v1_container + kubernetes_asyncio.test.test_v1_container_image + kubernetes_asyncio.test.test_v1_container_port + kubernetes_asyncio.test.test_v1_container_resize_policy + kubernetes_asyncio.test.test_v1_container_state + kubernetes_asyncio.test.test_v1_container_state_running + kubernetes_asyncio.test.test_v1_container_state_terminated + kubernetes_asyncio.test.test_v1_container_state_waiting + kubernetes_asyncio.test.test_v1_container_status + kubernetes_asyncio.test.test_v1_container_user + kubernetes_asyncio.test.test_v1_controller_revision + kubernetes_asyncio.test.test_v1_controller_revision_list + kubernetes_asyncio.test.test_v1_cron_job + kubernetes_asyncio.test.test_v1_cron_job_list + kubernetes_asyncio.test.test_v1_cron_job_spec + kubernetes_asyncio.test.test_v1_cron_job_status + kubernetes_asyncio.test.test_v1_cross_version_object_reference + kubernetes_asyncio.test.test_v1_csi_driver + kubernetes_asyncio.test.test_v1_csi_driver_list + kubernetes_asyncio.test.test_v1_csi_driver_spec + kubernetes_asyncio.test.test_v1_csi_node + kubernetes_asyncio.test.test_v1_csi_node_driver + kubernetes_asyncio.test.test_v1_csi_node_list + kubernetes_asyncio.test.test_v1_csi_node_spec + kubernetes_asyncio.test.test_v1_csi_persistent_volume_source + kubernetes_asyncio.test.test_v1_csi_storage_capacity + kubernetes_asyncio.test.test_v1_csi_storage_capacity_list + kubernetes_asyncio.test.test_v1_csi_volume_source + kubernetes_asyncio.test.test_v1_custom_resource_column_definition + kubernetes_asyncio.test.test_v1_custom_resource_conversion + kubernetes_asyncio.test.test_v1_custom_resource_definition + kubernetes_asyncio.test.test_v1_custom_resource_definition_condition + kubernetes_asyncio.test.test_v1_custom_resource_definition_list + kubernetes_asyncio.test.test_v1_custom_resource_definition_names + kubernetes_asyncio.test.test_v1_custom_resource_definition_spec + kubernetes_asyncio.test.test_v1_custom_resource_definition_status + kubernetes_asyncio.test.test_v1_custom_resource_definition_version + kubernetes_asyncio.test.test_v1_custom_resource_subresource_scale + kubernetes_asyncio.test.test_v1_custom_resource_subresources + kubernetes_asyncio.test.test_v1_custom_resource_validation + kubernetes_asyncio.test.test_v1_daemon_endpoint + kubernetes_asyncio.test.test_v1_daemon_set + kubernetes_asyncio.test.test_v1_daemon_set_condition + kubernetes_asyncio.test.test_v1_daemon_set_list + kubernetes_asyncio.test.test_v1_daemon_set_spec + kubernetes_asyncio.test.test_v1_daemon_set_status + kubernetes_asyncio.test.test_v1_daemon_set_update_strategy + kubernetes_asyncio.test.test_v1_delete_options + kubernetes_asyncio.test.test_v1_deployment + kubernetes_asyncio.test.test_v1_deployment_condition + kubernetes_asyncio.test.test_v1_deployment_list + kubernetes_asyncio.test.test_v1_deployment_spec + kubernetes_asyncio.test.test_v1_deployment_status + kubernetes_asyncio.test.test_v1_deployment_strategy + kubernetes_asyncio.test.test_v1_downward_api_projection + kubernetes_asyncio.test.test_v1_downward_api_volume_file + kubernetes_asyncio.test.test_v1_downward_api_volume_source + kubernetes_asyncio.test.test_v1_empty_dir_volume_source + kubernetes_asyncio.test.test_v1_endpoint + kubernetes_asyncio.test.test_v1_endpoint_address + kubernetes_asyncio.test.test_v1_endpoint_conditions + kubernetes_asyncio.test.test_v1_endpoint_hints + kubernetes_asyncio.test.test_v1_endpoint_slice + kubernetes_asyncio.test.test_v1_endpoint_slice_list + kubernetes_asyncio.test.test_v1_endpoint_subset + kubernetes_asyncio.test.test_v1_endpoints + kubernetes_asyncio.test.test_v1_endpoints_list + kubernetes_asyncio.test.test_v1_env_from_source + kubernetes_asyncio.test.test_v1_env_var + kubernetes_asyncio.test.test_v1_env_var_source + kubernetes_asyncio.test.test_v1_ephemeral_container + kubernetes_asyncio.test.test_v1_ephemeral_volume_source + kubernetes_asyncio.test.test_v1_event_source + kubernetes_asyncio.test.test_v1_eviction + kubernetes_asyncio.test.test_v1_exec_action + kubernetes_asyncio.test.test_v1_exempt_priority_level_configuration + kubernetes_asyncio.test.test_v1_expression_warning + kubernetes_asyncio.test.test_v1_external_documentation + kubernetes_asyncio.test.test_v1_fc_volume_source + kubernetes_asyncio.test.test_v1_field_selector_attributes + kubernetes_asyncio.test.test_v1_field_selector_requirement + kubernetes_asyncio.test.test_v1_flex_persistent_volume_source + kubernetes_asyncio.test.test_v1_flex_volume_source + kubernetes_asyncio.test.test_v1_flocker_volume_source + kubernetes_asyncio.test.test_v1_flow_distinguisher_method + kubernetes_asyncio.test.test_v1_flow_schema + kubernetes_asyncio.test.test_v1_flow_schema_condition + kubernetes_asyncio.test.test_v1_flow_schema_list + kubernetes_asyncio.test.test_v1_flow_schema_spec + kubernetes_asyncio.test.test_v1_flow_schema_status + kubernetes_asyncio.test.test_v1_for_node + kubernetes_asyncio.test.test_v1_for_zone + kubernetes_asyncio.test.test_v1_gce_persistent_disk_volume_source + kubernetes_asyncio.test.test_v1_git_repo_volume_source + kubernetes_asyncio.test.test_v1_glusterfs_persistent_volume_source + kubernetes_asyncio.test.test_v1_glusterfs_volume_source + kubernetes_asyncio.test.test_v1_group_subject + kubernetes_asyncio.test.test_v1_group_version_for_discovery + kubernetes_asyncio.test.test_v1_grpc_action + kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler + kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_list + kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_spec + kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_status + kubernetes_asyncio.test.test_v1_host_alias + kubernetes_asyncio.test.test_v1_host_ip + kubernetes_asyncio.test.test_v1_host_path_volume_source + kubernetes_asyncio.test.test_v1_http_get_action + kubernetes_asyncio.test.test_v1_http_header + kubernetes_asyncio.test.test_v1_http_ingress_path + kubernetes_asyncio.test.test_v1_http_ingress_rule_value + kubernetes_asyncio.test.test_v1_image_volume_source + kubernetes_asyncio.test.test_v1_ingress + kubernetes_asyncio.test.test_v1_ingress_backend + kubernetes_asyncio.test.test_v1_ingress_class + kubernetes_asyncio.test.test_v1_ingress_class_list + kubernetes_asyncio.test.test_v1_ingress_class_parameters_reference + kubernetes_asyncio.test.test_v1_ingress_class_spec + kubernetes_asyncio.test.test_v1_ingress_list + kubernetes_asyncio.test.test_v1_ingress_load_balancer_ingress + kubernetes_asyncio.test.test_v1_ingress_load_balancer_status + kubernetes_asyncio.test.test_v1_ingress_port_status + kubernetes_asyncio.test.test_v1_ingress_rule + kubernetes_asyncio.test.test_v1_ingress_service_backend + kubernetes_asyncio.test.test_v1_ingress_spec + kubernetes_asyncio.test.test_v1_ingress_status + kubernetes_asyncio.test.test_v1_ingress_tls + kubernetes_asyncio.test.test_v1_ip_address + kubernetes_asyncio.test.test_v1_ip_address_list + kubernetes_asyncio.test.test_v1_ip_address_spec + kubernetes_asyncio.test.test_v1_ip_block + kubernetes_asyncio.test.test_v1_iscsi_persistent_volume_source + kubernetes_asyncio.test.test_v1_iscsi_volume_source + kubernetes_asyncio.test.test_v1_job + kubernetes_asyncio.test.test_v1_job_condition + kubernetes_asyncio.test.test_v1_job_list + kubernetes_asyncio.test.test_v1_job_spec + kubernetes_asyncio.test.test_v1_job_status + kubernetes_asyncio.test.test_v1_job_template_spec + kubernetes_asyncio.test.test_v1_json_schema_props + kubernetes_asyncio.test.test_v1_key_to_path + kubernetes_asyncio.test.test_v1_label_selector + kubernetes_asyncio.test.test_v1_label_selector_attributes + kubernetes_asyncio.test.test_v1_label_selector_requirement + kubernetes_asyncio.test.test_v1_lease + kubernetes_asyncio.test.test_v1_lease_list + kubernetes_asyncio.test.test_v1_lease_spec + kubernetes_asyncio.test.test_v1_lifecycle + kubernetes_asyncio.test.test_v1_lifecycle_handler + kubernetes_asyncio.test.test_v1_limit_range + kubernetes_asyncio.test.test_v1_limit_range_item + kubernetes_asyncio.test.test_v1_limit_range_list + kubernetes_asyncio.test.test_v1_limit_range_spec + kubernetes_asyncio.test.test_v1_limit_response + kubernetes_asyncio.test.test_v1_limited_priority_level_configuration + kubernetes_asyncio.test.test_v1_linux_container_user + kubernetes_asyncio.test.test_v1_list_meta + kubernetes_asyncio.test.test_v1_load_balancer_ingress + kubernetes_asyncio.test.test_v1_load_balancer_status + kubernetes_asyncio.test.test_v1_local_object_reference + kubernetes_asyncio.test.test_v1_local_subject_access_review + kubernetes_asyncio.test.test_v1_local_volume_source + kubernetes_asyncio.test.test_v1_managed_fields_entry + kubernetes_asyncio.test.test_v1_match_condition + kubernetes_asyncio.test.test_v1_match_resources + kubernetes_asyncio.test.test_v1_modify_volume_status + kubernetes_asyncio.test.test_v1_mutating_webhook + kubernetes_asyncio.test.test_v1_mutating_webhook_configuration + kubernetes_asyncio.test.test_v1_mutating_webhook_configuration_list + kubernetes_asyncio.test.test_v1_named_rule_with_operations + kubernetes_asyncio.test.test_v1_namespace + kubernetes_asyncio.test.test_v1_namespace_condition + kubernetes_asyncio.test.test_v1_namespace_list + kubernetes_asyncio.test.test_v1_namespace_spec + kubernetes_asyncio.test.test_v1_namespace_status + kubernetes_asyncio.test.test_v1_network_policy + kubernetes_asyncio.test.test_v1_network_policy_egress_rule + kubernetes_asyncio.test.test_v1_network_policy_ingress_rule + kubernetes_asyncio.test.test_v1_network_policy_list + kubernetes_asyncio.test.test_v1_network_policy_peer + kubernetes_asyncio.test.test_v1_network_policy_port + kubernetes_asyncio.test.test_v1_network_policy_spec + kubernetes_asyncio.test.test_v1_nfs_volume_source + kubernetes_asyncio.test.test_v1_node + kubernetes_asyncio.test.test_v1_node_address + kubernetes_asyncio.test.test_v1_node_affinity + kubernetes_asyncio.test.test_v1_node_condition + kubernetes_asyncio.test.test_v1_node_config_source + kubernetes_asyncio.test.test_v1_node_config_status + kubernetes_asyncio.test.test_v1_node_daemon_endpoints + kubernetes_asyncio.test.test_v1_node_features + kubernetes_asyncio.test.test_v1_node_list + kubernetes_asyncio.test.test_v1_node_runtime_handler + kubernetes_asyncio.test.test_v1_node_runtime_handler_features + kubernetes_asyncio.test.test_v1_node_selector + kubernetes_asyncio.test.test_v1_node_selector_requirement + kubernetes_asyncio.test.test_v1_node_selector_term + kubernetes_asyncio.test.test_v1_node_spec + kubernetes_asyncio.test.test_v1_node_status + kubernetes_asyncio.test.test_v1_node_swap_status + kubernetes_asyncio.test.test_v1_node_system_info + kubernetes_asyncio.test.test_v1_non_resource_attributes + kubernetes_asyncio.test.test_v1_non_resource_policy_rule + kubernetes_asyncio.test.test_v1_non_resource_rule + kubernetes_asyncio.test.test_v1_object_field_selector + kubernetes_asyncio.test.test_v1_object_meta + kubernetes_asyncio.test.test_v1_object_reference + kubernetes_asyncio.test.test_v1_overhead + kubernetes_asyncio.test.test_v1_owner_reference + kubernetes_asyncio.test.test_v1_param_kind + kubernetes_asyncio.test.test_v1_param_ref + kubernetes_asyncio.test.test_v1_parent_reference + kubernetes_asyncio.test.test_v1_persistent_volume + kubernetes_asyncio.test.test_v1_persistent_volume_claim + kubernetes_asyncio.test.test_v1_persistent_volume_claim_condition + kubernetes_asyncio.test.test_v1_persistent_volume_claim_list + kubernetes_asyncio.test.test_v1_persistent_volume_claim_spec + kubernetes_asyncio.test.test_v1_persistent_volume_claim_status + kubernetes_asyncio.test.test_v1_persistent_volume_claim_template + kubernetes_asyncio.test.test_v1_persistent_volume_claim_volume_source + kubernetes_asyncio.test.test_v1_persistent_volume_list + kubernetes_asyncio.test.test_v1_persistent_volume_spec + kubernetes_asyncio.test.test_v1_persistent_volume_status + kubernetes_asyncio.test.test_v1_photon_persistent_disk_volume_source + kubernetes_asyncio.test.test_v1_pod + kubernetes_asyncio.test.test_v1_pod_affinity + kubernetes_asyncio.test.test_v1_pod_affinity_term + kubernetes_asyncio.test.test_v1_pod_anti_affinity + kubernetes_asyncio.test.test_v1_pod_condition + kubernetes_asyncio.test.test_v1_pod_disruption_budget + kubernetes_asyncio.test.test_v1_pod_disruption_budget_list + kubernetes_asyncio.test.test_v1_pod_disruption_budget_spec + kubernetes_asyncio.test.test_v1_pod_disruption_budget_status + kubernetes_asyncio.test.test_v1_pod_dns_config + kubernetes_asyncio.test.test_v1_pod_dns_config_option + kubernetes_asyncio.test.test_v1_pod_failure_policy + kubernetes_asyncio.test.test_v1_pod_failure_policy_on_exit_codes_requirement + kubernetes_asyncio.test.test_v1_pod_failure_policy_on_pod_conditions_pattern + kubernetes_asyncio.test.test_v1_pod_failure_policy_rule + kubernetes_asyncio.test.test_v1_pod_ip + kubernetes_asyncio.test.test_v1_pod_list + kubernetes_asyncio.test.test_v1_pod_os + kubernetes_asyncio.test.test_v1_pod_readiness_gate + kubernetes_asyncio.test.test_v1_pod_resource_claim + kubernetes_asyncio.test.test_v1_pod_resource_claim_status + kubernetes_asyncio.test.test_v1_pod_scheduling_gate + kubernetes_asyncio.test.test_v1_pod_security_context + kubernetes_asyncio.test.test_v1_pod_spec + kubernetes_asyncio.test.test_v1_pod_status + kubernetes_asyncio.test.test_v1_pod_template + kubernetes_asyncio.test.test_v1_pod_template_list + kubernetes_asyncio.test.test_v1_pod_template_spec + kubernetes_asyncio.test.test_v1_policy_rule + kubernetes_asyncio.test.test_v1_policy_rules_with_subjects + kubernetes_asyncio.test.test_v1_port_status + kubernetes_asyncio.test.test_v1_portworx_volume_source + kubernetes_asyncio.test.test_v1_preconditions + kubernetes_asyncio.test.test_v1_preferred_scheduling_term + kubernetes_asyncio.test.test_v1_priority_class + kubernetes_asyncio.test.test_v1_priority_class_list + kubernetes_asyncio.test.test_v1_priority_level_configuration + kubernetes_asyncio.test.test_v1_priority_level_configuration_condition + kubernetes_asyncio.test.test_v1_priority_level_configuration_list + kubernetes_asyncio.test.test_v1_priority_level_configuration_reference + kubernetes_asyncio.test.test_v1_priority_level_configuration_spec + kubernetes_asyncio.test.test_v1_priority_level_configuration_status + kubernetes_asyncio.test.test_v1_probe + kubernetes_asyncio.test.test_v1_projected_volume_source + kubernetes_asyncio.test.test_v1_queuing_configuration + kubernetes_asyncio.test.test_v1_quobyte_volume_source + kubernetes_asyncio.test.test_v1_rbd_persistent_volume_source + kubernetes_asyncio.test.test_v1_rbd_volume_source + kubernetes_asyncio.test.test_v1_replica_set + kubernetes_asyncio.test.test_v1_replica_set_condition + kubernetes_asyncio.test.test_v1_replica_set_list + kubernetes_asyncio.test.test_v1_replica_set_spec + kubernetes_asyncio.test.test_v1_replica_set_status + kubernetes_asyncio.test.test_v1_replication_controller + kubernetes_asyncio.test.test_v1_replication_controller_condition + kubernetes_asyncio.test.test_v1_replication_controller_list + kubernetes_asyncio.test.test_v1_replication_controller_spec + kubernetes_asyncio.test.test_v1_replication_controller_status + kubernetes_asyncio.test.test_v1_resource_attributes + kubernetes_asyncio.test.test_v1_resource_claim + kubernetes_asyncio.test.test_v1_resource_field_selector + kubernetes_asyncio.test.test_v1_resource_health + kubernetes_asyncio.test.test_v1_resource_policy_rule + kubernetes_asyncio.test.test_v1_resource_quota + kubernetes_asyncio.test.test_v1_resource_quota_list + kubernetes_asyncio.test.test_v1_resource_quota_spec + kubernetes_asyncio.test.test_v1_resource_quota_status + kubernetes_asyncio.test.test_v1_resource_requirements + kubernetes_asyncio.test.test_v1_resource_rule + kubernetes_asyncio.test.test_v1_resource_status + kubernetes_asyncio.test.test_v1_role + kubernetes_asyncio.test.test_v1_role_binding + kubernetes_asyncio.test.test_v1_role_binding_list + kubernetes_asyncio.test.test_v1_role_list + kubernetes_asyncio.test.test_v1_role_ref + kubernetes_asyncio.test.test_v1_rolling_update_daemon_set + kubernetes_asyncio.test.test_v1_rolling_update_deployment + kubernetes_asyncio.test.test_v1_rolling_update_stateful_set_strategy + kubernetes_asyncio.test.test_v1_rule_with_operations + kubernetes_asyncio.test.test_v1_runtime_class + kubernetes_asyncio.test.test_v1_runtime_class_list + kubernetes_asyncio.test.test_v1_scale + kubernetes_asyncio.test.test_v1_scale_io_persistent_volume_source + kubernetes_asyncio.test.test_v1_scale_io_volume_source + kubernetes_asyncio.test.test_v1_scale_spec + kubernetes_asyncio.test.test_v1_scale_status + kubernetes_asyncio.test.test_v1_scheduling + kubernetes_asyncio.test.test_v1_scope_selector + kubernetes_asyncio.test.test_v1_scoped_resource_selector_requirement + kubernetes_asyncio.test.test_v1_se_linux_options + kubernetes_asyncio.test.test_v1_seccomp_profile + kubernetes_asyncio.test.test_v1_secret + kubernetes_asyncio.test.test_v1_secret_env_source + kubernetes_asyncio.test.test_v1_secret_key_selector + kubernetes_asyncio.test.test_v1_secret_list + kubernetes_asyncio.test.test_v1_secret_projection + kubernetes_asyncio.test.test_v1_secret_reference + kubernetes_asyncio.test.test_v1_secret_volume_source + kubernetes_asyncio.test.test_v1_security_context + kubernetes_asyncio.test.test_v1_selectable_field + kubernetes_asyncio.test.test_v1_self_subject_access_review + kubernetes_asyncio.test.test_v1_self_subject_access_review_spec + kubernetes_asyncio.test.test_v1_self_subject_review + kubernetes_asyncio.test.test_v1_self_subject_review_status + kubernetes_asyncio.test.test_v1_self_subject_rules_review + kubernetes_asyncio.test.test_v1_self_subject_rules_review_spec + kubernetes_asyncio.test.test_v1_server_address_by_client_cidr + kubernetes_asyncio.test.test_v1_service + kubernetes_asyncio.test.test_v1_service_account + kubernetes_asyncio.test.test_v1_service_account_list + kubernetes_asyncio.test.test_v1_service_account_subject + kubernetes_asyncio.test.test_v1_service_account_token_projection + kubernetes_asyncio.test.test_v1_service_backend_port + kubernetes_asyncio.test.test_v1_service_cidr + kubernetes_asyncio.test.test_v1_service_cidr_list + kubernetes_asyncio.test.test_v1_service_cidr_spec + kubernetes_asyncio.test.test_v1_service_cidr_status + kubernetes_asyncio.test.test_v1_service_list + kubernetes_asyncio.test.test_v1_service_port + kubernetes_asyncio.test.test_v1_service_spec + kubernetes_asyncio.test.test_v1_service_status + kubernetes_asyncio.test.test_v1_session_affinity_config + kubernetes_asyncio.test.test_v1_sleep_action + kubernetes_asyncio.test.test_v1_stateful_set + kubernetes_asyncio.test.test_v1_stateful_set_condition + kubernetes_asyncio.test.test_v1_stateful_set_list + kubernetes_asyncio.test.test_v1_stateful_set_ordinals + kubernetes_asyncio.test.test_v1_stateful_set_persistent_volume_claim_retention_policy + kubernetes_asyncio.test.test_v1_stateful_set_spec + kubernetes_asyncio.test.test_v1_stateful_set_status + kubernetes_asyncio.test.test_v1_stateful_set_update_strategy + kubernetes_asyncio.test.test_v1_status + kubernetes_asyncio.test.test_v1_status_cause + kubernetes_asyncio.test.test_v1_status_details + kubernetes_asyncio.test.test_v1_storage_class + kubernetes_asyncio.test.test_v1_storage_class_list + kubernetes_asyncio.test.test_v1_storage_os_persistent_volume_source + kubernetes_asyncio.test.test_v1_storage_os_volume_source + kubernetes_asyncio.test.test_v1_subject_access_review + kubernetes_asyncio.test.test_v1_subject_access_review_spec + kubernetes_asyncio.test.test_v1_subject_access_review_status + kubernetes_asyncio.test.test_v1_subject_rules_review_status + kubernetes_asyncio.test.test_v1_success_policy + kubernetes_asyncio.test.test_v1_success_policy_rule + kubernetes_asyncio.test.test_v1_sysctl + kubernetes_asyncio.test.test_v1_taint + kubernetes_asyncio.test.test_v1_tcp_socket_action + kubernetes_asyncio.test.test_v1_token_request_spec + kubernetes_asyncio.test.test_v1_token_request_status + kubernetes_asyncio.test.test_v1_token_review + kubernetes_asyncio.test.test_v1_token_review_spec + kubernetes_asyncio.test.test_v1_token_review_status + kubernetes_asyncio.test.test_v1_toleration + kubernetes_asyncio.test.test_v1_topology_selector_label_requirement + kubernetes_asyncio.test.test_v1_topology_selector_term + kubernetes_asyncio.test.test_v1_topology_spread_constraint + kubernetes_asyncio.test.test_v1_type_checking + kubernetes_asyncio.test.test_v1_typed_local_object_reference + kubernetes_asyncio.test.test_v1_typed_object_reference + kubernetes_asyncio.test.test_v1_uncounted_terminated_pods + kubernetes_asyncio.test.test_v1_user_info + kubernetes_asyncio.test.test_v1_user_subject + kubernetes_asyncio.test.test_v1_validating_admission_policy + kubernetes_asyncio.test.test_v1_validating_admission_policy_binding + kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_list + kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_spec + kubernetes_asyncio.test.test_v1_validating_admission_policy_list + kubernetes_asyncio.test.test_v1_validating_admission_policy_spec + kubernetes_asyncio.test.test_v1_validating_admission_policy_status + kubernetes_asyncio.test.test_v1_validating_webhook + kubernetes_asyncio.test.test_v1_validating_webhook_configuration + kubernetes_asyncio.test.test_v1_validating_webhook_configuration_list + kubernetes_asyncio.test.test_v1_validation + kubernetes_asyncio.test.test_v1_validation_rule + kubernetes_asyncio.test.test_v1_variable + kubernetes_asyncio.test.test_v1_volume + kubernetes_asyncio.test.test_v1_volume_attachment + kubernetes_asyncio.test.test_v1_volume_attachment_list + kubernetes_asyncio.test.test_v1_volume_attachment_source + kubernetes_asyncio.test.test_v1_volume_attachment_spec + kubernetes_asyncio.test.test_v1_volume_attachment_status + kubernetes_asyncio.test.test_v1_volume_device + kubernetes_asyncio.test.test_v1_volume_error + kubernetes_asyncio.test.test_v1_volume_mount + kubernetes_asyncio.test.test_v1_volume_mount_status + kubernetes_asyncio.test.test_v1_volume_node_affinity + kubernetes_asyncio.test.test_v1_volume_node_resources + kubernetes_asyncio.test.test_v1_volume_projection + kubernetes_asyncio.test.test_v1_volume_resource_requirements + kubernetes_asyncio.test.test_v1_vsphere_virtual_disk_volume_source + kubernetes_asyncio.test.test_v1_watch_event + kubernetes_asyncio.test.test_v1_webhook_conversion + kubernetes_asyncio.test.test_v1_weighted_pod_affinity_term + kubernetes_asyncio.test.test_v1_windows_security_context_options + kubernetes_asyncio.test.test_v1alpha1_apply_configuration + kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle + kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_list + kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_spec + kubernetes_asyncio.test.test_v1alpha1_group_version_resource + kubernetes_asyncio.test.test_v1alpha1_json_patch + kubernetes_asyncio.test.test_v1alpha1_match_condition + kubernetes_asyncio.test.test_v1alpha1_match_resources + kubernetes_asyncio.test.test_v1alpha1_migration_condition + kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy + kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding + kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_list + kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_spec + kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_list + kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_spec + kubernetes_asyncio.test.test_v1alpha1_mutation + kubernetes_asyncio.test.test_v1alpha1_named_rule_with_operations + kubernetes_asyncio.test.test_v1alpha1_param_kind + kubernetes_asyncio.test.test_v1alpha1_param_ref + kubernetes_asyncio.test.test_v1alpha1_server_storage_version + kubernetes_asyncio.test.test_v1alpha1_storage_version + kubernetes_asyncio.test.test_v1alpha1_storage_version_condition + kubernetes_asyncio.test.test_v1alpha1_storage_version_list + kubernetes_asyncio.test.test_v1alpha1_storage_version_migration + kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_list + kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_spec + kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_status + kubernetes_asyncio.test.test_v1alpha1_storage_version_status + kubernetes_asyncio.test.test_v1alpha1_variable + kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class + kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class_list + kubernetes_asyncio.test.test_v1alpha2_lease_candidate + kubernetes_asyncio.test.test_v1alpha2_lease_candidate_list + kubernetes_asyncio.test.test_v1alpha2_lease_candidate_spec + kubernetes_asyncio.test.test_v1alpha3_allocated_device_status + kubernetes_asyncio.test.test_v1alpha3_allocation_result + kubernetes_asyncio.test.test_v1alpha3_basic_device + kubernetes_asyncio.test.test_v1alpha3_cel_device_selector + kubernetes_asyncio.test.test_v1alpha3_counter + kubernetes_asyncio.test.test_v1alpha3_counter_set + kubernetes_asyncio.test.test_v1alpha3_device + kubernetes_asyncio.test.test_v1alpha3_device_allocation_configuration + kubernetes_asyncio.test.test_v1alpha3_device_allocation_result + kubernetes_asyncio.test.test_v1alpha3_device_attribute + kubernetes_asyncio.test.test_v1alpha3_device_claim + kubernetes_asyncio.test.test_v1alpha3_device_claim_configuration + kubernetes_asyncio.test.test_v1alpha3_device_class + kubernetes_asyncio.test.test_v1alpha3_device_class_configuration + kubernetes_asyncio.test.test_v1alpha3_device_class_list + kubernetes_asyncio.test.test_v1alpha3_device_class_spec + kubernetes_asyncio.test.test_v1alpha3_device_constraint + kubernetes_asyncio.test.test_v1alpha3_device_counter_consumption + kubernetes_asyncio.test.test_v1alpha3_device_request + kubernetes_asyncio.test.test_v1alpha3_device_request_allocation_result + kubernetes_asyncio.test.test_v1alpha3_device_selector + kubernetes_asyncio.test.test_v1alpha3_device_sub_request + kubernetes_asyncio.test.test_v1alpha3_device_taint + kubernetes_asyncio.test.test_v1alpha3_device_taint_rule + kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_list + kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_spec + kubernetes_asyncio.test.test_v1alpha3_device_taint_selector + kubernetes_asyncio.test.test_v1alpha3_device_toleration + kubernetes_asyncio.test.test_v1alpha3_network_device_data + kubernetes_asyncio.test.test_v1alpha3_opaque_device_configuration + kubernetes_asyncio.test.test_v1alpha3_resource_claim + kubernetes_asyncio.test.test_v1alpha3_resource_claim_consumer_reference + kubernetes_asyncio.test.test_v1alpha3_resource_claim_list + kubernetes_asyncio.test.test_v1alpha3_resource_claim_spec + kubernetes_asyncio.test.test_v1alpha3_resource_claim_status + kubernetes_asyncio.test.test_v1alpha3_resource_claim_template + kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_list + kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_spec + kubernetes_asyncio.test.test_v1alpha3_resource_pool + kubernetes_asyncio.test.test_v1alpha3_resource_slice + kubernetes_asyncio.test.test_v1alpha3_resource_slice_list + kubernetes_asyncio.test.test_v1alpha3_resource_slice_spec + kubernetes_asyncio.test.test_v1beta1_allocated_device_status + kubernetes_asyncio.test.test_v1beta1_allocation_result + kubernetes_asyncio.test.test_v1beta1_audit_annotation + kubernetes_asyncio.test.test_v1beta1_basic_device + kubernetes_asyncio.test.test_v1beta1_cel_device_selector + kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle + kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_list + kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_spec + kubernetes_asyncio.test.test_v1beta1_counter + kubernetes_asyncio.test.test_v1beta1_counter_set + kubernetes_asyncio.test.test_v1beta1_device + kubernetes_asyncio.test.test_v1beta1_device_allocation_configuration + kubernetes_asyncio.test.test_v1beta1_device_allocation_result + kubernetes_asyncio.test.test_v1beta1_device_attribute + kubernetes_asyncio.test.test_v1beta1_device_capacity + kubernetes_asyncio.test.test_v1beta1_device_claim + kubernetes_asyncio.test.test_v1beta1_device_claim_configuration + kubernetes_asyncio.test.test_v1beta1_device_class + kubernetes_asyncio.test.test_v1beta1_device_class_configuration + kubernetes_asyncio.test.test_v1beta1_device_class_list + kubernetes_asyncio.test.test_v1beta1_device_class_spec + kubernetes_asyncio.test.test_v1beta1_device_constraint + kubernetes_asyncio.test.test_v1beta1_device_counter_consumption + kubernetes_asyncio.test.test_v1beta1_device_request + kubernetes_asyncio.test.test_v1beta1_device_request_allocation_result + kubernetes_asyncio.test.test_v1beta1_device_selector + kubernetes_asyncio.test.test_v1beta1_device_sub_request + kubernetes_asyncio.test.test_v1beta1_device_taint + kubernetes_asyncio.test.test_v1beta1_device_toleration + kubernetes_asyncio.test.test_v1beta1_expression_warning + kubernetes_asyncio.test.test_v1beta1_ip_address + kubernetes_asyncio.test.test_v1beta1_ip_address_list + kubernetes_asyncio.test.test_v1beta1_ip_address_spec + kubernetes_asyncio.test.test_v1beta1_lease_candidate + kubernetes_asyncio.test.test_v1beta1_lease_candidate_list + kubernetes_asyncio.test.test_v1beta1_lease_candidate_spec + kubernetes_asyncio.test.test_v1beta1_match_condition + kubernetes_asyncio.test.test_v1beta1_match_resources + kubernetes_asyncio.test.test_v1beta1_named_rule_with_operations + kubernetes_asyncio.test.test_v1beta1_network_device_data + kubernetes_asyncio.test.test_v1beta1_opaque_device_configuration + kubernetes_asyncio.test.test_v1beta1_param_kind + kubernetes_asyncio.test.test_v1beta1_param_ref + kubernetes_asyncio.test.test_v1beta1_parent_reference + kubernetes_asyncio.test.test_v1beta1_resource_claim + kubernetes_asyncio.test.test_v1beta1_resource_claim_consumer_reference + kubernetes_asyncio.test.test_v1beta1_resource_claim_list + kubernetes_asyncio.test.test_v1beta1_resource_claim_spec + kubernetes_asyncio.test.test_v1beta1_resource_claim_status + kubernetes_asyncio.test.test_v1beta1_resource_claim_template + kubernetes_asyncio.test.test_v1beta1_resource_claim_template_list + kubernetes_asyncio.test.test_v1beta1_resource_claim_template_spec + kubernetes_asyncio.test.test_v1beta1_resource_pool + kubernetes_asyncio.test.test_v1beta1_resource_slice + kubernetes_asyncio.test.test_v1beta1_resource_slice_list + kubernetes_asyncio.test.test_v1beta1_resource_slice_spec + kubernetes_asyncio.test.test_v1beta1_service_cidr + kubernetes_asyncio.test.test_v1beta1_service_cidr_list + kubernetes_asyncio.test.test_v1beta1_service_cidr_spec + kubernetes_asyncio.test.test_v1beta1_service_cidr_status + kubernetes_asyncio.test.test_v1beta1_type_checking + kubernetes_asyncio.test.test_v1beta1_validating_admission_policy + kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding + kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_list + kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_spec + kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_list + kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_spec + kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_status + kubernetes_asyncio.test.test_v1beta1_validation + kubernetes_asyncio.test.test_v1beta1_variable + kubernetes_asyncio.test.test_v1beta1_volume_attributes_class + kubernetes_asyncio.test.test_v1beta1_volume_attributes_class_list + kubernetes_asyncio.test.test_v1beta2_allocated_device_status + kubernetes_asyncio.test.test_v1beta2_allocation_result + kubernetes_asyncio.test.test_v1beta2_cel_device_selector + kubernetes_asyncio.test.test_v1beta2_counter + kubernetes_asyncio.test.test_v1beta2_counter_set + kubernetes_asyncio.test.test_v1beta2_device + kubernetes_asyncio.test.test_v1beta2_device_allocation_configuration + kubernetes_asyncio.test.test_v1beta2_device_allocation_result + kubernetes_asyncio.test.test_v1beta2_device_attribute + kubernetes_asyncio.test.test_v1beta2_device_capacity + kubernetes_asyncio.test.test_v1beta2_device_claim + kubernetes_asyncio.test.test_v1beta2_device_claim_configuration + kubernetes_asyncio.test.test_v1beta2_device_class + kubernetes_asyncio.test.test_v1beta2_device_class_configuration + kubernetes_asyncio.test.test_v1beta2_device_class_list + kubernetes_asyncio.test.test_v1beta2_device_class_spec + kubernetes_asyncio.test.test_v1beta2_device_constraint + kubernetes_asyncio.test.test_v1beta2_device_counter_consumption + kubernetes_asyncio.test.test_v1beta2_device_request + kubernetes_asyncio.test.test_v1beta2_device_request_allocation_result + kubernetes_asyncio.test.test_v1beta2_device_selector + kubernetes_asyncio.test.test_v1beta2_device_sub_request + kubernetes_asyncio.test.test_v1beta2_device_taint + kubernetes_asyncio.test.test_v1beta2_device_toleration + kubernetes_asyncio.test.test_v1beta2_exact_device_request + kubernetes_asyncio.test.test_v1beta2_network_device_data + kubernetes_asyncio.test.test_v1beta2_opaque_device_configuration + kubernetes_asyncio.test.test_v1beta2_resource_claim + kubernetes_asyncio.test.test_v1beta2_resource_claim_consumer_reference + kubernetes_asyncio.test.test_v1beta2_resource_claim_list + kubernetes_asyncio.test.test_v1beta2_resource_claim_spec + kubernetes_asyncio.test.test_v1beta2_resource_claim_status + kubernetes_asyncio.test.test_v1beta2_resource_claim_template + kubernetes_asyncio.test.test_v1beta2_resource_claim_template_list + kubernetes_asyncio.test.test_v1beta2_resource_claim_template_spec + kubernetes_asyncio.test.test_v1beta2_resource_pool + kubernetes_asyncio.test.test_v1beta2_resource_slice + kubernetes_asyncio.test.test_v1beta2_resource_slice_list + kubernetes_asyncio.test.test_v1beta2_resource_slice_spec + kubernetes_asyncio.test.test_v2_container_resource_metric_source + kubernetes_asyncio.test.test_v2_container_resource_metric_status + kubernetes_asyncio.test.test_v2_cross_version_object_reference + kubernetes_asyncio.test.test_v2_external_metric_source + kubernetes_asyncio.test.test_v2_external_metric_status + kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler + kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_behavior + kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_condition + kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_list + kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_spec + kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_status + kubernetes_asyncio.test.test_v2_hpa_scaling_policy + kubernetes_asyncio.test.test_v2_hpa_scaling_rules + kubernetes_asyncio.test.test_v2_metric_identifier + kubernetes_asyncio.test.test_v2_metric_spec + kubernetes_asyncio.test.test_v2_metric_status + kubernetes_asyncio.test.test_v2_metric_target + kubernetes_asyncio.test.test_v2_metric_value_status + kubernetes_asyncio.test.test_v2_object_metric_source + kubernetes_asyncio.test.test_v2_object_metric_status + kubernetes_asyncio.test.test_v2_pods_metric_source + kubernetes_asyncio.test.test_v2_pods_metric_status + kubernetes_asyncio.test.test_v2_resource_metric_source + kubernetes_asyncio.test.test_v2_resource_metric_status kubernetes_asyncio.test.test_version_api + kubernetes_asyncio.test.test_version_info kubernetes_asyncio.test.test_well_known_api Module contents diff --git a/doc/source/kubernetes_asyncio.test.test_admissionregistration_v1_service_reference.rst b/doc/source/kubernetes_asyncio.test.test_admissionregistration_v1_service_reference.rst new file mode 100644 index 00000000..979dc5d2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_admissionregistration_v1_service_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_admissionregistration\_v1\_service\_reference module +=================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_admissionregistration_v1_service_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_admissionregistration_v1_webhook_client_config.rst b/doc/source/kubernetes_asyncio.test.test_admissionregistration_v1_webhook_client_config.rst new file mode 100644 index 00000000..b9c21c12 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_admissionregistration_v1_webhook_client_config.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_admissionregistration\_v1\_webhook\_client\_config module +======================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_admissionregistration_v1_webhook_client_config + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_apiextensions_v1_service_reference.rst b/doc/source/kubernetes_asyncio.test.test_apiextensions_v1_service_reference.rst new file mode 100644 index 00000000..689b57a0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_apiextensions_v1_service_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_apiextensions\_v1\_service\_reference module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_apiextensions_v1_service_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_apiextensions_v1_webhook_client_config.rst b/doc/source/kubernetes_asyncio.test.test_apiextensions_v1_webhook_client_config.rst new file mode 100644 index 00000000..4c2ea3e4 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_apiextensions_v1_webhook_client_config.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_apiextensions\_v1\_webhook\_client\_config module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_apiextensions_v1_webhook_client_config + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_apiregistration_v1_service_reference.rst b/doc/source/kubernetes_asyncio.test.test_apiregistration_v1_service_reference.rst new file mode 100644 index 00000000..cd015523 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_apiregistration_v1_service_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_apiregistration\_v1\_service\_reference module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_apiregistration_v1_service_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_authentication_v1_token_request.rst b/doc/source/kubernetes_asyncio.test.test_authentication_v1_token_request.rst new file mode 100644 index 00000000..8ce0f46c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_authentication_v1_token_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_authentication\_v1\_token\_request module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_authentication_v1_token_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_certificates_v1beta1_api.rst b/doc/source/kubernetes_asyncio.test.test_certificates_v1beta1_api.rst new file mode 100644 index 00000000..ced91b21 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_certificates_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_certificates\_v1beta1\_api module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_certificates_v1beta1_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_coordination_v1beta1_api.rst b/doc/source/kubernetes_asyncio.test.test_coordination_v1beta1_api.rst new file mode 100644 index 00000000..ae809495 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_coordination_v1beta1_api.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_coordination\_v1beta1\_api module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_coordination_v1beta1_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_core_v1_endpoint_port.rst b/doc/source/kubernetes_asyncio.test.test_core_v1_endpoint_port.rst new file mode 100644 index 00000000..c1ae192f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_core_v1_endpoint_port.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_core\_v1\_endpoint\_port module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_core_v1_endpoint_port + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_core_v1_event.rst b/doc/source/kubernetes_asyncio.test.test_core_v1_event.rst new file mode 100644 index 00000000..7e61b3fd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_core_v1_event.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_core\_v1\_event module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_core_v1_event + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_core_v1_event_list.rst b/doc/source/kubernetes_asyncio.test.test_core_v1_event_list.rst new file mode 100644 index 00000000..25b45302 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_core_v1_event_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_core\_v1\_event\_list module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_core_v1_event_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_core_v1_event_series.rst b/doc/source/kubernetes_asyncio.test.test_core_v1_event_series.rst new file mode 100644 index 00000000..7adc3e4d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_core_v1_event_series.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_core\_v1\_event\_series module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_core_v1_event_series + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_discovery_v1_endpoint_port.rst b/doc/source/kubernetes_asyncio.test.test_discovery_v1_endpoint_port.rst new file mode 100644 index 00000000..7c6d3a7d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_discovery_v1_endpoint_port.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_discovery\_v1\_endpoint\_port module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_discovery_v1_endpoint_port + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_events_v1_event.rst b/doc/source/kubernetes_asyncio.test.test_events_v1_event.rst new file mode 100644 index 00000000..3e58f380 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_events_v1_event.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_events\_v1\_event module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_events_v1_event + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_events_v1_event_list.rst b/doc/source/kubernetes_asyncio.test.test_events_v1_event_list.rst new file mode 100644 index 00000000..f02e13f6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_events_v1_event_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_events\_v1\_event\_list module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_events_v1_event_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_events_v1_event_series.rst b/doc/source/kubernetes_asyncio.test.test_events_v1_event_series.rst new file mode 100644 index 00000000..9051b1b5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_events_v1_event_series.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_events\_v1\_event\_series module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_events_v1_event_series + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_flowcontrol_v1_subject.rst b/doc/source/kubernetes_asyncio.test.test_flowcontrol_v1_subject.rst new file mode 100644 index 00000000..780ce9cc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_flowcontrol_v1_subject.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_flowcontrol\_v1\_subject module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_flowcontrol_v1_subject + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_rbac_v1_subject.rst b/doc/source/kubernetes_asyncio.test.test_rbac_v1_subject.rst new file mode 100644 index 00000000..e8bb0b2e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_rbac_v1_subject.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_rbac\_v1\_subject module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_rbac_v1_subject + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_resource_v1beta2_api.rst b/doc/source/kubernetes_asyncio.test.test_resource_v1beta2_api.rst new file mode 100644 index 00000000..f12b3bbe --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_resource_v1beta2_api.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_resource\_v1beta2\_api module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_resource_v1beta2_api + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_storage_v1_token_request.rst b/doc/source/kubernetes_asyncio.test.test_storage_v1_token_request.rst new file mode 100644 index 00000000..60a9e11e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_storage_v1_token_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_storage\_v1\_token\_request module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_storage_v1_token_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_affinity.rst b/doc/source/kubernetes_asyncio.test.test_v1_affinity.rst new file mode 100644 index 00000000..74768085 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_affinity.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_affinity module +================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_affinity + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_aggregation_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_aggregation_rule.rst new file mode 100644 index 00000000..82067261 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_aggregation_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_aggregation\_rule module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_aggregation_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_group.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_group.rst new file mode 100644 index 00000000..21bb8bf2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_group.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_group module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_api_group + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_group_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_group_list.rst new file mode 100644 index 00000000..4b74a63c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_group_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_group\_list module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_api_group_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_resource.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_resource.rst new file mode 100644 index 00000000..6e41a9c3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_resource.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_resource module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_api_resource + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_resource_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_resource_list.rst new file mode 100644 index 00000000..0b1b36a9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_resource_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_resource\_list module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_api_resource_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_service.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_service.rst new file mode 100644 index 00000000..01888bc3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_service.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_service module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_api_service + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_service_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_service_condition.rst new file mode 100644 index 00000000..67f34642 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_service_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_service\_condition module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_api_service_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_service_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_service_list.rst new file mode 100644 index 00000000..edc75f74 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_service_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_service\_list module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_api_service_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_service_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_service_spec.rst new file mode 100644 index 00000000..aac88a8c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_service_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_service\_spec module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_api_service_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_service_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_service_status.rst new file mode 100644 index 00000000..e5eb3c32 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_service_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_service\_status module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_api_service_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_api_versions.rst b/doc/source/kubernetes_asyncio.test.test_v1_api_versions.rst new file mode 100644 index 00000000..aad40d9d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_api_versions.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_api\_versions module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_api_versions + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_app_armor_profile.rst b/doc/source/kubernetes_asyncio.test.test_v1_app_armor_profile.rst new file mode 100644 index 00000000..f555a394 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_app_armor_profile.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_app\_armor\_profile module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_app_armor_profile + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_attached_volume.rst b/doc/source/kubernetes_asyncio.test.test_v1_attached_volume.rst new file mode 100644 index 00000000..3455e382 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_attached_volume.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_attached\_volume module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_attached_volume + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_audit_annotation.rst b/doc/source/kubernetes_asyncio.test.test_v1_audit_annotation.rst new file mode 100644 index 00000000..db9778e6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_audit_annotation.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_audit\_annotation module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_audit_annotation + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_aws_elastic_block_store_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_aws_elastic_block_store_volume_source.rst new file mode 100644 index 00000000..0539c2b9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_aws_elastic_block_store_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_aws\_elastic\_block\_store\_volume\_source module +==================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_aws_elastic_block_store_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_azure_disk_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_azure_disk_volume_source.rst new file mode 100644 index 00000000..1f879443 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_azure_disk_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_azure\_disk\_volume\_source module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_azure_disk_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_azure_file_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_azure_file_persistent_volume_source.rst new file mode 100644 index 00000000..e1305f4e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_azure_file_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_azure\_file\_persistent\_volume\_source module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_azure_file_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_azure_file_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_azure_file_volume_source.rst new file mode 100644 index 00000000..ae945042 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_azure_file_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_azure\_file\_volume\_source module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_azure_file_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_binding.rst b/doc/source/kubernetes_asyncio.test.test_v1_binding.rst new file mode 100644 index 00000000..806aa5da --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_binding.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_binding module +================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_binding + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_bound_object_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_bound_object_reference.rst new file mode 100644 index 00000000..594c14bd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_bound_object_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_bound\_object\_reference module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_bound_object_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_capabilities.rst b/doc/source/kubernetes_asyncio.test.test_v1_capabilities.rst new file mode 100644 index 00000000..e88b9515 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_capabilities.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_capabilities module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_capabilities + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ceph_fs_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_ceph_fs_persistent_volume_source.rst new file mode 100644 index 00000000..8fbdb877 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ceph_fs_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ceph\_fs\_persistent\_volume\_source module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ceph_fs_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ceph_fs_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_ceph_fs_volume_source.rst new file mode 100644 index 00000000..0d4b51bd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ceph_fs_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ceph\_fs\_volume\_source module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ceph_fs_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request.rst b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request.rst new file mode 100644 index 00000000..e5a74100 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_certificate\_signing\_request module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_certificate_signing_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_condition.rst new file mode 100644 index 00000000..6c6c2a16 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_certificate\_signing\_request\_condition module +================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_certificate_signing_request_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_list.rst new file mode 100644 index 00000000..feb158d0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_certificate\_signing\_request\_list module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_certificate_signing_request_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_spec.rst new file mode 100644 index 00000000..48767dd3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_certificate\_signing\_request\_spec module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_certificate_signing_request_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_status.rst new file mode 100644 index 00000000..fa1a1e36 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_certificate_signing_request_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_certificate\_signing\_request\_status module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_certificate_signing_request_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cinder_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_cinder_persistent_volume_source.rst new file mode 100644 index 00000000..82e3a3a6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cinder_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cinder\_persistent\_volume\_source module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_cinder_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cinder_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_cinder_volume_source.rst new file mode 100644 index 00000000..c6b0841a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cinder_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cinder\_volume\_source module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_cinder_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_client_ip_config.rst b/doc/source/kubernetes_asyncio.test.test_v1_client_ip_config.rst new file mode 100644 index 00000000..3ada5276 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_client_ip_config.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_client\_ip\_config module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_client_ip_config + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cluster_role.rst b/doc/source/kubernetes_asyncio.test.test_v1_cluster_role.rst new file mode 100644 index 00000000..3c61248a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cluster_role.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cluster\_role module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_cluster_role + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cluster_role_binding.rst b/doc/source/kubernetes_asyncio.test.test_v1_cluster_role_binding.rst new file mode 100644 index 00000000..b7301261 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cluster_role_binding.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cluster\_role\_binding module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_cluster_role_binding + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cluster_role_binding_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_cluster_role_binding_list.rst new file mode 100644 index 00000000..4414feec --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cluster_role_binding_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cluster\_role\_binding\_list module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_cluster_role_binding_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cluster_role_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_cluster_role_list.rst new file mode 100644 index 00000000..aaead9b1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cluster_role_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cluster\_role\_list module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_cluster_role_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cluster_trust_bundle_projection.rst b/doc/source/kubernetes_asyncio.test.test_v1_cluster_trust_bundle_projection.rst new file mode 100644 index 00000000..0888467f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cluster_trust_bundle_projection.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cluster\_trust\_bundle\_projection module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_cluster_trust_bundle_projection + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_component_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_component_condition.rst new file mode 100644 index 00000000..ffa377ce --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_component_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_component\_condition module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_component_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_component_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_component_status.rst new file mode 100644 index 00000000..3f662527 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_component_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_component\_status module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_component_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_component_status_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_component_status_list.rst new file mode 100644 index 00000000..0e2f0f08 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_component_status_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_component\_status\_list module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_component_status_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_condition.rst new file mode 100644 index 00000000..ccd5688a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_condition module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_config_map.rst b/doc/source/kubernetes_asyncio.test.test_v1_config_map.rst new file mode 100644 index 00000000..ffb18262 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_config_map.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_config\_map module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_config_map + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_config_map_env_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_config_map_env_source.rst new file mode 100644 index 00000000..1dcba1d0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_config_map_env_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_config\_map\_env\_source module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_config_map_env_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_config_map_key_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1_config_map_key_selector.rst new file mode 100644 index 00000000..57b250ee --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_config_map_key_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_config\_map\_key\_selector module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_config_map_key_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_config_map_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_config_map_list.rst new file mode 100644 index 00000000..49d5708a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_config_map_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_config\_map\_list module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_config_map_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_config_map_node_config_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_config_map_node_config_source.rst new file mode 100644 index 00000000..b55ff966 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_config_map_node_config_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_config\_map\_node\_config\_source module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_config_map_node_config_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_config_map_projection.rst b/doc/source/kubernetes_asyncio.test.test_v1_config_map_projection.rst new file mode 100644 index 00000000..bebcec9c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_config_map_projection.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_config\_map\_projection module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_config_map_projection + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_config_map_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_config_map_volume_source.rst new file mode 100644 index 00000000..a1fbba99 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_config_map_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_config\_map\_volume\_source module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_config_map_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container.rst b/doc/source/kubernetes_asyncio.test.test_v1_container.rst new file mode 100644 index 00000000..7e4ea55f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_container + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container_image.rst b/doc/source/kubernetes_asyncio.test.test_v1_container_image.rst new file mode 100644 index 00000000..09ba0d45 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container_image.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container\_image module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_container_image + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container_port.rst b/doc/source/kubernetes_asyncio.test.test_v1_container_port.rst new file mode 100644 index 00000000..53da6fbd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container_port.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container\_port module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_container_port + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container_resize_policy.rst b/doc/source/kubernetes_asyncio.test.test_v1_container_resize_policy.rst new file mode 100644 index 00000000..a5e0c219 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container_resize_policy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container\_resize\_policy module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_container_resize_policy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container_state.rst b/doc/source/kubernetes_asyncio.test.test_v1_container_state.rst new file mode 100644 index 00000000..1b241b24 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container_state.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container\_state module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_container_state + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container_state_running.rst b/doc/source/kubernetes_asyncio.test.test_v1_container_state_running.rst new file mode 100644 index 00000000..f4c33e61 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container_state_running.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container\_state\_running module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_container_state_running + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container_state_terminated.rst b/doc/source/kubernetes_asyncio.test.test_v1_container_state_terminated.rst new file mode 100644 index 00000000..f092e876 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container_state_terminated.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container\_state\_terminated module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_container_state_terminated + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container_state_waiting.rst b/doc/source/kubernetes_asyncio.test.test_v1_container_state_waiting.rst new file mode 100644 index 00000000..34d53693 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container_state_waiting.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container\_state\_waiting module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_container_state_waiting + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_container_status.rst new file mode 100644 index 00000000..e1673023 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container\_status module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_container_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_container_user.rst b/doc/source/kubernetes_asyncio.test.test_v1_container_user.rst new file mode 100644 index 00000000..8f8be343 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_container_user.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_container\_user module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_container_user + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_controller_revision.rst b/doc/source/kubernetes_asyncio.test.test_v1_controller_revision.rst new file mode 100644 index 00000000..799daa9d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_controller_revision.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_controller\_revision module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_controller_revision + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_controller_revision_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_controller_revision_list.rst new file mode 100644 index 00000000..f4904f55 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_controller_revision_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_controller\_revision\_list module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_controller_revision_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cron_job.rst b/doc/source/kubernetes_asyncio.test.test_v1_cron_job.rst new file mode 100644 index 00000000..51d42aa5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cron_job.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cron\_job module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_cron_job + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cron_job_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_cron_job_list.rst new file mode 100644 index 00000000..7ce41ce5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cron_job_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cron\_job\_list module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_cron_job_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cron_job_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_cron_job_spec.rst new file mode 100644 index 00000000..58be525c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cron_job_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cron\_job\_spec module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_cron_job_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cron_job_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_cron_job_status.rst new file mode 100644 index 00000000..fa8d73a2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cron_job_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cron\_job\_status module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_cron_job_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_cross_version_object_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_cross_version_object_reference.rst new file mode 100644 index 00000000..98db5454 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_cross_version_object_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_cross\_version\_object\_reference module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_cross_version_object_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_driver.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_driver.rst new file mode 100644 index 00000000..8b1dc740 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_driver.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_driver module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_driver + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_driver_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_driver_list.rst new file mode 100644 index 00000000..b485656b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_driver_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_driver\_list module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_driver_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_driver_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_driver_spec.rst new file mode 100644 index 00000000..7c5c86dc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_driver_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_driver\_spec module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_driver_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_node.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_node.rst new file mode 100644 index 00000000..bde94549 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_node.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_node module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_node + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_node_driver.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_node_driver.rst new file mode 100644 index 00000000..709529d5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_node_driver.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_node\_driver module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_node_driver + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_node_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_node_list.rst new file mode 100644 index 00000000..b7714979 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_node_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_node\_list module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_node_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_node_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_node_spec.rst new file mode 100644 index 00000000..2416c420 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_node_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_node\_spec module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_node_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_persistent_volume_source.rst new file mode 100644 index 00000000..73b503f9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_persistent\_volume\_source module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_storage_capacity.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_storage_capacity.rst new file mode 100644 index 00000000..c1da7f74 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_storage_capacity.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_storage\_capacity module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_storage_capacity + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_storage_capacity_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_storage_capacity_list.rst new file mode 100644 index 00000000..646450fc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_storage_capacity_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_storage\_capacity\_list module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_storage_capacity_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_csi_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_csi_volume_source.rst new file mode 100644 index 00000000..13069efe --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_csi_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_csi\_volume\_source module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_csi_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_column_definition.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_column_definition.rst new file mode 100644 index 00000000..96489b10 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_column_definition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_column\_definition module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_column_definition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_conversion.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_conversion.rst new file mode 100644 index 00000000..6ca2a64a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_conversion.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_conversion module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_conversion + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition.rst new file mode 100644 index 00000000..5a841b35 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_definition module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_definition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_condition.rst new file mode 100644 index 00000000..eef5ac42 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_definition\_condition module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_definition_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_list.rst new file mode 100644 index 00000000..c2f21a97 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_definition\_list module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_definition_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_names.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_names.rst new file mode 100644 index 00000000..d4cc01e2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_names.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_definition\_names module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_definition_names + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_spec.rst new file mode 100644 index 00000000..41ffcf66 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_definition\_spec module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_definition_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_status.rst new file mode 100644 index 00000000..6cf3bc38 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_definition\_status module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_definition_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_version.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_version.rst new file mode 100644 index 00000000..b42d256e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_definition_version.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_definition\_version module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_definition_version + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_subresource_scale.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_subresource_scale.rst new file mode 100644 index 00000000..6c7ba14d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_subresource_scale.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_subresource\_scale module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_subresource_scale + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_subresources.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_subresources.rst new file mode 100644 index 00000000..083f8165 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_subresources.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_subresources module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_subresources + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_validation.rst b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_validation.rst new file mode 100644 index 00000000..8f9f11cc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_custom_resource_validation.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_custom\_resource\_validation module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_custom_resource_validation + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_daemon_endpoint.rst b/doc/source/kubernetes_asyncio.test.test_v1_daemon_endpoint.rst new file mode 100644 index 00000000..a714639f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_daemon_endpoint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_daemon\_endpoint module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_daemon_endpoint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_daemon_set.rst b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set.rst new file mode 100644 index 00000000..bc54d256 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_daemon\_set module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_daemon_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_condition.rst new file mode 100644 index 00000000..f4b5b662 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_daemon\_set\_condition module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_daemon_set_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_list.rst new file mode 100644 index 00000000..56dad1a5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_daemon\_set\_list module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_daemon_set_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_spec.rst new file mode 100644 index 00000000..8715d0c0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_daemon\_set\_spec module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_daemon_set_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_status.rst new file mode 100644 index 00000000..b8688164 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_daemon\_set\_status module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_daemon_set_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_update_strategy.rst b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_update_strategy.rst new file mode 100644 index 00000000..e9a596aa --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_daemon_set_update_strategy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_daemon\_set\_update\_strategy module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_daemon_set_update_strategy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_delete_options.rst b/doc/source/kubernetes_asyncio.test.test_v1_delete_options.rst new file mode 100644 index 00000000..70faf083 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_delete_options.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_delete\_options module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_delete_options + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_deployment.rst b/doc/source/kubernetes_asyncio.test.test_v1_deployment.rst new file mode 100644 index 00000000..4646dd5c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_deployment.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_deployment module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_deployment + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_deployment_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_deployment_condition.rst new file mode 100644 index 00000000..49b0504f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_deployment_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_deployment\_condition module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_deployment_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_deployment_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_deployment_list.rst new file mode 100644 index 00000000..a608cb6c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_deployment_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_deployment\_list module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_deployment_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_deployment_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_deployment_spec.rst new file mode 100644 index 00000000..04c8e8b7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_deployment_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_deployment\_spec module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_deployment_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_deployment_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_deployment_status.rst new file mode 100644 index 00000000..b2654412 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_deployment_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_deployment\_status module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_deployment_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_deployment_strategy.rst b/doc/source/kubernetes_asyncio.test.test_v1_deployment_strategy.rst new file mode 100644 index 00000000..063b9e87 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_deployment_strategy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_deployment\_strategy module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_deployment_strategy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_downward_api_projection.rst b/doc/source/kubernetes_asyncio.test.test_v1_downward_api_projection.rst new file mode 100644 index 00000000..5ed71ae2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_downward_api_projection.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_downward\_api\_projection module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_downward_api_projection + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_downward_api_volume_file.rst b/doc/source/kubernetes_asyncio.test.test_v1_downward_api_volume_file.rst new file mode 100644 index 00000000..36beb207 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_downward_api_volume_file.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_downward\_api\_volume\_file module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_downward_api_volume_file + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_downward_api_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_downward_api_volume_source.rst new file mode 100644 index 00000000..8093400f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_downward_api_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_downward\_api\_volume\_source module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_downward_api_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_empty_dir_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_empty_dir_volume_source.rst new file mode 100644 index 00000000..c34b7c18 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_empty_dir_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_empty\_dir\_volume\_source module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_empty_dir_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_endpoint.rst b/doc/source/kubernetes_asyncio.test.test_v1_endpoint.rst new file mode 100644 index 00000000..a27131e8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_endpoint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_endpoint module +================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_endpoint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_endpoint_address.rst b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_address.rst new file mode 100644 index 00000000..71bb8ea1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_address.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_endpoint\_address module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_endpoint_address + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_endpoint_conditions.rst b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_conditions.rst new file mode 100644 index 00000000..35d9769a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_conditions.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_endpoint\_conditions module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_endpoint_conditions + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_endpoint_hints.rst b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_hints.rst new file mode 100644 index 00000000..abc34957 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_hints.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_endpoint\_hints module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_endpoint_hints + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_endpoint_slice.rst b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_slice.rst new file mode 100644 index 00000000..573d232c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_slice.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_endpoint\_slice module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_endpoint_slice + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_endpoint_slice_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_slice_list.rst new file mode 100644 index 00000000..1c3271c3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_endpoint\_slice\_list module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_endpoint_slice_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_endpoint_subset.rst b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_subset.rst new file mode 100644 index 00000000..5c7d9336 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_endpoint_subset.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_endpoint\_subset module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_endpoint_subset + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_endpoints.rst b/doc/source/kubernetes_asyncio.test.test_v1_endpoints.rst new file mode 100644 index 00000000..b928f7cf --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_endpoints.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_endpoints module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_endpoints + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_endpoints_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_endpoints_list.rst new file mode 100644 index 00000000..06211624 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_endpoints_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_endpoints\_list module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_endpoints_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_env_from_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_env_from_source.rst new file mode 100644 index 00000000..1452b169 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_env_from_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_env\_from\_source module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_env_from_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_env_var.rst b/doc/source/kubernetes_asyncio.test.test_v1_env_var.rst new file mode 100644 index 00000000..c3bfcd04 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_env_var.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_env\_var module +================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_env_var + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_env_var_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_env_var_source.rst new file mode 100644 index 00000000..de5994ea --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_env_var_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_env\_var\_source module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_env_var_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ephemeral_container.rst b/doc/source/kubernetes_asyncio.test.test_v1_ephemeral_container.rst new file mode 100644 index 00000000..6e53d8d5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ephemeral_container.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ephemeral\_container module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ephemeral_container + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ephemeral_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_ephemeral_volume_source.rst new file mode 100644 index 00000000..f73a5460 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ephemeral_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ephemeral\_volume\_source module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ephemeral_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_event_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_event_source.rst new file mode 100644 index 00000000..6e798427 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_event_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_event\_source module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_event_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_eviction.rst b/doc/source/kubernetes_asyncio.test.test_v1_eviction.rst new file mode 100644 index 00000000..310cfd47 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_eviction.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_eviction module +================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_eviction + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_exec_action.rst b/doc/source/kubernetes_asyncio.test.test_v1_exec_action.rst new file mode 100644 index 00000000..b53e8e65 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_exec_action.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_exec\_action module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_exec_action + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_exempt_priority_level_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1_exempt_priority_level_configuration.rst new file mode 100644 index 00000000..47d0d3f6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_exempt_priority_level_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_exempt\_priority\_level\_configuration module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_exempt_priority_level_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_expression_warning.rst b/doc/source/kubernetes_asyncio.test.test_v1_expression_warning.rst new file mode 100644 index 00000000..d4c2e7b7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_expression_warning.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_expression\_warning module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_expression_warning + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_external_documentation.rst b/doc/source/kubernetes_asyncio.test.test_v1_external_documentation.rst new file mode 100644 index 00000000..6c88629d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_external_documentation.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_external\_documentation module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_external_documentation + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_fc_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_fc_volume_source.rst new file mode 100644 index 00000000..6a260d39 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_fc_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_fc\_volume\_source module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_fc_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_field_selector_attributes.rst b/doc/source/kubernetes_asyncio.test.test_v1_field_selector_attributes.rst new file mode 100644 index 00000000..bc23abba --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_field_selector_attributes.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_field\_selector\_attributes module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_field_selector_attributes + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_field_selector_requirement.rst b/doc/source/kubernetes_asyncio.test.test_v1_field_selector_requirement.rst new file mode 100644 index 00000000..31528dcd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_field_selector_requirement.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_field\_selector\_requirement module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_field_selector_requirement + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_flex_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_flex_persistent_volume_source.rst new file mode 100644 index 00000000..19657e90 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_flex_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_flex\_persistent\_volume\_source module +========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_flex_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_flex_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_flex_volume_source.rst new file mode 100644 index 00000000..c7b84323 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_flex_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_flex\_volume\_source module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_flex_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_flocker_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_flocker_volume_source.rst new file mode 100644 index 00000000..1bb4cfd0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_flocker_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_flocker\_volume\_source module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_flocker_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_flow_distinguisher_method.rst b/doc/source/kubernetes_asyncio.test.test_v1_flow_distinguisher_method.rst new file mode 100644 index 00000000..0b1c86d7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_flow_distinguisher_method.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_flow\_distinguisher\_method module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_flow_distinguisher_method + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_flow_schema.rst b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema.rst new file mode 100644 index 00000000..55eb7c70 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_flow\_schema module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_flow_schema + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_condition.rst new file mode 100644 index 00000000..424e4a9f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_flow\_schema\_condition module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_flow_schema_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_list.rst new file mode 100644 index 00000000..67a15a3f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_flow\_schema\_list module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_flow_schema_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_spec.rst new file mode 100644 index 00000000..41d0d5f7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_flow\_schema\_spec module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_flow_schema_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_status.rst new file mode 100644 index 00000000..aa03f033 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_flow_schema_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_flow\_schema\_status module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_flow_schema_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_for_node.rst b/doc/source/kubernetes_asyncio.test.test_v1_for_node.rst new file mode 100644 index 00000000..148478cd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_for_node.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_for\_node module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_for_node + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_for_zone.rst b/doc/source/kubernetes_asyncio.test.test_v1_for_zone.rst new file mode 100644 index 00000000..0f5e6883 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_for_zone.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_for\_zone module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_for_zone + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_gce_persistent_disk_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_gce_persistent_disk_volume_source.rst new file mode 100644 index 00000000..5c7aec50 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_gce_persistent_disk_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_gce\_persistent\_disk\_volume\_source module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_gce_persistent_disk_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_git_repo_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_git_repo_volume_source.rst new file mode 100644 index 00000000..085632da --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_git_repo_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_git\_repo\_volume\_source module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_git_repo_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_glusterfs_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_glusterfs_persistent_volume_source.rst new file mode 100644 index 00000000..7963d73f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_glusterfs_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_glusterfs\_persistent\_volume\_source module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_glusterfs_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_glusterfs_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_glusterfs_volume_source.rst new file mode 100644 index 00000000..9def5b5a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_glusterfs_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_glusterfs\_volume\_source module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_glusterfs_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_group_subject.rst b/doc/source/kubernetes_asyncio.test.test_v1_group_subject.rst new file mode 100644 index 00000000..997da94e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_group_subject.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_group\_subject module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_group_subject + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_group_version_for_discovery.rst b/doc/source/kubernetes_asyncio.test.test_v1_group_version_for_discovery.rst new file mode 100644 index 00000000..d6b911af --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_group_version_for_discovery.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_group\_version\_for\_discovery module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_group_version_for_discovery + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_grpc_action.rst b/doc/source/kubernetes_asyncio.test.test_v1_grpc_action.rst new file mode 100644 index 00000000..b83c8802 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_grpc_action.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_grpc\_action module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_grpc_action + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler.rst b/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler.rst new file mode 100644 index 00000000..5d3e7960 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_horizontal\_pod\_autoscaler module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_list.rst new file mode 100644 index 00000000..e62c5ca2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_horizontal\_pod\_autoscaler\_list module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_spec.rst new file mode 100644 index 00000000..46dc2bc6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_horizontal\_pod\_autoscaler\_spec module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_status.rst new file mode 100644 index 00000000..23afd9fb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_horizontal\_pod\_autoscaler\_status module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_horizontal_pod_autoscaler_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_host_alias.rst b/doc/source/kubernetes_asyncio.test.test_v1_host_alias.rst new file mode 100644 index 00000000..e606b98b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_host_alias.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_host\_alias module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_host_alias + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_host_ip.rst b/doc/source/kubernetes_asyncio.test.test_v1_host_ip.rst new file mode 100644 index 00000000..3bb2fe24 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_host_ip.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_host\_ip module +================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_host_ip + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_host_path_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_host_path_volume_source.rst new file mode 100644 index 00000000..4052db53 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_host_path_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_host\_path\_volume\_source module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_host_path_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_http_get_action.rst b/doc/source/kubernetes_asyncio.test.test_v1_http_get_action.rst new file mode 100644 index 00000000..e6f83dd4 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_http_get_action.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_http\_get\_action module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_http_get_action + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_http_header.rst b/doc/source/kubernetes_asyncio.test.test_v1_http_header.rst new file mode 100644 index 00000000..912c9783 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_http_header.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_http\_header module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_http_header + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_http_ingress_path.rst b/doc/source/kubernetes_asyncio.test.test_v1_http_ingress_path.rst new file mode 100644 index 00000000..7a1fc5d1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_http_ingress_path.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_http\_ingress\_path module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_http_ingress_path + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_http_ingress_rule_value.rst b/doc/source/kubernetes_asyncio.test.test_v1_http_ingress_rule_value.rst new file mode 100644 index 00000000..ce7332d1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_http_ingress_rule_value.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_http\_ingress\_rule\_value module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_http_ingress_rule_value + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_image_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_image_volume_source.rst new file mode 100644 index 00000000..eaf2a92a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_image_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_image\_volume\_source module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_image_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress.rst new file mode 100644 index 00000000..6c2ac376 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress module +================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_backend.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_backend.rst new file mode 100644 index 00000000..9db11f8c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_backend.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_backend module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_backend + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_class.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_class.rst new file mode 100644 index 00000000..647fade8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_class module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_class_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_class_list.rst new file mode 100644 index 00000000..b2affe3f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_class\_list module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_class_parameters_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_class_parameters_reference.rst new file mode 100644 index 00000000..ac8f2127 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_class_parameters_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_class\_parameters\_reference module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_class_parameters_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_class_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_class_spec.rst new file mode 100644 index 00000000..21e7ad44 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_class\_spec module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_class_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_list.rst new file mode 100644 index 00000000..736e0e6b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_list module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_load_balancer_ingress.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_load_balancer_ingress.rst new file mode 100644 index 00000000..1c4bfad7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_load_balancer_ingress.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_load\_balancer\_ingress module +========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_load_balancer_ingress + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_load_balancer_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_load_balancer_status.rst new file mode 100644 index 00000000..03a889c5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_load_balancer_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_load\_balancer\_status module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_load_balancer_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_port_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_port_status.rst new file mode 100644 index 00000000..72b62565 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_port_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_port\_status module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_port_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_rule.rst new file mode 100644 index 00000000..0a474bc3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_rule module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_service_backend.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_service_backend.rst new file mode 100644 index 00000000..f725f681 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_service_backend.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_service\_backend module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_service_backend + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_spec.rst new file mode 100644 index 00000000..e0a8c0dd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_spec module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_status.rst new file mode 100644 index 00000000..583595f6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_status module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ingress_tls.rst b/doc/source/kubernetes_asyncio.test.test_v1_ingress_tls.rst new file mode 100644 index 00000000..c530f4f9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ingress_tls.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ingress\_tls module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ingress_tls + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ip_address.rst b/doc/source/kubernetes_asyncio.test.test_v1_ip_address.rst new file mode 100644 index 00000000..88ebb1fe --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ip_address.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ip\_address module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ip_address + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ip_address_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_ip_address_list.rst new file mode 100644 index 00000000..eb29d6a2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ip_address_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ip\_address\_list module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ip_address_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ip_address_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_ip_address_spec.rst new file mode 100644 index 00000000..b36277c9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ip_address_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ip\_address\_spec module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ip_address_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_ip_block.rst b/doc/source/kubernetes_asyncio.test.test_v1_ip_block.rst new file mode 100644 index 00000000..75f7710b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_ip_block.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_ip\_block module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_ip_block + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_iscsi_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_iscsi_persistent_volume_source.rst new file mode 100644 index 00000000..7354c33a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_iscsi_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_iscsi\_persistent\_volume\_source module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_iscsi_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_iscsi_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_iscsi_volume_source.rst new file mode 100644 index 00000000..b4c42748 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_iscsi_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_iscsi\_volume\_source module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_iscsi_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_job.rst b/doc/source/kubernetes_asyncio.test.test_v1_job.rst new file mode 100644 index 00000000..23a6b2c6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_job.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_job module +============================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_job + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_job_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_job_condition.rst new file mode 100644 index 00000000..c880ad40 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_job_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_job\_condition module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_job_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_job_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_job_list.rst new file mode 100644 index 00000000..c29bb6aa --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_job_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_job\_list module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_job_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_job_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_job_spec.rst new file mode 100644 index 00000000..74dc9509 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_job_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_job\_spec module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_job_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_job_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_job_status.rst new file mode 100644 index 00000000..e0164afc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_job_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_job\_status module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_job_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_job_template_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_job_template_spec.rst new file mode 100644 index 00000000..0c9a982e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_job_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_job\_template\_spec module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_job_template_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_json_schema_props.rst b/doc/source/kubernetes_asyncio.test.test_v1_json_schema_props.rst new file mode 100644 index 00000000..6e6a5288 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_json_schema_props.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_json\_schema\_props module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_json_schema_props + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_key_to_path.rst b/doc/source/kubernetes_asyncio.test.test_v1_key_to_path.rst new file mode 100644 index 00000000..9a822087 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_key_to_path.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_key\_to\_path module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_key_to_path + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_label_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1_label_selector.rst new file mode 100644 index 00000000..a22933f2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_label_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_label\_selector module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_label_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_label_selector_attributes.rst b/doc/source/kubernetes_asyncio.test.test_v1_label_selector_attributes.rst new file mode 100644 index 00000000..15850805 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_label_selector_attributes.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_label\_selector\_attributes module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_label_selector_attributes + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_label_selector_requirement.rst b/doc/source/kubernetes_asyncio.test.test_v1_label_selector_requirement.rst new file mode 100644 index 00000000..83de242e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_label_selector_requirement.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_label\_selector\_requirement module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_label_selector_requirement + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_lease.rst b/doc/source/kubernetes_asyncio.test.test_v1_lease.rst new file mode 100644 index 00000000..b274af4b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_lease.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_lease module +=============================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_lease + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_lease_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_lease_list.rst new file mode 100644 index 00000000..dfe50ca1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_lease_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_lease\_list module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_lease_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_lease_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_lease_spec.rst new file mode 100644 index 00000000..5b937b9d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_lease_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_lease\_spec module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_lease_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_lifecycle.rst b/doc/source/kubernetes_asyncio.test.test_v1_lifecycle.rst new file mode 100644 index 00000000..ebb44776 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_lifecycle.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_lifecycle module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_lifecycle + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_lifecycle_handler.rst b/doc/source/kubernetes_asyncio.test.test_v1_lifecycle_handler.rst new file mode 100644 index 00000000..a226429f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_lifecycle_handler.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_lifecycle\_handler module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_lifecycle_handler + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_limit_range.rst b/doc/source/kubernetes_asyncio.test.test_v1_limit_range.rst new file mode 100644 index 00000000..e1111e96 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_limit_range.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_limit\_range module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_limit_range + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_limit_range_item.rst b/doc/source/kubernetes_asyncio.test.test_v1_limit_range_item.rst new file mode 100644 index 00000000..3814752f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_limit_range_item.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_limit\_range\_item module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_limit_range_item + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_limit_range_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_limit_range_list.rst new file mode 100644 index 00000000..2ff8c1e9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_limit_range_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_limit\_range\_list module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_limit_range_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_limit_range_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_limit_range_spec.rst new file mode 100644 index 00000000..f4f82cd3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_limit_range_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_limit\_range\_spec module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_limit_range_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_limit_response.rst b/doc/source/kubernetes_asyncio.test.test_v1_limit_response.rst new file mode 100644 index 00000000..eb7b949b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_limit_response.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_limit\_response module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_limit_response + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_limited_priority_level_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1_limited_priority_level_configuration.rst new file mode 100644 index 00000000..84b57b2a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_limited_priority_level_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_limited\_priority\_level\_configuration module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_limited_priority_level_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_linux_container_user.rst b/doc/source/kubernetes_asyncio.test.test_v1_linux_container_user.rst new file mode 100644 index 00000000..e5d92108 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_linux_container_user.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_linux\_container\_user module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_linux_container_user + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_list_meta.rst b/doc/source/kubernetes_asyncio.test.test_v1_list_meta.rst new file mode 100644 index 00000000..7dd487e1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_list_meta.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_list\_meta module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_list_meta + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_load_balancer_ingress.rst b/doc/source/kubernetes_asyncio.test.test_v1_load_balancer_ingress.rst new file mode 100644 index 00000000..bad48518 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_load_balancer_ingress.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_load\_balancer\_ingress module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_load_balancer_ingress + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_load_balancer_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_load_balancer_status.rst new file mode 100644 index 00000000..53dbd6f3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_load_balancer_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_load\_balancer\_status module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_load_balancer_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_local_object_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_local_object_reference.rst new file mode 100644 index 00000000..1bdd2d28 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_local_object_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_local\_object\_reference module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_local_object_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_local_subject_access_review.rst b/doc/source/kubernetes_asyncio.test.test_v1_local_subject_access_review.rst new file mode 100644 index 00000000..ba3421bb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_local_subject_access_review.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_local\_subject\_access\_review module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_local_subject_access_review + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_local_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_local_volume_source.rst new file mode 100644 index 00000000..312ff273 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_local_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_local\_volume\_source module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_local_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_managed_fields_entry.rst b/doc/source/kubernetes_asyncio.test.test_v1_managed_fields_entry.rst new file mode 100644 index 00000000..034b32e7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_managed_fields_entry.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_managed\_fields\_entry module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_managed_fields_entry + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_match_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_match_condition.rst new file mode 100644 index 00000000..093207d8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_match_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_match\_condition module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_match_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_match_resources.rst b/doc/source/kubernetes_asyncio.test.test_v1_match_resources.rst new file mode 100644 index 00000000..d31d95bb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_match_resources.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_match\_resources module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_match_resources + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_modify_volume_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_modify_volume_status.rst new file mode 100644 index 00000000..d0fa8fb9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_modify_volume_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_modify\_volume\_status module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_modify_volume_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_mutating_webhook.rst b/doc/source/kubernetes_asyncio.test.test_v1_mutating_webhook.rst new file mode 100644 index 00000000..a7ba85f3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_mutating_webhook.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_mutating\_webhook module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_mutating_webhook + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_mutating_webhook_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1_mutating_webhook_configuration.rst new file mode 100644 index 00000000..73f5f765 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_mutating_webhook_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_mutating\_webhook\_configuration module +========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_mutating_webhook_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_mutating_webhook_configuration_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_mutating_webhook_configuration_list.rst new file mode 100644 index 00000000..f5c92541 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_mutating_webhook_configuration_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_mutating\_webhook\_configuration\_list module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_mutating_webhook_configuration_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_named_rule_with_operations.rst b/doc/source/kubernetes_asyncio.test.test_v1_named_rule_with_operations.rst new file mode 100644 index 00000000..f930f067 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_named_rule_with_operations.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_named\_rule\_with\_operations module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_named_rule_with_operations + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_namespace.rst b/doc/source/kubernetes_asyncio.test.test_v1_namespace.rst new file mode 100644 index 00000000..d73da381 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_namespace.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_namespace module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_namespace + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_namespace_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_namespace_condition.rst new file mode 100644 index 00000000..90a0ef3d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_namespace_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_namespace\_condition module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_namespace_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_namespace_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_namespace_list.rst new file mode 100644 index 00000000..88e5f169 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_namespace_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_namespace\_list module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_namespace_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_namespace_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_namespace_spec.rst new file mode 100644 index 00000000..105a6f23 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_namespace_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_namespace\_spec module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_namespace_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_namespace_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_namespace_status.rst new file mode 100644 index 00000000..65d9b064 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_namespace_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_namespace\_status module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_namespace_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_network_policy.rst b/doc/source/kubernetes_asyncio.test.test_v1_network_policy.rst new file mode 100644 index 00000000..52e7df4e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_network_policy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_network\_policy module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_network_policy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_network_policy_egress_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_egress_rule.rst new file mode 100644 index 00000000..9db2af43 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_egress_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_network\_policy\_egress\_rule module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_network_policy_egress_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_network_policy_ingress_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_ingress_rule.rst new file mode 100644 index 00000000..43453beb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_ingress_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_network\_policy\_ingress\_rule module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_network_policy_ingress_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_network_policy_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_list.rst new file mode 100644 index 00000000..ba550905 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_network\_policy\_list module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_network_policy_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_network_policy_peer.rst b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_peer.rst new file mode 100644 index 00000000..84dcf6fa --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_peer.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_network\_policy\_peer module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_network_policy_peer + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_network_policy_port.rst b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_port.rst new file mode 100644 index 00000000..84b67627 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_port.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_network\_policy\_port module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_network_policy_port + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_network_policy_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_spec.rst new file mode 100644 index 00000000..b2172603 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_network_policy_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_network\_policy\_spec module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_network_policy_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_nfs_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_nfs_volume_source.rst new file mode 100644 index 00000000..9e7d836b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_nfs_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_nfs\_volume\_source module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_nfs_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node.rst b/doc/source/kubernetes_asyncio.test.test_v1_node.rst new file mode 100644 index 00000000..fde0d43c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node module +============================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_address.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_address.rst new file mode 100644 index 00000000..6e34d8e7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_address.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_address module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_node_address + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_affinity.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_affinity.rst new file mode 100644 index 00000000..c6746321 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_affinity.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_affinity module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_affinity + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_condition.rst new file mode 100644 index 00000000..3f48f717 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_condition module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_node_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_config_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_config_source.rst new file mode 100644 index 00000000..1a242061 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_config_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_config\_source module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_config_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_config_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_config_status.rst new file mode 100644 index 00000000..f113707a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_config_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_config\_status module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_config_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_daemon_endpoints.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_daemon_endpoints.rst new file mode 100644 index 00000000..49782d98 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_daemon_endpoints.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_daemon\_endpoints module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_node_daemon_endpoints + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_features.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_features.rst new file mode 100644 index 00000000..e2a67e98 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_features.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_features module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_features + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_list.rst new file mode 100644 index 00000000..f7f91d6a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_list module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_runtime_handler.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_runtime_handler.rst new file mode 100644 index 00000000..71ac831e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_runtime_handler.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_runtime\_handler module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_node_runtime_handler + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_runtime_handler_features.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_runtime_handler_features.rst new file mode 100644 index 00000000..3ffe55b9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_runtime_handler_features.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_runtime\_handler\_features module +========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_runtime_handler_features + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_selector.rst new file mode 100644 index 00000000..65a33fe2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_selector module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_selector_requirement.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_selector_requirement.rst new file mode 100644 index 00000000..c75909bb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_selector_requirement.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_selector\_requirement module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_selector_requirement + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_selector_term.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_selector_term.rst new file mode 100644 index 00000000..33054b8c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_selector_term.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_selector\_term module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_selector_term + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_spec.rst new file mode 100644 index 00000000..373a7b71 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_spec module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_status.rst new file mode 100644 index 00000000..cea050f7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_status module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_node_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_swap_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_swap_status.rst new file mode 100644 index 00000000..20390a0e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_swap_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_swap\_status module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_node_swap_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_node_system_info.rst b/doc/source/kubernetes_asyncio.test.test_v1_node_system_info.rst new file mode 100644 index 00000000..bd1175d1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_node_system_info.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_node\_system\_info module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_node_system_info + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_non_resource_attributes.rst b/doc/source/kubernetes_asyncio.test.test_v1_non_resource_attributes.rst new file mode 100644 index 00000000..c4f4ef2e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_non_resource_attributes.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_non\_resource\_attributes module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_non_resource_attributes + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_non_resource_policy_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_non_resource_policy_rule.rst new file mode 100644 index 00000000..b51f1883 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_non_resource_policy_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_non\_resource\_policy\_rule module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_non_resource_policy_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_non_resource_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_non_resource_rule.rst new file mode 100644 index 00000000..22ae0304 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_non_resource_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_non\_resource\_rule module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_non_resource_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_object_field_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1_object_field_selector.rst new file mode 100644 index 00000000..373746b2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_object_field_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_object\_field\_selector module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_object_field_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_object_meta.rst b/doc/source/kubernetes_asyncio.test.test_v1_object_meta.rst new file mode 100644 index 00000000..75592b1d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_object_meta.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_object\_meta module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_object_meta + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_object_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_object_reference.rst new file mode 100644 index 00000000..e11b5463 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_object_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_object\_reference module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_object_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_overhead.rst b/doc/source/kubernetes_asyncio.test.test_v1_overhead.rst new file mode 100644 index 00000000..82395d50 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_overhead.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_overhead module +================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_overhead + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_owner_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_owner_reference.rst new file mode 100644 index 00000000..69c6a60a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_owner_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_owner\_reference module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_owner_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_param_kind.rst b/doc/source/kubernetes_asyncio.test.test_v1_param_kind.rst new file mode 100644 index 00000000..1623a153 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_param_kind.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_param\_kind module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_param_kind + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_param_ref.rst b/doc/source/kubernetes_asyncio.test.test_v1_param_ref.rst new file mode 100644 index 00000000..dcc9c586 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_param_ref.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_param\_ref module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_param_ref + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_parent_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_parent_reference.rst new file mode 100644 index 00000000..ad0a612b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_parent_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_parent\_reference module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_parent_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume.rst new file mode 100644 index 00000000..eff5646a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim.rst new file mode 100644 index 00000000..45954a14 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_claim module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_condition.rst new file mode 100644 index 00000000..ba8cf8e3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_claim\_condition module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_claim_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_list.rst new file mode 100644 index 00000000..86bafc18 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_claim\_list module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_claim_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_spec.rst new file mode 100644 index 00000000..487de6ab --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_claim\_spec module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_claim_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_status.rst new file mode 100644 index 00000000..dc4fe37a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_claim\_status module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_claim_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_template.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_template.rst new file mode 100644 index 00000000..b6a53fed --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_claim\_template module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_claim_template + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_volume_source.rst new file mode 100644 index 00000000..4df597d5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_claim_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_claim\_volume\_source module +=================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_claim_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_list.rst new file mode 100644 index 00000000..6b3e72f2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_list module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_spec.rst new file mode 100644 index 00000000..28a16989 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_spec module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_status.rst new file mode 100644 index 00000000..a5e15209 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_persistent_volume_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_persistent\_volume\_status module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_persistent_volume_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_photon_persistent_disk_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_photon_persistent_disk_volume_source.rst new file mode 100644 index 00000000..bfbf908b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_photon_persistent_disk_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_photon\_persistent\_disk\_volume\_source module +================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_photon_persistent_disk_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod.rst new file mode 100644 index 00000000..fff6e7e1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod module +============================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_affinity.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_affinity.rst new file mode 100644 index 00000000..7ea3f1c5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_affinity.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_affinity module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_affinity + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_affinity_term.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_affinity_term.rst new file mode 100644 index 00000000..88486ce1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_affinity_term.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_affinity\_term module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_affinity_term + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_anti_affinity.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_anti_affinity.rst new file mode 100644 index 00000000..a150850a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_anti_affinity.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_anti\_affinity module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_anti_affinity + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_condition.rst new file mode 100644 index 00000000..a2a4fa29 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_condition module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget.rst new file mode 100644 index 00000000..bba04cd7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_disruption\_budget module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_disruption_budget + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget_list.rst new file mode 100644 index 00000000..3098d7a8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_disruption\_budget\_list module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_disruption_budget_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget_spec.rst new file mode 100644 index 00000000..4979702f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_disruption\_budget\_spec module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_disruption_budget_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget_status.rst new file mode 100644 index 00000000..4920ee85 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_disruption_budget_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_disruption\_budget\_status module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_disruption_budget_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_dns_config.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_dns_config.rst new file mode 100644 index 00000000..b4258311 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_dns_config.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_dns\_config module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_dns_config + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_dns_config_option.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_dns_config_option.rst new file mode 100644 index 00000000..d6984ef2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_dns_config_option.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_dns\_config\_option module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_dns_config_option + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy.rst new file mode 100644 index 00000000..08ee26dc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_failure\_policy module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_failure_policy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy_on_exit_codes_requirement.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy_on_exit_codes_requirement.rst new file mode 100644 index 00000000..eeeff754 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy_on_exit_codes_requirement.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_failure\_policy\_on\_exit\_codes\_requirement module +============================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_failure_policy_on_exit_codes_requirement + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy_on_pod_conditions_pattern.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy_on_pod_conditions_pattern.rst new file mode 100644 index 00000000..8df5b56d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy_on_pod_conditions_pattern.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_failure\_policy\_on\_pod\_conditions\_pattern module +============================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_failure_policy_on_pod_conditions_pattern + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy_rule.rst new file mode 100644 index 00000000..74cc1b38 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_failure_policy_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_failure\_policy\_rule module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_failure_policy_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_ip.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_ip.rst new file mode 100644 index 00000000..8defb00f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_ip.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_ip module +================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_ip + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_list.rst new file mode 100644 index 00000000..9ba6f39d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_list module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_os.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_os.rst new file mode 100644 index 00000000..57013878 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_os.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_os module +================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_os + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_readiness_gate.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_readiness_gate.rst new file mode 100644 index 00000000..e038c1e4 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_readiness_gate.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_readiness\_gate module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_readiness_gate + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_resource_claim.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_resource_claim.rst new file mode 100644 index 00000000..48587109 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_resource\_claim module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_resource_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_resource_claim_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_resource_claim_status.rst new file mode 100644 index 00000000..21631ee8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_resource\_claim\_status module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_resource_claim_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_scheduling_gate.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_scheduling_gate.rst new file mode 100644 index 00000000..6667d7d6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_scheduling_gate.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_scheduling\_gate module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_scheduling_gate + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_security_context.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_security_context.rst new file mode 100644 index 00000000..22206532 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_security_context.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_security\_context module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_security_context + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_spec.rst new file mode 100644 index 00000000..253a0dbb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_spec module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_status.rst new file mode 100644 index 00000000..1f4336d5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_status module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_template.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_template.rst new file mode 100644 index 00000000..c516b457 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_template.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_template module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_template + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_template_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_template_list.rst new file mode 100644 index 00000000..1f26aaa2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_template_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_template\_list module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_template_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_pod_template_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_pod_template_spec.rst new file mode 100644 index 00000000..383504bf --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_pod_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_pod\_template\_spec module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_pod_template_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_policy_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_policy_rule.rst new file mode 100644 index 00000000..502a1b99 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_policy_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_policy\_rule module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_policy_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_policy_rules_with_subjects.rst b/doc/source/kubernetes_asyncio.test.test_v1_policy_rules_with_subjects.rst new file mode 100644 index 00000000..6cb9737a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_policy_rules_with_subjects.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_policy\_rules\_with\_subjects module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_policy_rules_with_subjects + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_port_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_port_status.rst new file mode 100644 index 00000000..331bda14 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_port_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_port\_status module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_port_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_portworx_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_portworx_volume_source.rst new file mode 100644 index 00000000..9044e49e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_portworx_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_portworx\_volume\_source module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_portworx_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_preconditions.rst b/doc/source/kubernetes_asyncio.test.test_v1_preconditions.rst new file mode 100644 index 00000000..18aca149 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_preconditions.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_preconditions module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_preconditions + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_preferred_scheduling_term.rst b/doc/source/kubernetes_asyncio.test.test_v1_preferred_scheduling_term.rst new file mode 100644 index 00000000..383de7bb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_preferred_scheduling_term.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_preferred\_scheduling\_term module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_preferred_scheduling_term + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_priority_class.rst b/doc/source/kubernetes_asyncio.test.test_v1_priority_class.rst new file mode 100644 index 00000000..df72bc96 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_priority_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_priority\_class module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_priority_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_priority_class_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_priority_class_list.rst new file mode 100644 index 00000000..18c956d1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_priority_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_priority\_class\_list module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_priority_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration.rst new file mode 100644 index 00000000..29887d32 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_priority\_level\_configuration module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_priority_level_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_condition.rst new file mode 100644 index 00000000..474ac363 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_priority\_level\_configuration\_condition module +=================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_priority_level_configuration_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_list.rst new file mode 100644 index 00000000..80edebd3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_priority\_level\_configuration\_list module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_priority_level_configuration_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_reference.rst new file mode 100644 index 00000000..6be122b8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_priority\_level\_configuration\_reference module +=================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_priority_level_configuration_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_spec.rst new file mode 100644 index 00000000..9321fe0a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_priority\_level\_configuration\_spec module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_priority_level_configuration_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_status.rst new file mode 100644 index 00000000..1fc8f9c1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_priority_level_configuration_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_priority\_level\_configuration\_status module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_priority_level_configuration_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_probe.rst b/doc/source/kubernetes_asyncio.test.test_v1_probe.rst new file mode 100644 index 00000000..a2fc57a7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_probe.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_probe module +=============================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_probe + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_projected_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_projected_volume_source.rst new file mode 100644 index 00000000..44e7575d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_projected_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_projected\_volume\_source module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_projected_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_queuing_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1_queuing_configuration.rst new file mode 100644 index 00000000..526d1a79 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_queuing_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_queuing\_configuration module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_queuing_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_quobyte_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_quobyte_volume_source.rst new file mode 100644 index 00000000..2a2bca25 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_quobyte_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_quobyte\_volume\_source module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_quobyte_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_rbd_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_rbd_persistent_volume_source.rst new file mode 100644 index 00000000..f0ddc67c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_rbd_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_rbd\_persistent\_volume\_source module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_rbd_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_rbd_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_rbd_volume_source.rst new file mode 100644 index 00000000..62291899 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_rbd_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_rbd\_volume\_source module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_rbd_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replica_set.rst b/doc/source/kubernetes_asyncio.test.test_v1_replica_set.rst new file mode 100644 index 00000000..9b352998 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replica_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replica\_set module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_replica_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replica_set_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_replica_set_condition.rst new file mode 100644 index 00000000..600812bb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replica_set_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replica\_set\_condition module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_replica_set_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replica_set_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_replica_set_list.rst new file mode 100644 index 00000000..9471534e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replica_set_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replica\_set\_list module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_replica_set_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replica_set_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_replica_set_spec.rst new file mode 100644 index 00000000..5d361209 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replica_set_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replica\_set\_spec module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_replica_set_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replica_set_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_replica_set_status.rst new file mode 100644 index 00000000..cff32780 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replica_set_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replica\_set\_status module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_replica_set_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replication_controller.rst b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller.rst new file mode 100644 index 00000000..f21e51fc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replication\_controller module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_replication_controller + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_condition.rst new file mode 100644 index 00000000..2d4735c8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replication\_controller\_condition module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_replication_controller_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_list.rst new file mode 100644 index 00000000..9c15f01d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replication\_controller\_list module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_replication_controller_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_spec.rst new file mode 100644 index 00000000..693ae4f6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replication\_controller\_spec module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_replication_controller_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_status.rst new file mode 100644 index 00000000..be2dc09e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_replication_controller_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_replication\_controller\_status module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_replication_controller_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_attributes.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_attributes.rst new file mode 100644 index 00000000..e7f2f4ed --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_attributes.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_attributes module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_attributes + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_claim.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_claim.rst new file mode 100644 index 00000000..95acaabf --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_claim module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_field_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_field_selector.rst new file mode 100644 index 00000000..28248214 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_field_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_field\_selector module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_field_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_health.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_health.rst new file mode 100644 index 00000000..7031e662 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_health.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_health module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_health + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_policy_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_policy_rule.rst new file mode 100644 index 00000000..1b5ecfce --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_policy_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_policy\_rule module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_policy_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_quota.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_quota.rst new file mode 100644 index 00000000..affde1cb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_quota.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_quota module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_quota + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_quota_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_quota_list.rst new file mode 100644 index 00000000..428671ef --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_quota_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_quota\_list module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_quota_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_quota_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_quota_spec.rst new file mode 100644 index 00000000..7676ae76 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_quota_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_quota\_spec module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_quota_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_quota_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_quota_status.rst new file mode 100644 index 00000000..e52a95e6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_quota_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_quota\_status module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_quota_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_requirements.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_requirements.rst new file mode 100644 index 00000000..df2a1fb2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_requirements.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_requirements module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_requirements + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_rule.rst new file mode 100644 index 00000000..9e10ec27 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_rule module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_resource_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_resource_status.rst new file mode 100644 index 00000000..fd7019ca --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_resource_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_resource\_status module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_resource_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_role.rst b/doc/source/kubernetes_asyncio.test.test_v1_role.rst new file mode 100644 index 00000000..dea0d509 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_role.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_role module +============================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_role + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_role_binding.rst b/doc/source/kubernetes_asyncio.test.test_v1_role_binding.rst new file mode 100644 index 00000000..d34064b4 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_role_binding.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_role\_binding module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_role_binding + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_role_binding_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_role_binding_list.rst new file mode 100644 index 00000000..efc00de5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_role_binding_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_role\_binding\_list module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_role_binding_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_role_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_role_list.rst new file mode 100644 index 00000000..7d54c62e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_role_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_role\_list module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_role_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_role_ref.rst b/doc/source/kubernetes_asyncio.test.test_v1_role_ref.rst new file mode 100644 index 00000000..7a91a35a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_role_ref.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_role\_ref module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_role_ref + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_rolling_update_daemon_set.rst b/doc/source/kubernetes_asyncio.test.test_v1_rolling_update_daemon_set.rst new file mode 100644 index 00000000..dc05fb3e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_rolling_update_daemon_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_rolling\_update\_daemon\_set module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_rolling_update_daemon_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_rolling_update_deployment.rst b/doc/source/kubernetes_asyncio.test.test_v1_rolling_update_deployment.rst new file mode 100644 index 00000000..4171e837 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_rolling_update_deployment.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_rolling\_update\_deployment module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_rolling_update_deployment + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_rolling_update_stateful_set_strategy.rst b/doc/source/kubernetes_asyncio.test.test_v1_rolling_update_stateful_set_strategy.rst new file mode 100644 index 00000000..c7eedb10 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_rolling_update_stateful_set_strategy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_rolling\_update\_stateful\_set\_strategy module +================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_rolling_update_stateful_set_strategy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_rule_with_operations.rst b/doc/source/kubernetes_asyncio.test.test_v1_rule_with_operations.rst new file mode 100644 index 00000000..67228199 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_rule_with_operations.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_rule\_with\_operations module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_rule_with_operations + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_runtime_class.rst b/doc/source/kubernetes_asyncio.test.test_v1_runtime_class.rst new file mode 100644 index 00000000..ea593a2c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_runtime_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_runtime\_class module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_runtime_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_runtime_class_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_runtime_class_list.rst new file mode 100644 index 00000000..6095bc74 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_runtime_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_runtime\_class\_list module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_runtime_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_scale.rst b/doc/source/kubernetes_asyncio.test.test_v1_scale.rst new file mode 100644 index 00000000..bc2a97c3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_scale.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_scale module +=============================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_scale + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_scale_io_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_scale_io_persistent_volume_source.rst new file mode 100644 index 00000000..4f1115fa --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_scale_io_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_scale\_io\_persistent\_volume\_source module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_scale_io_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_scale_io_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_scale_io_volume_source.rst new file mode 100644 index 00000000..2ac8c9d9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_scale_io_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_scale\_io\_volume\_source module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_scale_io_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_scale_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_scale_spec.rst new file mode 100644 index 00000000..65904c1a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_scale_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_scale\_spec module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_scale_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_scale_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_scale_status.rst new file mode 100644 index 00000000..80d82c2a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_scale_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_scale\_status module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_scale_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_scheduling.rst b/doc/source/kubernetes_asyncio.test.test_v1_scheduling.rst new file mode 100644 index 00000000..51cbbe40 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_scheduling.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_scheduling module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_scheduling + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_scope_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1_scope_selector.rst new file mode 100644 index 00000000..e8a75a35 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_scope_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_scope\_selector module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_scope_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_scoped_resource_selector_requirement.rst b/doc/source/kubernetes_asyncio.test.test_v1_scoped_resource_selector_requirement.rst new file mode 100644 index 00000000..d5fa70aa --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_scoped_resource_selector_requirement.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_scoped\_resource\_selector\_requirement module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_scoped_resource_selector_requirement + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_se_linux_options.rst b/doc/source/kubernetes_asyncio.test.test_v1_se_linux_options.rst new file mode 100644 index 00000000..0a6809c3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_se_linux_options.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_se\_linux\_options module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_se_linux_options + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_seccomp_profile.rst b/doc/source/kubernetes_asyncio.test.test_v1_seccomp_profile.rst new file mode 100644 index 00000000..74883fdb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_seccomp_profile.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_seccomp\_profile module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_seccomp_profile + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_secret.rst b/doc/source/kubernetes_asyncio.test.test_v1_secret.rst new file mode 100644 index 00000000..20784f59 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_secret.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_secret module +================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_secret + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_secret_env_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_secret_env_source.rst new file mode 100644 index 00000000..62868b5f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_secret_env_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_secret\_env\_source module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_secret_env_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_secret_key_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1_secret_key_selector.rst new file mode 100644 index 00000000..81177925 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_secret_key_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_secret\_key\_selector module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_secret_key_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_secret_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_secret_list.rst new file mode 100644 index 00000000..7660332e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_secret_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_secret\_list module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_secret_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_secret_projection.rst b/doc/source/kubernetes_asyncio.test.test_v1_secret_projection.rst new file mode 100644 index 00000000..2d73f626 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_secret_projection.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_secret\_projection module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_secret_projection + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_secret_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_secret_reference.rst new file mode 100644 index 00000000..9c64bc2f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_secret_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_secret\_reference module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_secret_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_secret_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_secret_volume_source.rst new file mode 100644 index 00000000..6693b355 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_secret_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_secret\_volume\_source module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_secret_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_security_context.rst b/doc/source/kubernetes_asyncio.test.test_v1_security_context.rst new file mode 100644 index 00000000..921559b6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_security_context.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_security\_context module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_security_context + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_selectable_field.rst b/doc/source/kubernetes_asyncio.test.test_v1_selectable_field.rst new file mode 100644 index 00000000..2911e43e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_selectable_field.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_selectable\_field module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_selectable_field + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_self_subject_access_review.rst b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_access_review.rst new file mode 100644 index 00000000..6b64d7cc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_access_review.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_self\_subject\_access\_review module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_self_subject_access_review + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_self_subject_access_review_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_access_review_spec.rst new file mode 100644 index 00000000..dac77ce9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_access_review_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_self\_subject\_access\_review\_spec module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_self_subject_access_review_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_self_subject_review.rst b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_review.rst new file mode 100644 index 00000000..4579906b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_review.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_self\_subject\_review module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_self_subject_review + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_self_subject_review_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_review_status.rst new file mode 100644 index 00000000..207a1b5c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_review_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_self\_subject\_review\_status module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_self_subject_review_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_self_subject_rules_review.rst b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_rules_review.rst new file mode 100644 index 00000000..8d8b1ebd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_rules_review.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_self\_subject\_rules\_review module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_self_subject_rules_review + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_self_subject_rules_review_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_rules_review_spec.rst new file mode 100644 index 00000000..9057068f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_self_subject_rules_review_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_self\_subject\_rules\_review\_spec module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_self_subject_rules_review_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_server_address_by_client_cidr.rst b/doc/source/kubernetes_asyncio.test.test_v1_server_address_by_client_cidr.rst new file mode 100644 index 00000000..12789a42 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_server_address_by_client_cidr.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_server\_address\_by\_client\_cidr module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_server_address_by_client_cidr + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service.rst b/doc/source/kubernetes_asyncio.test.test_v1_service.rst new file mode 100644 index 00000000..831c6b45 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service module +================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_service + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_account.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_account.rst new file mode 100644 index 00000000..fdb558cb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_account.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_account module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_service_account + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_account_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_account_list.rst new file mode 100644 index 00000000..260b7266 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_account_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_account\_list module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_service_account_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_account_subject.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_account_subject.rst new file mode 100644 index 00000000..2aba86fb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_account_subject.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_account\_subject module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_service_account_subject + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_account_token_projection.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_account_token_projection.rst new file mode 100644 index 00000000..d869235e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_account_token_projection.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_account\_token\_projection module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_service_account_token_projection + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_backend_port.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_backend_port.rst new file mode 100644 index 00000000..73d5c190 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_backend_port.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_backend\_port module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_service_backend_port + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_cidr.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_cidr.rst new file mode 100644 index 00000000..cf85593d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_cidr.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_cidr module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_service_cidr + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_cidr_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_cidr_list.rst new file mode 100644 index 00000000..9b5943b9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_cidr_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_cidr\_list module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_service_cidr_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_cidr_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_cidr_spec.rst new file mode 100644 index 00000000..c83a43f2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_cidr_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_cidr\_spec module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_service_cidr_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_cidr_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_cidr_status.rst new file mode 100644 index 00000000..3e260a47 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_cidr_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_cidr\_status module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_service_cidr_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_list.rst new file mode 100644 index 00000000..21e60ca5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_list module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_service_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_port.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_port.rst new file mode 100644 index 00000000..56c69500 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_port.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_port module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_service_port + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_spec.rst new file mode 100644 index 00000000..4517997c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_spec module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_service_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_service_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_service_status.rst new file mode 100644 index 00000000..0c48c361 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_service_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_service\_status module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_service_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_session_affinity_config.rst b/doc/source/kubernetes_asyncio.test.test_v1_session_affinity_config.rst new file mode 100644 index 00000000..164ff3fc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_session_affinity_config.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_session\_affinity\_config module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_session_affinity_config + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_sleep_action.rst b/doc/source/kubernetes_asyncio.test.test_v1_sleep_action.rst new file mode 100644 index 00000000..f5383cd2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_sleep_action.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_sleep\_action module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_sleep_action + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_stateful_set.rst b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set.rst new file mode 100644 index 00000000..5902b0ec --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_stateful\_set module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_stateful_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_condition.rst new file mode 100644 index 00000000..d41f14b2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_stateful\_set\_condition module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_stateful_set_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_list.rst new file mode 100644 index 00000000..6b4c0598 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_stateful\_set\_list module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_stateful_set_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_ordinals.rst b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_ordinals.rst new file mode 100644 index 00000000..11385a85 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_ordinals.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_stateful\_set\_ordinals module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_stateful_set_ordinals + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_persistent_volume_claim_retention_policy.rst b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_persistent_volume_claim_retention_policy.rst new file mode 100644 index 00000000..d99fb1c5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_persistent_volume_claim_retention_policy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_stateful\_set\_persistent\_volume\_claim\_retention\_policy module +===================================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_stateful_set_persistent_volume_claim_retention_policy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_spec.rst new file mode 100644 index 00000000..e72a6932 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_stateful\_set\_spec module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_stateful_set_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_status.rst new file mode 100644 index 00000000..e283fc40 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_stateful\_set\_status module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_stateful_set_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_update_strategy.rst b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_update_strategy.rst new file mode 100644 index 00000000..6f0b5cdc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_stateful_set_update_strategy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_stateful\_set\_update\_strategy module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_stateful_set_update_strategy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_status.rst new file mode 100644 index 00000000..461d79c1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_status module +================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_status_cause.rst b/doc/source/kubernetes_asyncio.test.test_v1_status_cause.rst new file mode 100644 index 00000000..fb8d7f84 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_status_cause.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_status\_cause module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_status_cause + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_status_details.rst b/doc/source/kubernetes_asyncio.test.test_v1_status_details.rst new file mode 100644 index 00000000..6d9b8a29 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_status_details.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_status\_details module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_status_details + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_storage_class.rst b/doc/source/kubernetes_asyncio.test.test_v1_storage_class.rst new file mode 100644 index 00000000..d8131769 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_storage_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_storage\_class module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_storage_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_storage_class_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_storage_class_list.rst new file mode 100644 index 00000000..38a8ad27 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_storage_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_storage\_class\_list module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_storage_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_storage_os_persistent_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_storage_os_persistent_volume_source.rst new file mode 100644 index 00000000..cc2b643c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_storage_os_persistent_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_storage\_os\_persistent\_volume\_source module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_storage_os_persistent_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_storage_os_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_storage_os_volume_source.rst new file mode 100644 index 00000000..ebd78e58 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_storage_os_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_storage\_os\_volume\_source module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_storage_os_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_subject_access_review.rst b/doc/source/kubernetes_asyncio.test.test_v1_subject_access_review.rst new file mode 100644 index 00000000..9bc7eda9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_subject_access_review.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_subject\_access\_review module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_subject_access_review + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_subject_access_review_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_subject_access_review_spec.rst new file mode 100644 index 00000000..82c670ae --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_subject_access_review_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_subject\_access\_review\_spec module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_subject_access_review_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_subject_access_review_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_subject_access_review_status.rst new file mode 100644 index 00000000..4bbf808c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_subject_access_review_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_subject\_access\_review\_status module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_subject_access_review_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_subject_rules_review_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_subject_rules_review_status.rst new file mode 100644 index 00000000..05b7c4ae --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_subject_rules_review_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_subject\_rules\_review\_status module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_subject_rules_review_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_success_policy.rst b/doc/source/kubernetes_asyncio.test.test_v1_success_policy.rst new file mode 100644 index 00000000..f18ba687 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_success_policy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_success\_policy module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_success_policy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_success_policy_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_success_policy_rule.rst new file mode 100644 index 00000000..31edce70 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_success_policy_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_success\_policy\_rule module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_success_policy_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_sysctl.rst b/doc/source/kubernetes_asyncio.test.test_v1_sysctl.rst new file mode 100644 index 00000000..b0ebbe0b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_sysctl.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_sysctl module +================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_sysctl + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_taint.rst b/doc/source/kubernetes_asyncio.test.test_v1_taint.rst new file mode 100644 index 00000000..4941061d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_taint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_taint module +=============================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_taint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_tcp_socket_action.rst b/doc/source/kubernetes_asyncio.test.test_v1_tcp_socket_action.rst new file mode 100644 index 00000000..d114c805 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_tcp_socket_action.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_tcp\_socket\_action module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_tcp_socket_action + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_token_request_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_token_request_spec.rst new file mode 100644 index 00000000..5fd3eab5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_token_request_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_token\_request\_spec module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_token_request_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_token_request_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_token_request_status.rst new file mode 100644 index 00000000..98367bed --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_token_request_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_token\_request\_status module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_token_request_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_token_review.rst b/doc/source/kubernetes_asyncio.test.test_v1_token_review.rst new file mode 100644 index 00000000..f16da4c7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_token_review.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_token\_review module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_token_review + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_token_review_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_token_review_spec.rst new file mode 100644 index 00000000..4b48f65a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_token_review_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_token\_review\_spec module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_token_review_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_token_review_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_token_review_status.rst new file mode 100644 index 00000000..0b1b4609 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_token_review_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_token\_review\_status module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_token_review_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_toleration.rst b/doc/source/kubernetes_asyncio.test.test_v1_toleration.rst new file mode 100644 index 00000000..9d5e2393 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_toleration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_toleration module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_toleration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_topology_selector_label_requirement.rst b/doc/source/kubernetes_asyncio.test.test_v1_topology_selector_label_requirement.rst new file mode 100644 index 00000000..ef1a6d0a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_topology_selector_label_requirement.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_topology\_selector\_label\_requirement module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_topology_selector_label_requirement + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_topology_selector_term.rst b/doc/source/kubernetes_asyncio.test.test_v1_topology_selector_term.rst new file mode 100644 index 00000000..bfabfa7d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_topology_selector_term.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_topology\_selector\_term module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_topology_selector_term + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_topology_spread_constraint.rst b/doc/source/kubernetes_asyncio.test.test_v1_topology_spread_constraint.rst new file mode 100644 index 00000000..6c20a211 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_topology_spread_constraint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_topology\_spread\_constraint module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_topology_spread_constraint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_type_checking.rst b/doc/source/kubernetes_asyncio.test.test_v1_type_checking.rst new file mode 100644 index 00000000..932db200 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_type_checking.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_type\_checking module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_type_checking + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_typed_local_object_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_typed_local_object_reference.rst new file mode 100644 index 00000000..fd7d21fe --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_typed_local_object_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_typed\_local\_object\_reference module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_typed_local_object_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_typed_object_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1_typed_object_reference.rst new file mode 100644 index 00000000..9048dd8f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_typed_object_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_typed\_object\_reference module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_typed_object_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_uncounted_terminated_pods.rst b/doc/source/kubernetes_asyncio.test.test_v1_uncounted_terminated_pods.rst new file mode 100644 index 00000000..dfe541fb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_uncounted_terminated_pods.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_uncounted\_terminated\_pods module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_uncounted_terminated_pods + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_user_info.rst b/doc/source/kubernetes_asyncio.test.test_v1_user_info.rst new file mode 100644 index 00000000..01fb5457 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_user_info.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_user\_info module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_user_info + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_user_subject.rst b/doc/source/kubernetes_asyncio.test.test_v1_user_subject.rst new file mode 100644 index 00000000..c78bc5cc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_user_subject.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_user\_subject module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_user_subject + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy.rst new file mode 100644 index 00000000..3b8f1ccc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_admission\_policy module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_admission_policy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_binding.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_binding.rst new file mode 100644 index 00000000..bfcdfdb2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_binding.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_admission\_policy\_binding module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_admission_policy_binding + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_list.rst new file mode 100644 index 00000000..5c7ce414 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_admission\_policy\_binding\_list module +====================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_spec.rst new file mode 100644 index 00000000..4f1b2d57 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_admission\_policy\_binding\_spec module +====================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_admission_policy_binding_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_list.rst new file mode 100644 index 00000000..9b1b1fbd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_admission\_policy\_list module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_admission_policy_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_spec.rst new file mode 100644 index 00000000..ceeacf70 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_admission\_policy\_spec module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_admission_policy_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_status.rst new file mode 100644 index 00000000..3e56d938 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_admission_policy_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_admission\_policy\_status module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_admission_policy_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_webhook.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_webhook.rst new file mode 100644 index 00000000..d519746c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_webhook.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_webhook module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_webhook + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_webhook_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_webhook_configuration.rst new file mode 100644 index 00000000..1a29f2da --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_webhook_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_webhook\_configuration module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_webhook_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validating_webhook_configuration_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_validating_webhook_configuration_list.rst new file mode 100644 index 00000000..72f96439 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validating_webhook_configuration_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validating\_webhook\_configuration\_list module +================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_validating_webhook_configuration_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validation.rst b/doc/source/kubernetes_asyncio.test.test_v1_validation.rst new file mode 100644 index 00000000..39273564 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validation.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validation module +==================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_validation + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_validation_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1_validation_rule.rst new file mode 100644 index 00000000..80d1738c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_validation_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_validation\_rule module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_validation_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_variable.rst b/doc/source/kubernetes_asyncio.test.test_v1_variable.rst new file mode 100644 index 00000000..3141fb6f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_variable.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_variable module +================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_variable + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume.rst new file mode 100644 index 00000000..76244e30 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume module +================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_volume + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment.rst new file mode 100644 index 00000000..dd77d96a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_attachment module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_attachment + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_list.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_list.rst new file mode 100644 index 00000000..f9389ee9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_attachment\_list module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_attachment_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_source.rst new file mode 100644 index 00000000..615a2942 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_attachment\_source module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_attachment_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_spec.rst new file mode 100644 index 00000000..f58d775b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_attachment\_spec module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_attachment_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_status.rst new file mode 100644 index 00000000..337f61dd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_attachment_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_attachment\_status module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_attachment_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_device.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_device.rst new file mode 100644 index 00000000..532a8240 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_device.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_device module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_error.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_error.rst new file mode 100644 index 00000000..b8e4c352 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_error.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_error module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_error + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_mount.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_mount.rst new file mode 100644 index 00000000..e4c81ce8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_mount.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_mount module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_mount + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_mount_status.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_mount_status.rst new file mode 100644 index 00000000..29b09a30 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_mount_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_mount\_status module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_mount_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_node_affinity.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_node_affinity.rst new file mode 100644 index 00000000..a3e8c713 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_node_affinity.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_node\_affinity module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_node_affinity + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_node_resources.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_node_resources.rst new file mode 100644 index 00000000..25218a84 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_node_resources.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_node\_resources module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_node_resources + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_projection.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_projection.rst new file mode 100644 index 00000000..042fc5b3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_projection.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_projection module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_projection + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_volume_resource_requirements.rst b/doc/source/kubernetes_asyncio.test.test_v1_volume_resource_requirements.rst new file mode 100644 index 00000000..a6f93f67 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_volume_resource_requirements.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_volume\_resource\_requirements module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_volume_resource_requirements + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_vsphere_virtual_disk_volume_source.rst b/doc/source/kubernetes_asyncio.test.test_v1_vsphere_virtual_disk_volume_source.rst new file mode 100644 index 00000000..f5b16f7a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_vsphere_virtual_disk_volume_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_vsphere\_virtual\_disk\_volume\_source module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1_vsphere_virtual_disk_volume_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_watch_event.rst b/doc/source/kubernetes_asyncio.test.test_v1_watch_event.rst new file mode 100644 index 00000000..7f977e34 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_watch_event.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_watch\_event module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1_watch_event + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_webhook_conversion.rst b/doc/source/kubernetes_asyncio.test.test_v1_webhook_conversion.rst new file mode 100644 index 00000000..0b333e3a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_webhook_conversion.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_webhook\_conversion module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_webhook_conversion + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_weighted_pod_affinity_term.rst b/doc/source/kubernetes_asyncio.test.test_v1_weighted_pod_affinity_term.rst new file mode 100644 index 00000000..24c81f32 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_weighted_pod_affinity_term.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_weighted\_pod\_affinity\_term module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_weighted_pod_affinity_term + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1_windows_security_context_options.rst b/doc/source/kubernetes_asyncio.test.test_v1_windows_security_context_options.rst new file mode 100644 index 00000000..a98508e0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1_windows_security_context_options.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1\_windows\_security\_context\_options module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1_windows_security_context_options + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_apply_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_apply_configuration.rst new file mode 100644 index 00000000..d8395657 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_apply_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_apply\_configuration module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_apply_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle.rst new file mode 100644 index 00000000..4203c1df --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_cluster\_trust\_bundle module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_list.rst new file mode 100644 index 00000000..57344127 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_cluster\_trust\_bundle\_list module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_spec.rst new file mode 100644 index 00000000..6afb18c6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_cluster\_trust\_bundle\_spec module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_cluster_trust_bundle_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_group_version_resource.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_group_version_resource.rst new file mode 100644 index 00000000..590ff0f1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_group_version_resource.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_group\_version\_resource module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_group_version_resource + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_json_patch.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_json_patch.rst new file mode 100644 index 00000000..70d65aff --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_json_patch.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_json\_patch module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_json_patch + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_match_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_match_condition.rst new file mode 100644 index 00000000..7df9e91b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_match_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_match\_condition module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_match_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_match_resources.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_match_resources.rst new file mode 100644 index 00000000..ec47adc0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_match_resources.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_match\_resources module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_match_resources + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_migration_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_migration_condition.rst new file mode 100644 index 00000000..d46fd596 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_migration_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_migration\_condition module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_migration_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy.rst new file mode 100644 index 00000000..2e488e5d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_mutating\_admission\_policy module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding.rst new file mode 100644 index 00000000..b5a54d7b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_mutating\_admission\_policy\_binding module +==================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_list.rst new file mode 100644 index 00000000..0589d2eb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_mutating\_admission\_policy\_binding\_list module +========================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_spec.rst new file mode 100644 index 00000000..b2303ba3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_mutating\_admission\_policy\_binding\_spec module +========================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_binding_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_list.rst new file mode 100644 index 00000000..2cc14a38 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_mutating\_admission\_policy\_list module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_spec.rst new file mode 100644 index 00000000..8366eeb5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_mutating\_admission\_policy\_spec module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_mutating_admission_policy_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutation.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutation.rst new file mode 100644 index 00000000..497e1d7a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_mutation.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_mutation module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_mutation + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_named_rule_with_operations.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_named_rule_with_operations.rst new file mode 100644 index 00000000..3d2aa659 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_named_rule_with_operations.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_named\_rule\_with\_operations module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_named_rule_with_operations + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_param_kind.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_param_kind.rst new file mode 100644 index 00000000..075b8bfe --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_param_kind.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_param\_kind module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_param_kind + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_param_ref.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_param_ref.rst new file mode 100644 index 00000000..c0cd9fe3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_param_ref.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_param\_ref module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_param_ref + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_server_storage_version.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_server_storage_version.rst new file mode 100644 index 00000000..709426b0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_server_storage_version.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_server\_storage\_version module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_server_storage_version + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version.rst new file mode 100644 index 00000000..fd4bc4c3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_storage\_version module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_storage_version + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_condition.rst new file mode 100644 index 00000000..414631bb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_storage\_version\_condition module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_storage_version_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_list.rst new file mode 100644 index 00000000..ad7b10f4 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_storage\_version\_list module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_storage_version_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration.rst new file mode 100644 index 00000000..d1d999e1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_storage\_version\_migration module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_storage_version_migration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_list.rst new file mode 100644 index 00000000..c91fdb64 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_storage\_version\_migration\_list module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_spec.rst new file mode 100644 index 00000000..27a0e159 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_storage\_version\_migration\_spec module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_status.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_status.rst new file mode 100644 index 00000000..d2710e60 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_storage\_version\_migration\_status module +=================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_storage_version_migration_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_status.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_status.rst new file mode 100644 index 00000000..6abb5baf --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_storage_version_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_storage\_version\_status module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_storage_version_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_variable.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_variable.rst new file mode 100644 index 00000000..34123b59 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_variable.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_variable module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_variable + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class.rst new file mode 100644 index 00000000..0a73f930 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_volume\_attributes\_class module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class_list.rst new file mode 100644 index 00000000..e47ce52c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha1\_volume\_attributes\_class\_list module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha1_volume_attributes_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha2_lease_candidate.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha2_lease_candidate.rst new file mode 100644 index 00000000..352aca89 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha2_lease_candidate.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha2\_lease\_candidate module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha2_lease_candidate + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha2_lease_candidate_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha2_lease_candidate_list.rst new file mode 100644 index 00000000..aecb6d7e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha2_lease_candidate_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha2\_lease\_candidate\_list module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha2_lease_candidate_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha2_lease_candidate_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha2_lease_candidate_spec.rst new file mode 100644 index 00000000..ad14c25d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha2_lease_candidate_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha2\_lease\_candidate\_spec module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha2_lease_candidate_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_allocated_device_status.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_allocated_device_status.rst new file mode 100644 index 00000000..8455efff --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_allocated_device_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_allocated\_device\_status module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_allocated_device_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_allocation_result.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_allocation_result.rst new file mode 100644 index 00000000..a50b5055 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_allocation\_result module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_basic_device.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_basic_device.rst new file mode 100644 index 00000000..291f0ab6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_basic_device.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_basic\_device module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_basic_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_cel_device_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_cel_device_selector.rst new file mode 100644 index 00000000..b2ca9828 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_cel\_device\_selector module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_cel_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_counter.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_counter.rst new file mode 100644 index 00000000..eb7cc725 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_counter.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_counter module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_counter + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_counter_set.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_counter_set.rst new file mode 100644 index 00000000..4fb30c7f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_counter\_set module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_counter_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device.rst new file mode 100644 index 00000000..5d14052e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_allocation_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_allocation_configuration.rst new file mode 100644 index 00000000..b8fa6ac7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_allocation\_configuration module +================================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_allocation_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_allocation_result.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_allocation_result.rst new file mode 100644 index 00000000..36f4592e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_allocation\_result module +========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_attribute.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_attribute.rst new file mode 100644 index 00000000..0bf832ee --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_attribute module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_attribute + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_claim.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_claim.rst new file mode 100644 index 00000000..3032481c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_claim module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_claim_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_claim_configuration.rst new file mode 100644 index 00000000..13180a1f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_claim\_configuration module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_claim_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class.rst new file mode 100644 index 00000000..935f4d92 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_class module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class_configuration.rst new file mode 100644 index 00000000..2de374d9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_class\_configuration module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_class_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class_list.rst new file mode 100644 index 00000000..7e00966e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_class\_list module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class_spec.rst new file mode 100644 index 00000000..e44fec30 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_class\_spec module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_class_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_constraint.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_constraint.rst new file mode 100644 index 00000000..79ff6a5f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_constraint module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_constraint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_counter_consumption.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_counter_consumption.rst new file mode 100644 index 00000000..228846be --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_counter\_consumption module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_counter_consumption + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_request.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_request.rst new file mode 100644 index 00000000..c8f244ed --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_request module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_request_allocation_result.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_request_allocation_result.rst new file mode 100644 index 00000000..fc435198 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_request\_allocation\_result module +=================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_request_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_selector.rst new file mode 100644 index 00000000..7f5e69b5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_selector module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_sub_request.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_sub_request.rst new file mode 100644 index 00000000..1a20174d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_sub\_request module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_sub_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint.rst new file mode 100644 index 00000000..fbc84849 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_taint module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_taint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_rule.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_rule.rst new file mode 100644 index 00000000..42c2810d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_rule.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_taint\_rule module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_taint_rule + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_list.rst new file mode 100644 index 00000000..23ac0544 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_taint\_rule\_list module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_spec.rst new file mode 100644 index 00000000..6238e18d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_taint\_rule\_spec module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_taint_rule_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_selector.rst new file mode 100644 index 00000000..bea33f94 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_taint_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_taint\_selector module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_taint_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_toleration.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_toleration.rst new file mode 100644 index 00000000..23abd727 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_device\_toleration module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_device_toleration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_network_device_data.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_network_device_data.rst new file mode 100644 index 00000000..e0ed00d9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_network_device_data.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_network\_device\_data module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_network_device_data + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_opaque_device_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_opaque_device_configuration.rst new file mode 100644 index 00000000..7f7472b8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_opaque_device_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_opaque\_device\_configuration module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_opaque_device_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim.rst new file mode 100644 index 00000000..137b02c3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_claim module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_consumer_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_consumer_reference.rst new file mode 100644 index 00000000..f183fbb3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_consumer_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_claim\_consumer\_reference module +==================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_claim_consumer_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_list.rst new file mode 100644 index 00000000..0990cc21 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_claim\_list module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_claim_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_spec.rst new file mode 100644 index 00000000..e01d38b5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_claim\_spec module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_claim_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_status.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_status.rst new file mode 100644 index 00000000..643357bf --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_claim\_status module +======================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_claim_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_template.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_template.rst new file mode 100644 index 00000000..52fded3e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_claim\_template module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_claim_template + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_list.rst new file mode 100644 index 00000000..7cc4d5d9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_claim\_template\_list module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_spec.rst new file mode 100644 index 00000000..a6fcc43e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_claim\_template\_spec module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_claim_template_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_pool.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_pool.rst new file mode 100644 index 00000000..f6806278 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_pool module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_pool + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_slice.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_slice.rst new file mode 100644 index 00000000..cd2636e2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_slice module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_slice + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_slice_list.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_slice_list.rst new file mode 100644 index 00000000..826c163b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_slice\_list module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_slice_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_slice_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_slice_spec.rst new file mode 100644 index 00000000..4dea9335 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1alpha3_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1alpha3\_resource\_slice\_spec module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1alpha3_resource_slice_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_allocated_device_status.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_allocated_device_status.rst new file mode 100644 index 00000000..38702f96 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_allocated_device_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_allocated\_device\_status module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_allocated_device_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_allocation_result.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_allocation_result.rst new file mode 100644 index 00000000..beac99b8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_allocation\_result module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_audit_annotation.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_audit_annotation.rst new file mode 100644 index 00000000..37149612 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_audit_annotation.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_audit\_annotation module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_audit_annotation + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_basic_device.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_basic_device.rst new file mode 100644 index 00000000..ffb7adc6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_basic_device.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_basic\_device module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_basic_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_cel_device_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_cel_device_selector.rst new file mode 100644 index 00000000..46a83d3d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_cel\_device\_selector module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_cel_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle.rst new file mode 100644 index 00000000..972f3aee --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_cluster\_trust\_bundle module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_list.rst new file mode 100644 index 00000000..0e98e47b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_cluster\_trust\_bundle\_list module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_spec.rst new file mode 100644 index 00000000..a6c96397 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_cluster\_trust\_bundle\_spec module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_cluster_trust_bundle_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_counter.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_counter.rst new file mode 100644 index 00000000..9b957f44 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_counter.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_counter module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_counter + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_counter_set.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_counter_set.rst new file mode 100644 index 00000000..d417d101 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_counter\_set module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_counter_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device.rst new file mode 100644 index 00000000..c132220f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_allocation_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_allocation_configuration.rst new file mode 100644 index 00000000..3ce2b06b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_allocation\_configuration module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_allocation_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_allocation_result.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_allocation_result.rst new file mode 100644 index 00000000..b0009414 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_allocation\_result module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_attribute.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_attribute.rst new file mode 100644 index 00000000..07519128 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_attribute module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_attribute + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_capacity.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_capacity.rst new file mode 100644 index 00000000..55c4508b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_capacity.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_capacity module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_capacity + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_claim.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_claim.rst new file mode 100644 index 00000000..5a218a99 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_claim module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_claim_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_claim_configuration.rst new file mode 100644 index 00000000..6724fcaf --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_claim\_configuration module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_claim_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class.rst new file mode 100644 index 00000000..ef9c6c94 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_class module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class_configuration.rst new file mode 100644 index 00000000..ea891e8e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_class\_configuration module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_class_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class_list.rst new file mode 100644 index 00000000..d989ebe5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_class\_list module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class_spec.rst new file mode 100644 index 00000000..9cc41a54 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_class\_spec module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_class_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_constraint.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_constraint.rst new file mode 100644 index 00000000..a7b76873 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_constraint module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_constraint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_counter_consumption.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_counter_consumption.rst new file mode 100644 index 00000000..22009216 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_counter\_consumption module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_counter_consumption + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_request.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_request.rst new file mode 100644 index 00000000..90d4e5ca --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_request module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_request_allocation_result.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_request_allocation_result.rst new file mode 100644 index 00000000..bfee8661 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_request\_allocation\_result module +================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_request_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_selector.rst new file mode 100644 index 00000000..66236a61 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_selector module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_sub_request.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_sub_request.rst new file mode 100644 index 00000000..08d4d147 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_sub\_request module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_sub_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_taint.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_taint.rst new file mode 100644 index 00000000..bb751ae5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_taint module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_taint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_device_toleration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_toleration.rst new file mode 100644 index 00000000..746fe101 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_device\_toleration module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_device_toleration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_expression_warning.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_expression_warning.rst new file mode 100644 index 00000000..859d1b93 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_expression_warning.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_expression\_warning module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_expression_warning + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_ip_address.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_ip_address.rst new file mode 100644 index 00000000..19cc2454 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_ip_address.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_ip\_address module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_ip_address + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_ip_address_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_ip_address_list.rst new file mode 100644 index 00000000..65aede6f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_ip_address_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_ip\_address\_list module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_ip_address_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_ip_address_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_ip_address_spec.rst new file mode 100644 index 00000000..f9aa40e8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_ip_address_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_ip\_address\_spec module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_ip_address_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_lease_candidate.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_lease_candidate.rst new file mode 100644 index 00000000..a8149241 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_lease_candidate.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_lease\_candidate module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_lease_candidate + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_lease_candidate_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_lease_candidate_list.rst new file mode 100644 index 00000000..782047e7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_lease_candidate_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_lease\_candidate\_list module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_lease_candidate_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_lease_candidate_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_lease_candidate_spec.rst new file mode 100644 index 00000000..ac685b92 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_lease_candidate_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_lease\_candidate\_spec module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_lease_candidate_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_match_condition.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_match_condition.rst new file mode 100644 index 00000000..ef12437f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_match_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_match\_condition module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_match_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_match_resources.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_match_resources.rst new file mode 100644 index 00000000..9e251a64 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_match_resources.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_match\_resources module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_match_resources + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_named_rule_with_operations.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_named_rule_with_operations.rst new file mode 100644 index 00000000..8ca6d56e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_named_rule_with_operations.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_named\_rule\_with\_operations module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_named_rule_with_operations + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_network_device_data.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_network_device_data.rst new file mode 100644 index 00000000..23f46e42 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_network_device_data.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_network\_device\_data module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_network_device_data + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_opaque_device_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_opaque_device_configuration.rst new file mode 100644 index 00000000..fe6d8ff2 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_opaque_device_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_opaque\_device\_configuration module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_opaque_device_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_param_kind.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_param_kind.rst new file mode 100644 index 00000000..bf85115c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_param_kind.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_param\_kind module +========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_param_kind + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_param_ref.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_param_ref.rst new file mode 100644 index 00000000..f05b801e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_param_ref.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_param\_ref module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_param_ref + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_parent_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_parent_reference.rst new file mode 100644 index 00000000..1afece0c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_parent_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_parent\_reference module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_parent_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim.rst new file mode 100644 index 00000000..9d137ed9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_claim module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_consumer_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_consumer_reference.rst new file mode 100644 index 00000000..01039ed7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_consumer_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_claim\_consumer\_reference module +=================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_claim_consumer_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_list.rst new file mode 100644 index 00000000..12e2ef5c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_claim\_list module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_claim_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_spec.rst new file mode 100644 index 00000000..e451bf7a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_claim\_spec module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_claim_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_status.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_status.rst new file mode 100644 index 00000000..387055f0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_claim\_status module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_claim_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_template.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_template.rst new file mode 100644 index 00000000..7cde321a --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_claim\_template module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_claim_template + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_template_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_template_list.rst new file mode 100644 index 00000000..e6c21759 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_template_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_claim\_template\_list module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_claim_template_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_template_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_template_spec.rst new file mode 100644 index 00000000..26a12669 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_claim_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_claim\_template\_spec module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_claim_template_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_pool.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_pool.rst new file mode 100644 index 00000000..bc4b5b57 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_pool module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_pool + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_slice.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_slice.rst new file mode 100644 index 00000000..0adcbabd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_slice module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_slice + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_slice_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_slice_list.rst new file mode 100644 index 00000000..24f851ff --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_slice\_list module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_slice_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_slice_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_slice_spec.rst new file mode 100644 index 00000000..dc789834 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_resource\_slice\_spec module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_resource_slice_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr.rst new file mode 100644 index 00000000..b1b02c20 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_service\_cidr module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_service_cidr + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr_list.rst new file mode 100644 index 00000000..1f79b7c0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_service\_cidr\_list module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_service_cidr_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr_spec.rst new file mode 100644 index 00000000..1913de8b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_service\_cidr\_spec module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_service_cidr_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr_status.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr_status.rst new file mode 100644 index 00000000..62d9559c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_service_cidr_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_service\_cidr\_status module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_service_cidr_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_type_checking.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_type_checking.rst new file mode 100644 index 00000000..8550669f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_type_checking.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_type\_checking module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_type_checking + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy.rst new file mode 100644 index 00000000..f0ab5cbb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_validating\_admission\_policy module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_validating_admission_policy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding.rst new file mode 100644 index 00000000..3803a867 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_validating\_admission\_policy\_binding module +===================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_list.rst new file mode 100644 index 00000000..67e44924 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_validating\_admission\_policy\_binding\_list module +=========================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_spec.rst new file mode 100644 index 00000000..0f556292 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_validating\_admission\_policy\_binding\_spec module +=========================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_binding_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_list.rst new file mode 100644 index 00000000..9f9b2329 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_validating\_admission\_policy\_list module +================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_spec.rst new file mode 100644 index 00000000..57586e94 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_validating\_admission\_policy\_spec module +================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_status.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_status.rst new file mode 100644 index 00000000..4b0251c0 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_validating\_admission\_policy\_status module +==================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_validating_admission_policy_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_validation.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_validation.rst new file mode 100644 index 00000000..10daf8c6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_validation.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_validation module +========================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_validation + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_variable.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_variable.rst new file mode 100644 index 00000000..dccdd5a8 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_variable.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_variable module +======================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_variable + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_volume_attributes_class.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_volume_attributes_class.rst new file mode 100644 index 00000000..9d4df819 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_volume_attributes_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_volume\_attributes\_class module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_volume_attributes_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta1_volume_attributes_class_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta1_volume_attributes_class_list.rst new file mode 100644 index 00000000..e8644d34 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta1_volume_attributes_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta1\_volume\_attributes\_class\_list module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta1_volume_attributes_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_allocated_device_status.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_allocated_device_status.rst new file mode 100644 index 00000000..c783b9e5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_allocated_device_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_allocated\_device\_status module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_allocated_device_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_allocation_result.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_allocation_result.rst new file mode 100644 index 00000000..783cb56b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_allocation\_result module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_cel_device_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_cel_device_selector.rst new file mode 100644 index 00000000..53bb811c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_cel_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_cel\_device\_selector module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_cel_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_counter.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_counter.rst new file mode 100644 index 00000000..c03624a9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_counter.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_counter module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_counter + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_counter_set.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_counter_set.rst new file mode 100644 index 00000000..c86444a4 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_counter_set.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_counter\_set module +=========================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_counter_set + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device.rst new file mode 100644 index 00000000..7ceb3299 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device module +===================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_allocation_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_allocation_configuration.rst new file mode 100644 index 00000000..c3400fc4 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_allocation_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_allocation\_configuration module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_allocation_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_allocation_result.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_allocation_result.rst new file mode 100644 index 00000000..979d2928 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_allocation\_result module +========================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_attribute.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_attribute.rst new file mode 100644 index 00000000..5c0d1a68 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_attribute.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_attribute module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_attribute + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_capacity.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_capacity.rst new file mode 100644 index 00000000..49b20116 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_capacity.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_capacity module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_capacity + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_claim.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_claim.rst new file mode 100644 index 00000000..431fece6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_claim module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_claim_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_claim_configuration.rst new file mode 100644 index 00000000..e0b8eb4c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_claim_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_claim\_configuration module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_claim_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class.rst new file mode 100644 index 00000000..e7879fcb --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_class module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_class + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class_configuration.rst new file mode 100644 index 00000000..499098f1 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_class\_configuration module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_class_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class_list.rst new file mode 100644 index 00000000..ac69040c --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_class\_list module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_class_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class_spec.rst new file mode 100644 index 00000000..d1c0546e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_class_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_class\_spec module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_class_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_constraint.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_constraint.rst new file mode 100644 index 00000000..d9aca1a3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_constraint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_constraint module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_constraint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_counter_consumption.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_counter_consumption.rst new file mode 100644 index 00000000..d8197464 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_counter_consumption.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_counter\_consumption module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_counter_consumption + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_request.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_request.rst new file mode 100644 index 00000000..6bd76d9e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_request module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_request_allocation_result.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_request_allocation_result.rst new file mode 100644 index 00000000..1f8af879 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_request_allocation_result.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_request\_allocation\_result module +================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_request_allocation_result + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_selector.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_selector.rst new file mode 100644 index 00000000..1a73e8ad --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_selector.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_selector module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_selector + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_sub_request.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_sub_request.rst new file mode 100644 index 00000000..bdf559a6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_sub_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_sub\_request module +=================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_sub_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_taint.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_taint.rst new file mode 100644 index 00000000..ccc7f2c9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_taint.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_taint module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_taint + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_device_toleration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_toleration.rst new file mode 100644 index 00000000..9d8ddbb5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_device_toleration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_device\_toleration module +================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_device_toleration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_exact_device_request.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_exact_device_request.rst new file mode 100644 index 00000000..aa899de5 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_exact_device_request.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_exact\_device\_request module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_exact_device_request + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_network_device_data.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_network_device_data.rst new file mode 100644 index 00000000..e0bd0186 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_network_device_data.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_network\_device\_data module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_network_device_data + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_opaque_device_configuration.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_opaque_device_configuration.rst new file mode 100644 index 00000000..a3fbce05 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_opaque_device_configuration.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_opaque\_device\_configuration module +============================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_opaque_device_configuration + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim.rst new file mode 100644 index 00000000..59d7f507 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_claim module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_claim + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_consumer_reference.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_consumer_reference.rst new file mode 100644 index 00000000..9a627bbf --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_consumer_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_claim\_consumer\_reference module +=================================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_claim_consumer_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_list.rst new file mode 100644 index 00000000..3d1cc3d9 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_claim\_list module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_claim_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_spec.rst new file mode 100644 index 00000000..faf9a526 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_claim\_spec module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_claim_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_status.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_status.rst new file mode 100644 index 00000000..e7e3a400 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_claim\_status module +====================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_claim_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_template.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_template.rst new file mode 100644 index 00000000..d648f98d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_template.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_claim\_template module +======================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_claim_template + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_template_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_template_list.rst new file mode 100644 index 00000000..ed261cf7 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_template_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_claim\_template\_list module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_claim_template_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_template_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_template_spec.rst new file mode 100644 index 00000000..51bb57cd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_claim_template_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_claim\_template\_spec module +============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_claim_template_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_pool.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_pool.rst new file mode 100644 index 00000000..534ddd00 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_pool.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_pool module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_pool + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_slice.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_slice.rst new file mode 100644 index 00000000..8bd35e36 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_slice.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_slice module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_slice + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_slice_list.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_slice_list.rst new file mode 100644 index 00000000..3174347b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_slice_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_slice\_list module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_slice_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_slice_spec.rst b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_slice_spec.rst new file mode 100644 index 00000000..9795a3db --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v1beta2_resource_slice_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v1beta2\_resource\_slice\_spec module +==================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v1beta2_resource_slice_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_container_resource_metric_source.rst b/doc/source/kubernetes_asyncio.test.test_v2_container_resource_metric_source.rst new file mode 100644 index 00000000..0d05158d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_container_resource_metric_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_container\_resource\_metric\_source module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v2_container_resource_metric_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_container_resource_metric_status.rst b/doc/source/kubernetes_asyncio.test.test_v2_container_resource_metric_status.rst new file mode 100644 index 00000000..95a63fe6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_container_resource_metric_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_container\_resource\_metric\_status module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v2_container_resource_metric_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_cross_version_object_reference.rst b/doc/source/kubernetes_asyncio.test.test_v2_cross_version_object_reference.rst new file mode 100644 index 00000000..1cba6e30 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_cross_version_object_reference.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_cross\_version\_object\_reference module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_cross_version_object_reference + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_external_metric_source.rst b/doc/source/kubernetes_asyncio.test.test_v2_external_metric_source.rst new file mode 100644 index 00000000..58692f63 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_external_metric_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_external\_metric\_source module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_external_metric_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_external_metric_status.rst b/doc/source/kubernetes_asyncio.test.test_v2_external_metric_status.rst new file mode 100644 index 00000000..4d0152dc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_external_metric_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_external\_metric\_status module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_external_metric_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler.rst b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler.rst new file mode 100644 index 00000000..82a66f96 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_horizontal\_pod\_autoscaler module +===================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_behavior.rst b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_behavior.rst new file mode 100644 index 00000000..61aac453 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_behavior.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_horizontal\_pod\_autoscaler\_behavior module +=============================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_behavior + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_condition.rst b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_condition.rst new file mode 100644 index 00000000..77f5f0a6 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_condition.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_horizontal\_pod\_autoscaler\_condition module +================================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_condition + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_list.rst b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_list.rst new file mode 100644 index 00000000..335de79b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_list.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_horizontal\_pod\_autoscaler\_list module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_list + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_spec.rst b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_spec.rst new file mode 100644 index 00000000..762ee138 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_horizontal\_pod\_autoscaler\_spec module +=========================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_status.rst b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_status.rst new file mode 100644 index 00000000..03f5a038 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_horizontal\_pod\_autoscaler\_status module +============================================================================= + +.. automodule:: kubernetes_asyncio.test.test_v2_horizontal_pod_autoscaler_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_hpa_scaling_policy.rst b/doc/source/kubernetes_asyncio.test.test_v2_hpa_scaling_policy.rst new file mode 100644 index 00000000..26d9f05f --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_hpa_scaling_policy.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_hpa\_scaling\_policy module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_hpa_scaling_policy + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_hpa_scaling_rules.rst b/doc/source/kubernetes_asyncio.test.test_v2_hpa_scaling_rules.rst new file mode 100644 index 00000000..5ed2a285 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_hpa_scaling_rules.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_hpa\_scaling\_rules module +============================================================= + +.. automodule:: kubernetes_asyncio.test.test_v2_hpa_scaling_rules + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_metric_identifier.rst b/doc/source/kubernetes_asyncio.test.test_v2_metric_identifier.rst new file mode 100644 index 00000000..abf35a1e --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_metric_identifier.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_metric\_identifier module +============================================================ + +.. automodule:: kubernetes_asyncio.test.test_v2_metric_identifier + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_metric_spec.rst b/doc/source/kubernetes_asyncio.test.test_v2_metric_spec.rst new file mode 100644 index 00000000..9502e9bd --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_metric_spec.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_metric\_spec module +====================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_metric_spec + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_metric_status.rst b/doc/source/kubernetes_asyncio.test.test_v2_metric_status.rst new file mode 100644 index 00000000..0668f310 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_metric_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_metric\_status module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_metric_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_metric_target.rst b/doc/source/kubernetes_asyncio.test.test_v2_metric_target.rst new file mode 100644 index 00000000..03f2b0bc --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_metric_target.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_metric\_target module +======================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_metric_target + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_metric_value_status.rst b/doc/source/kubernetes_asyncio.test.test_v2_metric_value_status.rst new file mode 100644 index 00000000..da63b63d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_metric_value_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_metric\_value\_status module +=============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_metric_value_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_object_metric_source.rst b/doc/source/kubernetes_asyncio.test.test_v2_object_metric_source.rst new file mode 100644 index 00000000..8653c2c3 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_object_metric_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_object\_metric\_source module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v2_object_metric_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_object_metric_status.rst b/doc/source/kubernetes_asyncio.test.test_v2_object_metric_status.rst new file mode 100644 index 00000000..2c02c50b --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_object_metric_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_object\_metric\_status module +================================================================ + +.. automodule:: kubernetes_asyncio.test.test_v2_object_metric_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_pods_metric_source.rst b/doc/source/kubernetes_asyncio.test.test_v2_pods_metric_source.rst new file mode 100644 index 00000000..b40e7b07 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_pods_metric_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_pods\_metric\_source module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_pods_metric_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_pods_metric_status.rst b/doc/source/kubernetes_asyncio.test.test_v2_pods_metric_status.rst new file mode 100644 index 00000000..1c60791d --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_pods_metric_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_pods\_metric\_status module +============================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_pods_metric_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_resource_metric_source.rst b/doc/source/kubernetes_asyncio.test.test_v2_resource_metric_source.rst new file mode 100644 index 00000000..95404c74 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_resource_metric_source.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_resource\_metric\_source module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_resource_metric_source + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_v2_resource_metric_status.rst b/doc/source/kubernetes_asyncio.test.test_v2_resource_metric_status.rst new file mode 100644 index 00000000..28ea0962 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_v2_resource_metric_status.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_v2\_resource\_metric\_status module +================================================================== + +.. automodule:: kubernetes_asyncio.test.test_v2_resource_metric_status + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/source/kubernetes_asyncio.test.test_version_info.rst b/doc/source/kubernetes_asyncio.test.test_version_info.rst new file mode 100644 index 00000000..57922176 --- /dev/null +++ b/doc/source/kubernetes_asyncio.test.test_version_info.rst @@ -0,0 +1,7 @@ +kubernetes\_asyncio.test.test\_version\_info module +=================================================== + +.. automodule:: kubernetes_asyncio.test.test_version_info + :members: + :undoc-members: + :show-inheritance: diff --git a/kubernetes_asyncio/.openapi-generator/FILES b/kubernetes_asyncio/.openapi-generator/FILES index 17a333bf..a1cc7939 100644 --- a/kubernetes_asyncio/.openapi-generator/FILES +++ b/kubernetes_asyncio/.openapi-generator/FILES @@ -15,7 +15,6 @@ client/api/apps_api.py client/api/apps_v1_api.py client/api/authentication_api.py client/api/authentication_v1_api.py -client/api/authentication_v1beta1_api.py client/api/authorization_api.py client/api/authorization_v1_api.py client/api/autoscaling_api.py @@ -26,9 +25,11 @@ client/api/batch_v1_api.py client/api/certificates_api.py client/api/certificates_v1_api.py client/api/certificates_v1alpha1_api.py +client/api/certificates_v1beta1_api.py client/api/coordination_api.py client/api/coordination_v1_api.py client/api/coordination_v1alpha2_api.py +client/api/coordination_v1beta1_api.py client/api/core_api.py client/api/core_v1_api.py client/api/custom_objects_api.py @@ -54,6 +55,7 @@ client/api/rbac_authorization_v1_api.py client/api/resource_api.py client/api/resource_v1alpha3_api.py client/api/resource_v1beta1_api.py +client/api/resource_v1beta2_api.py client/api/scheduling_api.py client/api/scheduling_v1_api.py client/api/storage_api.py @@ -223,6 +225,7 @@ client/models/v1_flow_schema_condition.py client/models/v1_flow_schema_list.py client/models/v1_flow_schema_spec.py client/models/v1_flow_schema_status.py +client/models/v1_for_node.py client/models/v1_for_zone.py client/models/v1_gce_persistent_disk_volume_source.py client/models/v1_git_repo_volume_source.py @@ -258,6 +261,9 @@ client/models/v1_ingress_service_backend.py client/models/v1_ingress_spec.py client/models/v1_ingress_status.py client/models/v1_ingress_tls.py +client/models/v1_ip_address.py +client/models/v1_ip_address_list.py +client/models/v1_ip_address_spec.py client/models/v1_ip_block.py client/models/v1_iscsi_persistent_volume_source.py client/models/v1_iscsi_volume_source.py @@ -327,6 +333,7 @@ client/models/v1_node_selector_requirement.py client/models/v1_node_selector_term.py client/models/v1_node_spec.py client/models/v1_node_status.py +client/models/v1_node_swap_status.py client/models/v1_node_system_info.py client/models/v1_non_resource_attributes.py client/models/v1_non_resource_policy_rule.py @@ -338,6 +345,7 @@ client/models/v1_overhead.py client/models/v1_owner_reference.py client/models/v1_param_kind.py client/models/v1_param_ref.py +client/models/v1_parent_reference.py client/models/v1_persistent_volume.py client/models/v1_persistent_volume_claim.py client/models/v1_persistent_volume_claim_condition.py @@ -463,6 +471,10 @@ client/models/v1_service_account_list.py client/models/v1_service_account_subject.py client/models/v1_service_account_token_projection.py client/models/v1_service_backend_port.py +client/models/v1_service_cidr.py +client/models/v1_service_cidr_list.py +client/models/v1_service_cidr_spec.py +client/models/v1_service_cidr_status.py client/models/v1_service_list.py client/models/v1_service_port.py client/models/v1_service_spec.py @@ -578,6 +590,8 @@ client/models/v1alpha3_allocated_device_status.py client/models/v1alpha3_allocation_result.py client/models/v1alpha3_basic_device.py client/models/v1alpha3_cel_device_selector.py +client/models/v1alpha3_counter.py +client/models/v1alpha3_counter_set.py client/models/v1alpha3_device.py client/models/v1alpha3_device_allocation_configuration.py client/models/v1alpha3_device_allocation_result.py @@ -589,9 +603,17 @@ client/models/v1alpha3_device_class_configuration.py client/models/v1alpha3_device_class_list.py client/models/v1alpha3_device_class_spec.py client/models/v1alpha3_device_constraint.py +client/models/v1alpha3_device_counter_consumption.py client/models/v1alpha3_device_request.py client/models/v1alpha3_device_request_allocation_result.py client/models/v1alpha3_device_selector.py +client/models/v1alpha3_device_sub_request.py +client/models/v1alpha3_device_taint.py +client/models/v1alpha3_device_taint_rule.py +client/models/v1alpha3_device_taint_rule_list.py +client/models/v1alpha3_device_taint_rule_spec.py +client/models/v1alpha3_device_taint_selector.py +client/models/v1alpha3_device_toleration.py client/models/v1alpha3_network_device_data.py client/models/v1alpha3_opaque_device_configuration.py client/models/v1alpha3_resource_claim.py @@ -611,6 +633,11 @@ client/models/v1beta1_allocation_result.py client/models/v1beta1_audit_annotation.py client/models/v1beta1_basic_device.py client/models/v1beta1_cel_device_selector.py +client/models/v1beta1_cluster_trust_bundle.py +client/models/v1beta1_cluster_trust_bundle_list.py +client/models/v1beta1_cluster_trust_bundle_spec.py +client/models/v1beta1_counter.py +client/models/v1beta1_counter_set.py client/models/v1beta1_device.py client/models/v1beta1_device_allocation_configuration.py client/models/v1beta1_device_allocation_result.py @@ -623,13 +650,20 @@ client/models/v1beta1_device_class_configuration.py client/models/v1beta1_device_class_list.py client/models/v1beta1_device_class_spec.py client/models/v1beta1_device_constraint.py +client/models/v1beta1_device_counter_consumption.py client/models/v1beta1_device_request.py client/models/v1beta1_device_request_allocation_result.py client/models/v1beta1_device_selector.py +client/models/v1beta1_device_sub_request.py +client/models/v1beta1_device_taint.py +client/models/v1beta1_device_toleration.py client/models/v1beta1_expression_warning.py client/models/v1beta1_ip_address.py client/models/v1beta1_ip_address_list.py client/models/v1beta1_ip_address_spec.py +client/models/v1beta1_lease_candidate.py +client/models/v1beta1_lease_candidate_list.py +client/models/v1beta1_lease_candidate_spec.py client/models/v1beta1_match_condition.py client/models/v1beta1_match_resources.py client/models/v1beta1_named_rule_with_operations.py @@ -650,8 +684,6 @@ client/models/v1beta1_resource_pool.py client/models/v1beta1_resource_slice.py client/models/v1beta1_resource_slice_list.py client/models/v1beta1_resource_slice_spec.py -client/models/v1beta1_self_subject_review.py -client/models/v1beta1_self_subject_review_status.py client/models/v1beta1_service_cidr.py client/models/v1beta1_service_cidr_list.py client/models/v1beta1_service_cidr_spec.py @@ -668,6 +700,45 @@ client/models/v1beta1_validation.py client/models/v1beta1_variable.py client/models/v1beta1_volume_attributes_class.py client/models/v1beta1_volume_attributes_class_list.py +client/models/v1beta2_allocated_device_status.py +client/models/v1beta2_allocation_result.py +client/models/v1beta2_cel_device_selector.py +client/models/v1beta2_counter.py +client/models/v1beta2_counter_set.py +client/models/v1beta2_device.py +client/models/v1beta2_device_allocation_configuration.py +client/models/v1beta2_device_allocation_result.py +client/models/v1beta2_device_attribute.py +client/models/v1beta2_device_capacity.py +client/models/v1beta2_device_claim.py +client/models/v1beta2_device_claim_configuration.py +client/models/v1beta2_device_class.py +client/models/v1beta2_device_class_configuration.py +client/models/v1beta2_device_class_list.py +client/models/v1beta2_device_class_spec.py +client/models/v1beta2_device_constraint.py +client/models/v1beta2_device_counter_consumption.py +client/models/v1beta2_device_request.py +client/models/v1beta2_device_request_allocation_result.py +client/models/v1beta2_device_selector.py +client/models/v1beta2_device_sub_request.py +client/models/v1beta2_device_taint.py +client/models/v1beta2_device_toleration.py +client/models/v1beta2_exact_device_request.py +client/models/v1beta2_network_device_data.py +client/models/v1beta2_opaque_device_configuration.py +client/models/v1beta2_resource_claim.py +client/models/v1beta2_resource_claim_consumer_reference.py +client/models/v1beta2_resource_claim_list.py +client/models/v1beta2_resource_claim_spec.py +client/models/v1beta2_resource_claim_status.py +client/models/v1beta2_resource_claim_template.py +client/models/v1beta2_resource_claim_template_list.py +client/models/v1beta2_resource_claim_template_spec.py +client/models/v1beta2_resource_pool.py +client/models/v1beta2_resource_slice.py +client/models/v1beta2_resource_slice_list.py +client/models/v1beta2_resource_slice_spec.py client/models/v2_container_resource_metric_source.py client/models/v2_container_resource_metric_status.py client/models/v2_cross_version_object_reference.py @@ -713,7 +784,6 @@ docs/AppsV1Api.md docs/AuthenticationApi.md docs/AuthenticationV1Api.md docs/AuthenticationV1TokenRequest.md -docs/AuthenticationV1beta1Api.md docs/AuthorizationApi.md docs/AuthorizationV1Api.md docs/AutoscalingApi.md @@ -724,9 +794,11 @@ docs/BatchV1Api.md docs/CertificatesApi.md docs/CertificatesV1Api.md docs/CertificatesV1alpha1Api.md +docs/CertificatesV1beta1Api.md docs/CoordinationApi.md docs/CoordinationV1Api.md docs/CoordinationV1alpha2Api.md +docs/CoordinationV1beta1Api.md docs/CoreApi.md docs/CoreV1Api.md docs/CoreV1EndpointPort.md @@ -762,6 +834,7 @@ docs/RbacV1Subject.md docs/ResourceApi.md docs/ResourceV1alpha3Api.md docs/ResourceV1beta1Api.md +docs/ResourceV1beta2Api.md docs/SchedulingApi.md docs/SchedulingV1Api.md docs/StorageApi.md @@ -909,6 +982,7 @@ docs/V1FlowSchemaCondition.md docs/V1FlowSchemaList.md docs/V1FlowSchemaSpec.md docs/V1FlowSchemaStatus.md +docs/V1ForNode.md docs/V1ForZone.md docs/V1GCEPersistentDiskVolumeSource.md docs/V1GRPCAction.md @@ -928,6 +1002,9 @@ docs/V1HorizontalPodAutoscalerStatus.md docs/V1HostAlias.md docs/V1HostIP.md docs/V1HostPathVolumeSource.md +docs/V1IPAddress.md +docs/V1IPAddressList.md +docs/V1IPAddressSpec.md docs/V1IPBlock.md docs/V1ISCSIPersistentVolumeSource.md docs/V1ISCSIVolumeSource.md @@ -1013,6 +1090,7 @@ docs/V1NodeSelectorRequirement.md docs/V1NodeSelectorTerm.md docs/V1NodeSpec.md docs/V1NodeStatus.md +docs/V1NodeSwapStatus.md docs/V1NodeSystemInfo.md docs/V1NonResourceAttributes.md docs/V1NonResourcePolicyRule.md @@ -1024,6 +1102,7 @@ docs/V1Overhead.md docs/V1OwnerReference.md docs/V1ParamKind.md docs/V1ParamRef.md +docs/V1ParentReference.md docs/V1PersistentVolume.md docs/V1PersistentVolumeClaim.md docs/V1PersistentVolumeClaimCondition.md @@ -1149,6 +1228,10 @@ docs/V1ServiceAccountList.md docs/V1ServiceAccountSubject.md docs/V1ServiceAccountTokenProjection.md docs/V1ServiceBackendPort.md +docs/V1ServiceCIDR.md +docs/V1ServiceCIDRList.md +docs/V1ServiceCIDRSpec.md +docs/V1ServiceCIDRStatus.md docs/V1ServiceList.md docs/V1ServicePort.md docs/V1ServiceSpec.md @@ -1264,6 +1347,8 @@ docs/V1alpha3AllocatedDeviceStatus.md docs/V1alpha3AllocationResult.md docs/V1alpha3BasicDevice.md docs/V1alpha3CELDeviceSelector.md +docs/V1alpha3Counter.md +docs/V1alpha3CounterSet.md docs/V1alpha3Device.md docs/V1alpha3DeviceAllocationConfiguration.md docs/V1alpha3DeviceAllocationResult.md @@ -1275,9 +1360,17 @@ docs/V1alpha3DeviceClassConfiguration.md docs/V1alpha3DeviceClassList.md docs/V1alpha3DeviceClassSpec.md docs/V1alpha3DeviceConstraint.md +docs/V1alpha3DeviceCounterConsumption.md docs/V1alpha3DeviceRequest.md docs/V1alpha3DeviceRequestAllocationResult.md docs/V1alpha3DeviceSelector.md +docs/V1alpha3DeviceSubRequest.md +docs/V1alpha3DeviceTaint.md +docs/V1alpha3DeviceTaintRule.md +docs/V1alpha3DeviceTaintRuleList.md +docs/V1alpha3DeviceTaintRuleSpec.md +docs/V1alpha3DeviceTaintSelector.md +docs/V1alpha3DeviceToleration.md docs/V1alpha3NetworkDeviceData.md docs/V1alpha3OpaqueDeviceConfiguration.md docs/V1alpha3ResourceClaim.md @@ -1297,6 +1390,11 @@ docs/V1beta1AllocationResult.md docs/V1beta1AuditAnnotation.md docs/V1beta1BasicDevice.md docs/V1beta1CELDeviceSelector.md +docs/V1beta1ClusterTrustBundle.md +docs/V1beta1ClusterTrustBundleList.md +docs/V1beta1ClusterTrustBundleSpec.md +docs/V1beta1Counter.md +docs/V1beta1CounterSet.md docs/V1beta1Device.md docs/V1beta1DeviceAllocationConfiguration.md docs/V1beta1DeviceAllocationResult.md @@ -1309,13 +1407,20 @@ docs/V1beta1DeviceClassConfiguration.md docs/V1beta1DeviceClassList.md docs/V1beta1DeviceClassSpec.md docs/V1beta1DeviceConstraint.md +docs/V1beta1DeviceCounterConsumption.md docs/V1beta1DeviceRequest.md docs/V1beta1DeviceRequestAllocationResult.md docs/V1beta1DeviceSelector.md +docs/V1beta1DeviceSubRequest.md +docs/V1beta1DeviceTaint.md +docs/V1beta1DeviceToleration.md docs/V1beta1ExpressionWarning.md docs/V1beta1IPAddress.md docs/V1beta1IPAddressList.md docs/V1beta1IPAddressSpec.md +docs/V1beta1LeaseCandidate.md +docs/V1beta1LeaseCandidateList.md +docs/V1beta1LeaseCandidateSpec.md docs/V1beta1MatchCondition.md docs/V1beta1MatchResources.md docs/V1beta1NamedRuleWithOperations.md @@ -1336,8 +1441,6 @@ docs/V1beta1ResourcePool.md docs/V1beta1ResourceSlice.md docs/V1beta1ResourceSliceList.md docs/V1beta1ResourceSliceSpec.md -docs/V1beta1SelfSubjectReview.md -docs/V1beta1SelfSubjectReviewStatus.md docs/V1beta1ServiceCIDR.md docs/V1beta1ServiceCIDRList.md docs/V1beta1ServiceCIDRSpec.md @@ -1354,6 +1457,45 @@ docs/V1beta1Validation.md docs/V1beta1Variable.md docs/V1beta1VolumeAttributesClass.md docs/V1beta1VolumeAttributesClassList.md +docs/V1beta2AllocatedDeviceStatus.md +docs/V1beta2AllocationResult.md +docs/V1beta2CELDeviceSelector.md +docs/V1beta2Counter.md +docs/V1beta2CounterSet.md +docs/V1beta2Device.md +docs/V1beta2DeviceAllocationConfiguration.md +docs/V1beta2DeviceAllocationResult.md +docs/V1beta2DeviceAttribute.md +docs/V1beta2DeviceCapacity.md +docs/V1beta2DeviceClaim.md +docs/V1beta2DeviceClaimConfiguration.md +docs/V1beta2DeviceClass.md +docs/V1beta2DeviceClassConfiguration.md +docs/V1beta2DeviceClassList.md +docs/V1beta2DeviceClassSpec.md +docs/V1beta2DeviceConstraint.md +docs/V1beta2DeviceCounterConsumption.md +docs/V1beta2DeviceRequest.md +docs/V1beta2DeviceRequestAllocationResult.md +docs/V1beta2DeviceSelector.md +docs/V1beta2DeviceSubRequest.md +docs/V1beta2DeviceTaint.md +docs/V1beta2DeviceToleration.md +docs/V1beta2ExactDeviceRequest.md +docs/V1beta2NetworkDeviceData.md +docs/V1beta2OpaqueDeviceConfiguration.md +docs/V1beta2ResourceClaim.md +docs/V1beta2ResourceClaimConsumerReference.md +docs/V1beta2ResourceClaimList.md +docs/V1beta2ResourceClaimSpec.md +docs/V1beta2ResourceClaimStatus.md +docs/V1beta2ResourceClaimTemplate.md +docs/V1beta2ResourceClaimTemplateList.md +docs/V1beta2ResourceClaimTemplateSpec.md +docs/V1beta2ResourcePool.md +docs/V1beta2ResourceSlice.md +docs/V1beta2ResourceSliceList.md +docs/V1beta2ResourceSliceSpec.md docs/V2ContainerResourceMetricSource.md docs/V2ContainerResourceMetricStatus.md docs/V2CrossVersionObjectReference.md @@ -1402,7 +1544,6 @@ test/test_apps_v1_api.py test/test_authentication_api.py test/test_authentication_v1_api.py test/test_authentication_v1_token_request.py -test/test_authentication_v1beta1_api.py test/test_authorization_api.py test/test_authorization_v1_api.py test/test_autoscaling_api.py @@ -1413,9 +1554,11 @@ test/test_batch_v1_api.py test/test_certificates_api.py test/test_certificates_v1_api.py test/test_certificates_v1alpha1_api.py +test/test_certificates_v1beta1_api.py test/test_coordination_api.py test/test_coordination_v1_api.py test/test_coordination_v1alpha2_api.py +test/test_coordination_v1beta1_api.py test/test_core_api.py test/test_core_v1_api.py test/test_core_v1_endpoint_port.py @@ -1451,6 +1594,7 @@ test/test_rbac_v1_subject.py test/test_resource_api.py test/test_resource_v1alpha3_api.py test/test_resource_v1beta1_api.py +test/test_resource_v1beta2_api.py test/test_scheduling_api.py test/test_scheduling_v1_api.py test/test_storage_api.py @@ -1598,6 +1742,7 @@ test/test_v1_flow_schema_condition.py test/test_v1_flow_schema_list.py test/test_v1_flow_schema_spec.py test/test_v1_flow_schema_status.py +test/test_v1_for_node.py test/test_v1_for_zone.py test/test_v1_gce_persistent_disk_volume_source.py test/test_v1_git_repo_volume_source.py @@ -1633,6 +1778,9 @@ test/test_v1_ingress_service_backend.py test/test_v1_ingress_spec.py test/test_v1_ingress_status.py test/test_v1_ingress_tls.py +test/test_v1_ip_address.py +test/test_v1_ip_address_list.py +test/test_v1_ip_address_spec.py test/test_v1_ip_block.py test/test_v1_iscsi_persistent_volume_source.py test/test_v1_iscsi_volume_source.py @@ -1702,6 +1850,7 @@ test/test_v1_node_selector_requirement.py test/test_v1_node_selector_term.py test/test_v1_node_spec.py test/test_v1_node_status.py +test/test_v1_node_swap_status.py test/test_v1_node_system_info.py test/test_v1_non_resource_attributes.py test/test_v1_non_resource_policy_rule.py @@ -1713,6 +1862,7 @@ test/test_v1_overhead.py test/test_v1_owner_reference.py test/test_v1_param_kind.py test/test_v1_param_ref.py +test/test_v1_parent_reference.py test/test_v1_persistent_volume.py test/test_v1_persistent_volume_claim.py test/test_v1_persistent_volume_claim_condition.py @@ -1838,6 +1988,10 @@ test/test_v1_service_account_list.py test/test_v1_service_account_subject.py test/test_v1_service_account_token_projection.py test/test_v1_service_backend_port.py +test/test_v1_service_cidr.py +test/test_v1_service_cidr_list.py +test/test_v1_service_cidr_spec.py +test/test_v1_service_cidr_status.py test/test_v1_service_list.py test/test_v1_service_port.py test/test_v1_service_spec.py @@ -1953,6 +2107,8 @@ test/test_v1alpha3_allocated_device_status.py test/test_v1alpha3_allocation_result.py test/test_v1alpha3_basic_device.py test/test_v1alpha3_cel_device_selector.py +test/test_v1alpha3_counter.py +test/test_v1alpha3_counter_set.py test/test_v1alpha3_device.py test/test_v1alpha3_device_allocation_configuration.py test/test_v1alpha3_device_allocation_result.py @@ -1964,9 +2120,17 @@ test/test_v1alpha3_device_class_configuration.py test/test_v1alpha3_device_class_list.py test/test_v1alpha3_device_class_spec.py test/test_v1alpha3_device_constraint.py +test/test_v1alpha3_device_counter_consumption.py test/test_v1alpha3_device_request.py test/test_v1alpha3_device_request_allocation_result.py test/test_v1alpha3_device_selector.py +test/test_v1alpha3_device_sub_request.py +test/test_v1alpha3_device_taint.py +test/test_v1alpha3_device_taint_rule.py +test/test_v1alpha3_device_taint_rule_list.py +test/test_v1alpha3_device_taint_rule_spec.py +test/test_v1alpha3_device_taint_selector.py +test/test_v1alpha3_device_toleration.py test/test_v1alpha3_network_device_data.py test/test_v1alpha3_opaque_device_configuration.py test/test_v1alpha3_resource_claim.py @@ -1986,6 +2150,11 @@ test/test_v1beta1_allocation_result.py test/test_v1beta1_audit_annotation.py test/test_v1beta1_basic_device.py test/test_v1beta1_cel_device_selector.py +test/test_v1beta1_cluster_trust_bundle.py +test/test_v1beta1_cluster_trust_bundle_list.py +test/test_v1beta1_cluster_trust_bundle_spec.py +test/test_v1beta1_counter.py +test/test_v1beta1_counter_set.py test/test_v1beta1_device.py test/test_v1beta1_device_allocation_configuration.py test/test_v1beta1_device_allocation_result.py @@ -1998,13 +2167,20 @@ test/test_v1beta1_device_class_configuration.py test/test_v1beta1_device_class_list.py test/test_v1beta1_device_class_spec.py test/test_v1beta1_device_constraint.py +test/test_v1beta1_device_counter_consumption.py test/test_v1beta1_device_request.py test/test_v1beta1_device_request_allocation_result.py test/test_v1beta1_device_selector.py +test/test_v1beta1_device_sub_request.py +test/test_v1beta1_device_taint.py +test/test_v1beta1_device_toleration.py test/test_v1beta1_expression_warning.py test/test_v1beta1_ip_address.py test/test_v1beta1_ip_address_list.py test/test_v1beta1_ip_address_spec.py +test/test_v1beta1_lease_candidate.py +test/test_v1beta1_lease_candidate_list.py +test/test_v1beta1_lease_candidate_spec.py test/test_v1beta1_match_condition.py test/test_v1beta1_match_resources.py test/test_v1beta1_named_rule_with_operations.py @@ -2025,8 +2201,6 @@ test/test_v1beta1_resource_pool.py test/test_v1beta1_resource_slice.py test/test_v1beta1_resource_slice_list.py test/test_v1beta1_resource_slice_spec.py -test/test_v1beta1_self_subject_review.py -test/test_v1beta1_self_subject_review_status.py test/test_v1beta1_service_cidr.py test/test_v1beta1_service_cidr_list.py test/test_v1beta1_service_cidr_spec.py @@ -2043,6 +2217,45 @@ test/test_v1beta1_validation.py test/test_v1beta1_variable.py test/test_v1beta1_volume_attributes_class.py test/test_v1beta1_volume_attributes_class_list.py +test/test_v1beta2_allocated_device_status.py +test/test_v1beta2_allocation_result.py +test/test_v1beta2_cel_device_selector.py +test/test_v1beta2_counter.py +test/test_v1beta2_counter_set.py +test/test_v1beta2_device.py +test/test_v1beta2_device_allocation_configuration.py +test/test_v1beta2_device_allocation_result.py +test/test_v1beta2_device_attribute.py +test/test_v1beta2_device_capacity.py +test/test_v1beta2_device_claim.py +test/test_v1beta2_device_claim_configuration.py +test/test_v1beta2_device_class.py +test/test_v1beta2_device_class_configuration.py +test/test_v1beta2_device_class_list.py +test/test_v1beta2_device_class_spec.py +test/test_v1beta2_device_constraint.py +test/test_v1beta2_device_counter_consumption.py +test/test_v1beta2_device_request.py +test/test_v1beta2_device_request_allocation_result.py +test/test_v1beta2_device_selector.py +test/test_v1beta2_device_sub_request.py +test/test_v1beta2_device_taint.py +test/test_v1beta2_device_toleration.py +test/test_v1beta2_exact_device_request.py +test/test_v1beta2_network_device_data.py +test/test_v1beta2_opaque_device_configuration.py +test/test_v1beta2_resource_claim.py +test/test_v1beta2_resource_claim_consumer_reference.py +test/test_v1beta2_resource_claim_list.py +test/test_v1beta2_resource_claim_spec.py +test/test_v1beta2_resource_claim_status.py +test/test_v1beta2_resource_claim_template.py +test/test_v1beta2_resource_claim_template_list.py +test/test_v1beta2_resource_claim_template_spec.py +test/test_v1beta2_resource_pool.py +test/test_v1beta2_resource_slice.py +test/test_v1beta2_resource_slice_list.py +test/test_v1beta2_resource_slice_spec.py test/test_v2_container_resource_metric_source.py test/test_v2_container_resource_metric_status.py test/test_v2_cross_version_object_reference.py diff --git a/kubernetes_asyncio/.openapi-generator/swagger.json-default.sha256 b/kubernetes_asyncio/.openapi-generator/swagger.json-default.sha256 index 1f466776..4e6640e8 100644 --- a/kubernetes_asyncio/.openapi-generator/swagger.json-default.sha256 +++ b/kubernetes_asyncio/.openapi-generator/swagger.json-default.sha256 @@ -1 +1 @@ -1fc14c31659cd447ef6ea27b703f2e51e45f9e9f2a6bf9ae2e3e309dc6974623 \ No newline at end of file +a66740f6e43e9cdfda7371474f8b9d91c915b1b559f10e0bbe312c2b4c0db382 \ No newline at end of file diff --git a/kubernetes_asyncio/README.md b/kubernetes_asyncio/README.md index e8483689..6df711a7 100644 --- a/kubernetes_asyncio/README.md +++ b/kubernetes_asyncio/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: v1.32.3 -- Package version: 32.3.0+snapshot +- API version: v1.33.3 +- Package version: 33.3.0+snapshot - Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen ## Requirements. @@ -248,8 +248,6 @@ Class | Method | HTTP request | Description *AuthenticationV1Api* | [**create_self_subject_review**](docs/AuthenticationV1Api.md#create_self_subject_review) | **POST** /apis/authentication.k8s.io/v1/selfsubjectreviews | *AuthenticationV1Api* | [**create_token_review**](docs/AuthenticationV1Api.md#create_token_review) | **POST** /apis/authentication.k8s.io/v1/tokenreviews | *AuthenticationV1Api* | [**get_api_resources**](docs/AuthenticationV1Api.md#get_api_resources) | **GET** /apis/authentication.k8s.io/v1/ | -*AuthenticationV1beta1Api* | [**create_self_subject_review**](docs/AuthenticationV1beta1Api.md#create_self_subject_review) | **POST** /apis/authentication.k8s.io/v1beta1/selfsubjectreviews | -*AuthenticationV1beta1Api* | [**get_api_resources**](docs/AuthenticationV1beta1Api.md#get_api_resources) | **GET** /apis/authentication.k8s.io/v1beta1/ | *AuthorizationApi* | [**get_api_group**](docs/AuthorizationApi.md#get_api_group) | **GET** /apis/authorization.k8s.io/ | *AuthorizationV1Api* | [**create_namespaced_local_subject_access_review**](docs/AuthorizationV1Api.md#create_namespaced_local_subject_access_review) | **POST** /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews | *AuthorizationV1Api* | [**create_self_subject_access_review**](docs/AuthorizationV1Api.md#create_self_subject_access_review) | **POST** /apis/authorization.k8s.io/v1/selfsubjectaccessreviews | @@ -328,6 +326,14 @@ Class | Method | HTTP request | Description *CertificatesV1alpha1Api* | [**patch_cluster_trust_bundle**](docs/CertificatesV1alpha1Api.md#patch_cluster_trust_bundle) | **PATCH** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name} | *CertificatesV1alpha1Api* | [**read_cluster_trust_bundle**](docs/CertificatesV1alpha1Api.md#read_cluster_trust_bundle) | **GET** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name} | *CertificatesV1alpha1Api* | [**replace_cluster_trust_bundle**](docs/CertificatesV1alpha1Api.md#replace_cluster_trust_bundle) | **PUT** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name} | +*CertificatesV1beta1Api* | [**create_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#create_cluster_trust_bundle) | **POST** /apis/certificates.k8s.io/v1beta1/clustertrustbundles | +*CertificatesV1beta1Api* | [**delete_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#delete_cluster_trust_bundle) | **DELETE** /apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name} | +*CertificatesV1beta1Api* | [**delete_collection_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#delete_collection_cluster_trust_bundle) | **DELETE** /apis/certificates.k8s.io/v1beta1/clustertrustbundles | +*CertificatesV1beta1Api* | [**get_api_resources**](docs/CertificatesV1beta1Api.md#get_api_resources) | **GET** /apis/certificates.k8s.io/v1beta1/ | +*CertificatesV1beta1Api* | [**list_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#list_cluster_trust_bundle) | **GET** /apis/certificates.k8s.io/v1beta1/clustertrustbundles | +*CertificatesV1beta1Api* | [**patch_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#patch_cluster_trust_bundle) | **PATCH** /apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name} | +*CertificatesV1beta1Api* | [**read_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#read_cluster_trust_bundle) | **GET** /apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name} | +*CertificatesV1beta1Api* | [**replace_cluster_trust_bundle**](docs/CertificatesV1beta1Api.md#replace_cluster_trust_bundle) | **PUT** /apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name} | *CoordinationApi* | [**get_api_group**](docs/CoordinationApi.md#get_api_group) | **GET** /apis/coordination.k8s.io/ | *CoordinationV1Api* | [**create_namespaced_lease**](docs/CoordinationV1Api.md#create_namespaced_lease) | **POST** /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases | *CoordinationV1Api* | [**delete_collection_namespaced_lease**](docs/CoordinationV1Api.md#delete_collection_namespaced_lease) | **DELETE** /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases | @@ -347,6 +353,15 @@ Class | Method | HTTP request | Description *CoordinationV1alpha2Api* | [**patch_namespaced_lease_candidate**](docs/CoordinationV1alpha2Api.md#patch_namespaced_lease_candidate) | **PATCH** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name} | *CoordinationV1alpha2Api* | [**read_namespaced_lease_candidate**](docs/CoordinationV1alpha2Api.md#read_namespaced_lease_candidate) | **GET** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name} | *CoordinationV1alpha2Api* | [**replace_namespaced_lease_candidate**](docs/CoordinationV1alpha2Api.md#replace_namespaced_lease_candidate) | **PUT** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name} | +*CoordinationV1beta1Api* | [**create_namespaced_lease_candidate**](docs/CoordinationV1beta1Api.md#create_namespaced_lease_candidate) | **POST** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates | +*CoordinationV1beta1Api* | [**delete_collection_namespaced_lease_candidate**](docs/CoordinationV1beta1Api.md#delete_collection_namespaced_lease_candidate) | **DELETE** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates | +*CoordinationV1beta1Api* | [**delete_namespaced_lease_candidate**](docs/CoordinationV1beta1Api.md#delete_namespaced_lease_candidate) | **DELETE** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name} | +*CoordinationV1beta1Api* | [**get_api_resources**](docs/CoordinationV1beta1Api.md#get_api_resources) | **GET** /apis/coordination.k8s.io/v1beta1/ | +*CoordinationV1beta1Api* | [**list_lease_candidate_for_all_namespaces**](docs/CoordinationV1beta1Api.md#list_lease_candidate_for_all_namespaces) | **GET** /apis/coordination.k8s.io/v1beta1/leasecandidates | +*CoordinationV1beta1Api* | [**list_namespaced_lease_candidate**](docs/CoordinationV1beta1Api.md#list_namespaced_lease_candidate) | **GET** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates | +*CoordinationV1beta1Api* | [**patch_namespaced_lease_candidate**](docs/CoordinationV1beta1Api.md#patch_namespaced_lease_candidate) | **PATCH** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name} | +*CoordinationV1beta1Api* | [**read_namespaced_lease_candidate**](docs/CoordinationV1beta1Api.md#read_namespaced_lease_candidate) | **GET** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name} | +*CoordinationV1beta1Api* | [**replace_namespaced_lease_candidate**](docs/CoordinationV1beta1Api.md#replace_namespaced_lease_candidate) | **PUT** /apis/coordination.k8s.io/v1beta1/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} | @@ -640,32 +655,49 @@ Class | Method | HTTP request | Description *LogsApi* | [**log_file_list_handler**](docs/LogsApi.md#log_file_list_handler) | **GET** /logs/ | *NetworkingApi* | [**get_api_group**](docs/NetworkingApi.md#get_api_group) | **GET** /apis/networking.k8s.io/ | *NetworkingV1Api* | [**create_ingress_class**](docs/NetworkingV1Api.md#create_ingress_class) | **POST** /apis/networking.k8s.io/v1/ingressclasses | +*NetworkingV1Api* | [**create_ip_address**](docs/NetworkingV1Api.md#create_ip_address) | **POST** /apis/networking.k8s.io/v1/ipaddresses | *NetworkingV1Api* | [**create_namespaced_ingress**](docs/NetworkingV1Api.md#create_namespaced_ingress) | **POST** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses | *NetworkingV1Api* | [**create_namespaced_network_policy**](docs/NetworkingV1Api.md#create_namespaced_network_policy) | **POST** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies | +*NetworkingV1Api* | [**create_service_cidr**](docs/NetworkingV1Api.md#create_service_cidr) | **POST** /apis/networking.k8s.io/v1/servicecidrs | *NetworkingV1Api* | [**delete_collection_ingress_class**](docs/NetworkingV1Api.md#delete_collection_ingress_class) | **DELETE** /apis/networking.k8s.io/v1/ingressclasses | +*NetworkingV1Api* | [**delete_collection_ip_address**](docs/NetworkingV1Api.md#delete_collection_ip_address) | **DELETE** /apis/networking.k8s.io/v1/ipaddresses | *NetworkingV1Api* | [**delete_collection_namespaced_ingress**](docs/NetworkingV1Api.md#delete_collection_namespaced_ingress) | **DELETE** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses | *NetworkingV1Api* | [**delete_collection_namespaced_network_policy**](docs/NetworkingV1Api.md#delete_collection_namespaced_network_policy) | **DELETE** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies | +*NetworkingV1Api* | [**delete_collection_service_cidr**](docs/NetworkingV1Api.md#delete_collection_service_cidr) | **DELETE** /apis/networking.k8s.io/v1/servicecidrs | *NetworkingV1Api* | [**delete_ingress_class**](docs/NetworkingV1Api.md#delete_ingress_class) | **DELETE** /apis/networking.k8s.io/v1/ingressclasses/{name} | +*NetworkingV1Api* | [**delete_ip_address**](docs/NetworkingV1Api.md#delete_ip_address) | **DELETE** /apis/networking.k8s.io/v1/ipaddresses/{name} | *NetworkingV1Api* | [**delete_namespaced_ingress**](docs/NetworkingV1Api.md#delete_namespaced_ingress) | **DELETE** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name} | *NetworkingV1Api* | [**delete_namespaced_network_policy**](docs/NetworkingV1Api.md#delete_namespaced_network_policy) | **DELETE** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | +*NetworkingV1Api* | [**delete_service_cidr**](docs/NetworkingV1Api.md#delete_service_cidr) | **DELETE** /apis/networking.k8s.io/v1/servicecidrs/{name} | *NetworkingV1Api* | [**get_api_resources**](docs/NetworkingV1Api.md#get_api_resources) | **GET** /apis/networking.k8s.io/v1/ | *NetworkingV1Api* | [**list_ingress_class**](docs/NetworkingV1Api.md#list_ingress_class) | **GET** /apis/networking.k8s.io/v1/ingressclasses | *NetworkingV1Api* | [**list_ingress_for_all_namespaces**](docs/NetworkingV1Api.md#list_ingress_for_all_namespaces) | **GET** /apis/networking.k8s.io/v1/ingresses | +*NetworkingV1Api* | [**list_ip_address**](docs/NetworkingV1Api.md#list_ip_address) | **GET** /apis/networking.k8s.io/v1/ipaddresses | *NetworkingV1Api* | [**list_namespaced_ingress**](docs/NetworkingV1Api.md#list_namespaced_ingress) | **GET** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses | *NetworkingV1Api* | [**list_namespaced_network_policy**](docs/NetworkingV1Api.md#list_namespaced_network_policy) | **GET** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies | *NetworkingV1Api* | [**list_network_policy_for_all_namespaces**](docs/NetworkingV1Api.md#list_network_policy_for_all_namespaces) | **GET** /apis/networking.k8s.io/v1/networkpolicies | +*NetworkingV1Api* | [**list_service_cidr**](docs/NetworkingV1Api.md#list_service_cidr) | **GET** /apis/networking.k8s.io/v1/servicecidrs | *NetworkingV1Api* | [**patch_ingress_class**](docs/NetworkingV1Api.md#patch_ingress_class) | **PATCH** /apis/networking.k8s.io/v1/ingressclasses/{name} | +*NetworkingV1Api* | [**patch_ip_address**](docs/NetworkingV1Api.md#patch_ip_address) | **PATCH** /apis/networking.k8s.io/v1/ipaddresses/{name} | *NetworkingV1Api* | [**patch_namespaced_ingress**](docs/NetworkingV1Api.md#patch_namespaced_ingress) | **PATCH** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name} | *NetworkingV1Api* | [**patch_namespaced_ingress_status**](docs/NetworkingV1Api.md#patch_namespaced_ingress_status) | **PATCH** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status | *NetworkingV1Api* | [**patch_namespaced_network_policy**](docs/NetworkingV1Api.md#patch_namespaced_network_policy) | **PATCH** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | +*NetworkingV1Api* | [**patch_service_cidr**](docs/NetworkingV1Api.md#patch_service_cidr) | **PATCH** /apis/networking.k8s.io/v1/servicecidrs/{name} | +*NetworkingV1Api* | [**patch_service_cidr_status**](docs/NetworkingV1Api.md#patch_service_cidr_status) | **PATCH** /apis/networking.k8s.io/v1/servicecidrs/{name}/status | *NetworkingV1Api* | [**read_ingress_class**](docs/NetworkingV1Api.md#read_ingress_class) | **GET** /apis/networking.k8s.io/v1/ingressclasses/{name} | +*NetworkingV1Api* | [**read_ip_address**](docs/NetworkingV1Api.md#read_ip_address) | **GET** /apis/networking.k8s.io/v1/ipaddresses/{name} | *NetworkingV1Api* | [**read_namespaced_ingress**](docs/NetworkingV1Api.md#read_namespaced_ingress) | **GET** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name} | *NetworkingV1Api* | [**read_namespaced_ingress_status**](docs/NetworkingV1Api.md#read_namespaced_ingress_status) | **GET** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status | *NetworkingV1Api* | [**read_namespaced_network_policy**](docs/NetworkingV1Api.md#read_namespaced_network_policy) | **GET** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | +*NetworkingV1Api* | [**read_service_cidr**](docs/NetworkingV1Api.md#read_service_cidr) | **GET** /apis/networking.k8s.io/v1/servicecidrs/{name} | +*NetworkingV1Api* | [**read_service_cidr_status**](docs/NetworkingV1Api.md#read_service_cidr_status) | **GET** /apis/networking.k8s.io/v1/servicecidrs/{name}/status | *NetworkingV1Api* | [**replace_ingress_class**](docs/NetworkingV1Api.md#replace_ingress_class) | **PUT** /apis/networking.k8s.io/v1/ingressclasses/{name} | +*NetworkingV1Api* | [**replace_ip_address**](docs/NetworkingV1Api.md#replace_ip_address) | **PUT** /apis/networking.k8s.io/v1/ipaddresses/{name} | *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} | +*NetworkingV1Api* | [**replace_service_cidr**](docs/NetworkingV1Api.md#replace_service_cidr) | **PUT** /apis/networking.k8s.io/v1/servicecidrs/{name} | +*NetworkingV1Api* | [**replace_service_cidr_status**](docs/NetworkingV1Api.md#replace_service_cidr_status) | **PUT** /apis/networking.k8s.io/v1/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 | @@ -741,35 +773,42 @@ Class | Method | HTTP request | Description *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/ | *ResourceV1alpha3Api* | [**create_device_class**](docs/ResourceV1alpha3Api.md#create_device_class) | **POST** /apis/resource.k8s.io/v1alpha3/deviceclasses | +*ResourceV1alpha3Api* | [**create_device_taint_rule**](docs/ResourceV1alpha3Api.md#create_device_taint_rule) | **POST** /apis/resource.k8s.io/v1alpha3/devicetaintrules | *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_device_taint_rule**](docs/ResourceV1alpha3Api.md#delete_collection_device_taint_rule) | **DELETE** /apis/resource.k8s.io/v1alpha3/devicetaintrules | *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_device_taint_rule**](docs/ResourceV1alpha3Api.md#delete_device_taint_rule) | **DELETE** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{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_device_taint_rule**](docs/ResourceV1alpha3Api.md#list_device_taint_rule) | **GET** /apis/resource.k8s.io/v1alpha3/devicetaintrules | *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_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_device_taint_rule**](docs/ResourceV1alpha3Api.md#patch_device_taint_rule) | **PATCH** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | *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_device_taint_rule**](docs/ResourceV1alpha3Api.md#read_device_taint_rule) | **GET** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | *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_device_taint_rule**](docs/ResourceV1alpha3Api.md#replace_device_taint_rule) | **PUT** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | *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} | @@ -808,6 +847,40 @@ Class | Method | HTTP request | Description *ResourceV1beta1Api* | [**replace_namespaced_resource_claim_status**](docs/ResourceV1beta1Api.md#replace_namespaced_resource_claim_status) | **PUT** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status | *ResourceV1beta1Api* | [**replace_namespaced_resource_claim_template**](docs/ResourceV1beta1Api.md#replace_namespaced_resource_claim_template) | **PUT** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name} | *ResourceV1beta1Api* | [**replace_resource_slice**](docs/ResourceV1beta1Api.md#replace_resource_slice) | **PUT** /apis/resource.k8s.io/v1beta1/resourceslices/{name} | +*ResourceV1beta2Api* | [**create_device_class**](docs/ResourceV1beta2Api.md#create_device_class) | **POST** /apis/resource.k8s.io/v1beta2/deviceclasses | +*ResourceV1beta2Api* | [**create_namespaced_resource_claim**](docs/ResourceV1beta2Api.md#create_namespaced_resource_claim) | **POST** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims | +*ResourceV1beta2Api* | [**create_namespaced_resource_claim_template**](docs/ResourceV1beta2Api.md#create_namespaced_resource_claim_template) | **POST** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates | +*ResourceV1beta2Api* | [**create_resource_slice**](docs/ResourceV1beta2Api.md#create_resource_slice) | **POST** /apis/resource.k8s.io/v1beta2/resourceslices | +*ResourceV1beta2Api* | [**delete_collection_device_class**](docs/ResourceV1beta2Api.md#delete_collection_device_class) | **DELETE** /apis/resource.k8s.io/v1beta2/deviceclasses | +*ResourceV1beta2Api* | [**delete_collection_namespaced_resource_claim**](docs/ResourceV1beta2Api.md#delete_collection_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims | +*ResourceV1beta2Api* | [**delete_collection_namespaced_resource_claim_template**](docs/ResourceV1beta2Api.md#delete_collection_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates | +*ResourceV1beta2Api* | [**delete_collection_resource_slice**](docs/ResourceV1beta2Api.md#delete_collection_resource_slice) | **DELETE** /apis/resource.k8s.io/v1beta2/resourceslices | +*ResourceV1beta2Api* | [**delete_device_class**](docs/ResourceV1beta2Api.md#delete_device_class) | **DELETE** /apis/resource.k8s.io/v1beta2/deviceclasses/{name} | +*ResourceV1beta2Api* | [**delete_namespaced_resource_claim**](docs/ResourceV1beta2Api.md#delete_namespaced_resource_claim) | **DELETE** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1beta2Api* | [**delete_namespaced_resource_claim_template**](docs/ResourceV1beta2Api.md#delete_namespaced_resource_claim_template) | **DELETE** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1beta2Api* | [**delete_resource_slice**](docs/ResourceV1beta2Api.md#delete_resource_slice) | **DELETE** /apis/resource.k8s.io/v1beta2/resourceslices/{name} | +*ResourceV1beta2Api* | [**get_api_resources**](docs/ResourceV1beta2Api.md#get_api_resources) | **GET** /apis/resource.k8s.io/v1beta2/ | +*ResourceV1beta2Api* | [**list_device_class**](docs/ResourceV1beta2Api.md#list_device_class) | **GET** /apis/resource.k8s.io/v1beta2/deviceclasses | +*ResourceV1beta2Api* | [**list_namespaced_resource_claim**](docs/ResourceV1beta2Api.md#list_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims | +*ResourceV1beta2Api* | [**list_namespaced_resource_claim_template**](docs/ResourceV1beta2Api.md#list_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates | +*ResourceV1beta2Api* | [**list_resource_claim_for_all_namespaces**](docs/ResourceV1beta2Api.md#list_resource_claim_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1beta2/resourceclaims | +*ResourceV1beta2Api* | [**list_resource_claim_template_for_all_namespaces**](docs/ResourceV1beta2Api.md#list_resource_claim_template_for_all_namespaces) | **GET** /apis/resource.k8s.io/v1beta2/resourceclaimtemplates | +*ResourceV1beta2Api* | [**list_resource_slice**](docs/ResourceV1beta2Api.md#list_resource_slice) | **GET** /apis/resource.k8s.io/v1beta2/resourceslices | +*ResourceV1beta2Api* | [**patch_device_class**](docs/ResourceV1beta2Api.md#patch_device_class) | **PATCH** /apis/resource.k8s.io/v1beta2/deviceclasses/{name} | +*ResourceV1beta2Api* | [**patch_namespaced_resource_claim**](docs/ResourceV1beta2Api.md#patch_namespaced_resource_claim) | **PATCH** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1beta2Api* | [**patch_namespaced_resource_claim_status**](docs/ResourceV1beta2Api.md#patch_namespaced_resource_claim_status) | **PATCH** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status | +*ResourceV1beta2Api* | [**patch_namespaced_resource_claim_template**](docs/ResourceV1beta2Api.md#patch_namespaced_resource_claim_template) | **PATCH** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1beta2Api* | [**patch_resource_slice**](docs/ResourceV1beta2Api.md#patch_resource_slice) | **PATCH** /apis/resource.k8s.io/v1beta2/resourceslices/{name} | +*ResourceV1beta2Api* | [**read_device_class**](docs/ResourceV1beta2Api.md#read_device_class) | **GET** /apis/resource.k8s.io/v1beta2/deviceclasses/{name} | +*ResourceV1beta2Api* | [**read_namespaced_resource_claim**](docs/ResourceV1beta2Api.md#read_namespaced_resource_claim) | **GET** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1beta2Api* | [**read_namespaced_resource_claim_status**](docs/ResourceV1beta2Api.md#read_namespaced_resource_claim_status) | **GET** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status | +*ResourceV1beta2Api* | [**read_namespaced_resource_claim_template**](docs/ResourceV1beta2Api.md#read_namespaced_resource_claim_template) | **GET** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1beta2Api* | [**read_resource_slice**](docs/ResourceV1beta2Api.md#read_resource_slice) | **GET** /apis/resource.k8s.io/v1beta2/resourceslices/{name} | +*ResourceV1beta2Api* | [**replace_device_class**](docs/ResourceV1beta2Api.md#replace_device_class) | **PUT** /apis/resource.k8s.io/v1beta2/deviceclasses/{name} | +*ResourceV1beta2Api* | [**replace_namespaced_resource_claim**](docs/ResourceV1beta2Api.md#replace_namespaced_resource_claim) | **PUT** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name} | +*ResourceV1beta2Api* | [**replace_namespaced_resource_claim_status**](docs/ResourceV1beta2Api.md#replace_namespaced_resource_claim_status) | **PUT** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status | +*ResourceV1beta2Api* | [**replace_namespaced_resource_claim_template**](docs/ResourceV1beta2Api.md#replace_namespaced_resource_claim_template) | **PUT** /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name} | +*ResourceV1beta2Api* | [**replace_resource_slice**](docs/ResourceV1beta2Api.md#replace_resource_slice) | **PUT** /apis/resource.k8s.io/v1beta2/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 | @@ -1046,6 +1119,7 @@ Class | Method | HTTP request | Description - [V1FlowSchemaList](docs/V1FlowSchemaList.md) - [V1FlowSchemaSpec](docs/V1FlowSchemaSpec.md) - [V1FlowSchemaStatus](docs/V1FlowSchemaStatus.md) + - [V1ForNode](docs/V1ForNode.md) - [V1ForZone](docs/V1ForZone.md) - [V1GCEPersistentDiskVolumeSource](docs/V1GCEPersistentDiskVolumeSource.md) - [V1GRPCAction](docs/V1GRPCAction.md) @@ -1065,6 +1139,9 @@ Class | Method | HTTP request | Description - [V1HostAlias](docs/V1HostAlias.md) - [V1HostIP](docs/V1HostIP.md) - [V1HostPathVolumeSource](docs/V1HostPathVolumeSource.md) + - [V1IPAddress](docs/V1IPAddress.md) + - [V1IPAddressList](docs/V1IPAddressList.md) + - [V1IPAddressSpec](docs/V1IPAddressSpec.md) - [V1IPBlock](docs/V1IPBlock.md) - [V1ISCSIPersistentVolumeSource](docs/V1ISCSIPersistentVolumeSource.md) - [V1ISCSIVolumeSource](docs/V1ISCSIVolumeSource.md) @@ -1150,6 +1227,7 @@ Class | Method | HTTP request | Description - [V1NodeSelectorTerm](docs/V1NodeSelectorTerm.md) - [V1NodeSpec](docs/V1NodeSpec.md) - [V1NodeStatus](docs/V1NodeStatus.md) + - [V1NodeSwapStatus](docs/V1NodeSwapStatus.md) - [V1NodeSystemInfo](docs/V1NodeSystemInfo.md) - [V1NonResourceAttributes](docs/V1NonResourceAttributes.md) - [V1NonResourcePolicyRule](docs/V1NonResourcePolicyRule.md) @@ -1161,6 +1239,7 @@ Class | Method | HTTP request | Description - [V1OwnerReference](docs/V1OwnerReference.md) - [V1ParamKind](docs/V1ParamKind.md) - [V1ParamRef](docs/V1ParamRef.md) + - [V1ParentReference](docs/V1ParentReference.md) - [V1PersistentVolume](docs/V1PersistentVolume.md) - [V1PersistentVolumeClaim](docs/V1PersistentVolumeClaim.md) - [V1PersistentVolumeClaimCondition](docs/V1PersistentVolumeClaimCondition.md) @@ -1286,6 +1365,10 @@ Class | Method | HTTP request | Description - [V1ServiceAccountSubject](docs/V1ServiceAccountSubject.md) - [V1ServiceAccountTokenProjection](docs/V1ServiceAccountTokenProjection.md) - [V1ServiceBackendPort](docs/V1ServiceBackendPort.md) + - [V1ServiceCIDR](docs/V1ServiceCIDR.md) + - [V1ServiceCIDRList](docs/V1ServiceCIDRList.md) + - [V1ServiceCIDRSpec](docs/V1ServiceCIDRSpec.md) + - [V1ServiceCIDRStatus](docs/V1ServiceCIDRStatus.md) - [V1ServiceList](docs/V1ServiceList.md) - [V1ServicePort](docs/V1ServicePort.md) - [V1ServiceSpec](docs/V1ServiceSpec.md) @@ -1401,6 +1484,8 @@ Class | Method | HTTP request | Description - [V1alpha3AllocationResult](docs/V1alpha3AllocationResult.md) - [V1alpha3BasicDevice](docs/V1alpha3BasicDevice.md) - [V1alpha3CELDeviceSelector](docs/V1alpha3CELDeviceSelector.md) + - [V1alpha3Counter](docs/V1alpha3Counter.md) + - [V1alpha3CounterSet](docs/V1alpha3CounterSet.md) - [V1alpha3Device](docs/V1alpha3Device.md) - [V1alpha3DeviceAllocationConfiguration](docs/V1alpha3DeviceAllocationConfiguration.md) - [V1alpha3DeviceAllocationResult](docs/V1alpha3DeviceAllocationResult.md) @@ -1412,9 +1497,17 @@ Class | Method | HTTP request | Description - [V1alpha3DeviceClassList](docs/V1alpha3DeviceClassList.md) - [V1alpha3DeviceClassSpec](docs/V1alpha3DeviceClassSpec.md) - [V1alpha3DeviceConstraint](docs/V1alpha3DeviceConstraint.md) + - [V1alpha3DeviceCounterConsumption](docs/V1alpha3DeviceCounterConsumption.md) - [V1alpha3DeviceRequest](docs/V1alpha3DeviceRequest.md) - [V1alpha3DeviceRequestAllocationResult](docs/V1alpha3DeviceRequestAllocationResult.md) - [V1alpha3DeviceSelector](docs/V1alpha3DeviceSelector.md) + - [V1alpha3DeviceSubRequest](docs/V1alpha3DeviceSubRequest.md) + - [V1alpha3DeviceTaint](docs/V1alpha3DeviceTaint.md) + - [V1alpha3DeviceTaintRule](docs/V1alpha3DeviceTaintRule.md) + - [V1alpha3DeviceTaintRuleList](docs/V1alpha3DeviceTaintRuleList.md) + - [V1alpha3DeviceTaintRuleSpec](docs/V1alpha3DeviceTaintRuleSpec.md) + - [V1alpha3DeviceTaintSelector](docs/V1alpha3DeviceTaintSelector.md) + - [V1alpha3DeviceToleration](docs/V1alpha3DeviceToleration.md) - [V1alpha3NetworkDeviceData](docs/V1alpha3NetworkDeviceData.md) - [V1alpha3OpaqueDeviceConfiguration](docs/V1alpha3OpaqueDeviceConfiguration.md) - [V1alpha3ResourceClaim](docs/V1alpha3ResourceClaim.md) @@ -1434,6 +1527,11 @@ Class | Method | HTTP request | Description - [V1beta1AuditAnnotation](docs/V1beta1AuditAnnotation.md) - [V1beta1BasicDevice](docs/V1beta1BasicDevice.md) - [V1beta1CELDeviceSelector](docs/V1beta1CELDeviceSelector.md) + - [V1beta1ClusterTrustBundle](docs/V1beta1ClusterTrustBundle.md) + - [V1beta1ClusterTrustBundleList](docs/V1beta1ClusterTrustBundleList.md) + - [V1beta1ClusterTrustBundleSpec](docs/V1beta1ClusterTrustBundleSpec.md) + - [V1beta1Counter](docs/V1beta1Counter.md) + - [V1beta1CounterSet](docs/V1beta1CounterSet.md) - [V1beta1Device](docs/V1beta1Device.md) - [V1beta1DeviceAllocationConfiguration](docs/V1beta1DeviceAllocationConfiguration.md) - [V1beta1DeviceAllocationResult](docs/V1beta1DeviceAllocationResult.md) @@ -1446,13 +1544,20 @@ Class | Method | HTTP request | Description - [V1beta1DeviceClassList](docs/V1beta1DeviceClassList.md) - [V1beta1DeviceClassSpec](docs/V1beta1DeviceClassSpec.md) - [V1beta1DeviceConstraint](docs/V1beta1DeviceConstraint.md) + - [V1beta1DeviceCounterConsumption](docs/V1beta1DeviceCounterConsumption.md) - [V1beta1DeviceRequest](docs/V1beta1DeviceRequest.md) - [V1beta1DeviceRequestAllocationResult](docs/V1beta1DeviceRequestAllocationResult.md) - [V1beta1DeviceSelector](docs/V1beta1DeviceSelector.md) + - [V1beta1DeviceSubRequest](docs/V1beta1DeviceSubRequest.md) + - [V1beta1DeviceTaint](docs/V1beta1DeviceTaint.md) + - [V1beta1DeviceToleration](docs/V1beta1DeviceToleration.md) - [V1beta1ExpressionWarning](docs/V1beta1ExpressionWarning.md) - [V1beta1IPAddress](docs/V1beta1IPAddress.md) - [V1beta1IPAddressList](docs/V1beta1IPAddressList.md) - [V1beta1IPAddressSpec](docs/V1beta1IPAddressSpec.md) + - [V1beta1LeaseCandidate](docs/V1beta1LeaseCandidate.md) + - [V1beta1LeaseCandidateList](docs/V1beta1LeaseCandidateList.md) + - [V1beta1LeaseCandidateSpec](docs/V1beta1LeaseCandidateSpec.md) - [V1beta1MatchCondition](docs/V1beta1MatchCondition.md) - [V1beta1MatchResources](docs/V1beta1MatchResources.md) - [V1beta1NamedRuleWithOperations](docs/V1beta1NamedRuleWithOperations.md) @@ -1473,8 +1578,6 @@ Class | Method | HTTP request | Description - [V1beta1ResourceSlice](docs/V1beta1ResourceSlice.md) - [V1beta1ResourceSliceList](docs/V1beta1ResourceSliceList.md) - [V1beta1ResourceSliceSpec](docs/V1beta1ResourceSliceSpec.md) - - [V1beta1SelfSubjectReview](docs/V1beta1SelfSubjectReview.md) - - [V1beta1SelfSubjectReviewStatus](docs/V1beta1SelfSubjectReviewStatus.md) - [V1beta1ServiceCIDR](docs/V1beta1ServiceCIDR.md) - [V1beta1ServiceCIDRList](docs/V1beta1ServiceCIDRList.md) - [V1beta1ServiceCIDRSpec](docs/V1beta1ServiceCIDRSpec.md) @@ -1491,6 +1594,45 @@ Class | Method | HTTP request | Description - [V1beta1Variable](docs/V1beta1Variable.md) - [V1beta1VolumeAttributesClass](docs/V1beta1VolumeAttributesClass.md) - [V1beta1VolumeAttributesClassList](docs/V1beta1VolumeAttributesClassList.md) + - [V1beta2AllocatedDeviceStatus](docs/V1beta2AllocatedDeviceStatus.md) + - [V1beta2AllocationResult](docs/V1beta2AllocationResult.md) + - [V1beta2CELDeviceSelector](docs/V1beta2CELDeviceSelector.md) + - [V1beta2Counter](docs/V1beta2Counter.md) + - [V1beta2CounterSet](docs/V1beta2CounterSet.md) + - [V1beta2Device](docs/V1beta2Device.md) + - [V1beta2DeviceAllocationConfiguration](docs/V1beta2DeviceAllocationConfiguration.md) + - [V1beta2DeviceAllocationResult](docs/V1beta2DeviceAllocationResult.md) + - [V1beta2DeviceAttribute](docs/V1beta2DeviceAttribute.md) + - [V1beta2DeviceCapacity](docs/V1beta2DeviceCapacity.md) + - [V1beta2DeviceClaim](docs/V1beta2DeviceClaim.md) + - [V1beta2DeviceClaimConfiguration](docs/V1beta2DeviceClaimConfiguration.md) + - [V1beta2DeviceClass](docs/V1beta2DeviceClass.md) + - [V1beta2DeviceClassConfiguration](docs/V1beta2DeviceClassConfiguration.md) + - [V1beta2DeviceClassList](docs/V1beta2DeviceClassList.md) + - [V1beta2DeviceClassSpec](docs/V1beta2DeviceClassSpec.md) + - [V1beta2DeviceConstraint](docs/V1beta2DeviceConstraint.md) + - [V1beta2DeviceCounterConsumption](docs/V1beta2DeviceCounterConsumption.md) + - [V1beta2DeviceRequest](docs/V1beta2DeviceRequest.md) + - [V1beta2DeviceRequestAllocationResult](docs/V1beta2DeviceRequestAllocationResult.md) + - [V1beta2DeviceSelector](docs/V1beta2DeviceSelector.md) + - [V1beta2DeviceSubRequest](docs/V1beta2DeviceSubRequest.md) + - [V1beta2DeviceTaint](docs/V1beta2DeviceTaint.md) + - [V1beta2DeviceToleration](docs/V1beta2DeviceToleration.md) + - [V1beta2ExactDeviceRequest](docs/V1beta2ExactDeviceRequest.md) + - [V1beta2NetworkDeviceData](docs/V1beta2NetworkDeviceData.md) + - [V1beta2OpaqueDeviceConfiguration](docs/V1beta2OpaqueDeviceConfiguration.md) + - [V1beta2ResourceClaim](docs/V1beta2ResourceClaim.md) + - [V1beta2ResourceClaimConsumerReference](docs/V1beta2ResourceClaimConsumerReference.md) + - [V1beta2ResourceClaimList](docs/V1beta2ResourceClaimList.md) + - [V1beta2ResourceClaimSpec](docs/V1beta2ResourceClaimSpec.md) + - [V1beta2ResourceClaimStatus](docs/V1beta2ResourceClaimStatus.md) + - [V1beta2ResourceClaimTemplate](docs/V1beta2ResourceClaimTemplate.md) + - [V1beta2ResourceClaimTemplateList](docs/V1beta2ResourceClaimTemplateList.md) + - [V1beta2ResourceClaimTemplateSpec](docs/V1beta2ResourceClaimTemplateSpec.md) + - [V1beta2ResourcePool](docs/V1beta2ResourcePool.md) + - [V1beta2ResourceSlice](docs/V1beta2ResourceSlice.md) + - [V1beta2ResourceSliceList](docs/V1beta2ResourceSliceList.md) + - [V1beta2ResourceSliceSpec](docs/V1beta2ResourceSliceSpec.md) - [V2ContainerResourceMetricSource](docs/V2ContainerResourceMetricSource.md) - [V2ContainerResourceMetricStatus](docs/V2ContainerResourceMetricStatus.md) - [V2CrossVersionObjectReference](docs/V2CrossVersionObjectReference.md) diff --git a/kubernetes_asyncio/__init__.py b/kubernetes_asyncio/__init__.py index 90c6320c..8b81e12a 100644 --- a/kubernetes_asyncio/__init__.py +++ b/kubernetes_asyncio/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes_asyncio' # The version is auto-updated. Please do not edit. -__version__ = "32.3.0+snapshot" +__version__ = "33.3.0+snapshot" import kubernetes_asyncio.client import kubernetes_asyncio.config diff --git a/kubernetes_asyncio/client/__init__.py b/kubernetes_asyncio/client/__init__.py index 48fd46db..02f9eb3c 100644 --- a/kubernetes_asyncio/client/__init__.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import -__version__ = "32.3.0+snapshot" +__version__ = "33.3.0+snapshot" # import apis into sdk package from kubernetes_asyncio.client.api.well_known_api import WellKnownApi @@ -31,7 +31,6 @@ from kubernetes_asyncio.client.api.apps_v1_api import AppsV1Api from kubernetes_asyncio.client.api.authentication_api import AuthenticationApi from kubernetes_asyncio.client.api.authentication_v1_api import AuthenticationV1Api -from kubernetes_asyncio.client.api.authentication_v1beta1_api import AuthenticationV1beta1Api from kubernetes_asyncio.client.api.authorization_api import AuthorizationApi from kubernetes_asyncio.client.api.authorization_v1_api import AuthorizationV1Api from kubernetes_asyncio.client.api.autoscaling_api import AutoscalingApi @@ -42,9 +41,11 @@ from kubernetes_asyncio.client.api.certificates_api import CertificatesApi from kubernetes_asyncio.client.api.certificates_v1_api import CertificatesV1Api from kubernetes_asyncio.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api +from kubernetes_asyncio.client.api.certificates_v1beta1_api import CertificatesV1beta1Api from kubernetes_asyncio.client.api.coordination_api import CoordinationApi from kubernetes_asyncio.client.api.coordination_v1_api import CoordinationV1Api from kubernetes_asyncio.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api +from kubernetes_asyncio.client.api.coordination_v1beta1_api import CoordinationV1beta1Api from kubernetes_asyncio.client.api.core_api import CoreApi from kubernetes_asyncio.client.api.core_v1_api import CoreV1Api from kubernetes_asyncio.client.api.custom_objects_api import CustomObjectsApi @@ -70,6 +71,7 @@ from kubernetes_asyncio.client.api.resource_api import ResourceApi from kubernetes_asyncio.client.api.resource_v1alpha3_api import ResourceV1alpha3Api from kubernetes_asyncio.client.api.resource_v1beta1_api import ResourceV1beta1Api +from kubernetes_asyncio.client.api.resource_v1beta2_api import ResourceV1beta2Api from kubernetes_asyncio.client.api.scheduling_api import SchedulingApi from kubernetes_asyncio.client.api.scheduling_v1_api import SchedulingV1Api from kubernetes_asyncio.client.api.storage_api import StorageApi @@ -245,6 +247,7 @@ from kubernetes_asyncio.client.models.v1_flow_schema_list import V1FlowSchemaList from kubernetes_asyncio.client.models.v1_flow_schema_spec import V1FlowSchemaSpec from kubernetes_asyncio.client.models.v1_flow_schema_status import V1FlowSchemaStatus +from kubernetes_asyncio.client.models.v1_for_node import V1ForNode from kubernetes_asyncio.client.models.v1_for_zone import V1ForZone from kubernetes_asyncio.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource from kubernetes_asyncio.client.models.v1_grpc_action import V1GRPCAction @@ -264,6 +267,9 @@ from kubernetes_asyncio.client.models.v1_host_alias import V1HostAlias from kubernetes_asyncio.client.models.v1_host_ip import V1HostIP from kubernetes_asyncio.client.models.v1_host_path_volume_source import V1HostPathVolumeSource +from kubernetes_asyncio.client.models.v1_ip_address import V1IPAddress +from kubernetes_asyncio.client.models.v1_ip_address_list import V1IPAddressList +from kubernetes_asyncio.client.models.v1_ip_address_spec import V1IPAddressSpec from kubernetes_asyncio.client.models.v1_ip_block import V1IPBlock from kubernetes_asyncio.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource from kubernetes_asyncio.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource @@ -349,6 +355,7 @@ from kubernetes_asyncio.client.models.v1_node_selector_term import V1NodeSelectorTerm from kubernetes_asyncio.client.models.v1_node_spec import V1NodeSpec from kubernetes_asyncio.client.models.v1_node_status import V1NodeStatus +from kubernetes_asyncio.client.models.v1_node_swap_status import V1NodeSwapStatus from kubernetes_asyncio.client.models.v1_node_system_info import V1NodeSystemInfo from kubernetes_asyncio.client.models.v1_non_resource_attributes import V1NonResourceAttributes from kubernetes_asyncio.client.models.v1_non_resource_policy_rule import V1NonResourcePolicyRule @@ -360,6 +367,7 @@ from kubernetes_asyncio.client.models.v1_owner_reference import V1OwnerReference from kubernetes_asyncio.client.models.v1_param_kind import V1ParamKind from kubernetes_asyncio.client.models.v1_param_ref import V1ParamRef +from kubernetes_asyncio.client.models.v1_parent_reference import V1ParentReference from kubernetes_asyncio.client.models.v1_persistent_volume import V1PersistentVolume from kubernetes_asyncio.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim from kubernetes_asyncio.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition @@ -485,6 +493,10 @@ from kubernetes_asyncio.client.models.v1_service_account_subject import V1ServiceAccountSubject from kubernetes_asyncio.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection from kubernetes_asyncio.client.models.v1_service_backend_port import V1ServiceBackendPort +from kubernetes_asyncio.client.models.v1_service_cidr import V1ServiceCIDR +from kubernetes_asyncio.client.models.v1_service_cidr_list import V1ServiceCIDRList +from kubernetes_asyncio.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec +from kubernetes_asyncio.client.models.v1_service_cidr_status import V1ServiceCIDRStatus from kubernetes_asyncio.client.models.v1_service_list import V1ServiceList from kubernetes_asyncio.client.models.v1_service_port import V1ServicePort from kubernetes_asyncio.client.models.v1_service_spec import V1ServiceSpec @@ -600,6 +612,8 @@ from kubernetes_asyncio.client.models.v1alpha3_allocation_result import V1alpha3AllocationResult from kubernetes_asyncio.client.models.v1alpha3_basic_device import V1alpha3BasicDevice from kubernetes_asyncio.client.models.v1alpha3_cel_device_selector import V1alpha3CELDeviceSelector +from kubernetes_asyncio.client.models.v1alpha3_counter import V1alpha3Counter +from kubernetes_asyncio.client.models.v1alpha3_counter_set import V1alpha3CounterSet from kubernetes_asyncio.client.models.v1alpha3_device import V1alpha3Device from kubernetes_asyncio.client.models.v1alpha3_device_allocation_configuration import V1alpha3DeviceAllocationConfiguration from kubernetes_asyncio.client.models.v1alpha3_device_allocation_result import V1alpha3DeviceAllocationResult @@ -611,9 +625,17 @@ from kubernetes_asyncio.client.models.v1alpha3_device_class_list import V1alpha3DeviceClassList from kubernetes_asyncio.client.models.v1alpha3_device_class_spec import V1alpha3DeviceClassSpec from kubernetes_asyncio.client.models.v1alpha3_device_constraint import V1alpha3DeviceConstraint +from kubernetes_asyncio.client.models.v1alpha3_device_counter_consumption import V1alpha3DeviceCounterConsumption from kubernetes_asyncio.client.models.v1alpha3_device_request import V1alpha3DeviceRequest from kubernetes_asyncio.client.models.v1alpha3_device_request_allocation_result import V1alpha3DeviceRequestAllocationResult from kubernetes_asyncio.client.models.v1alpha3_device_selector import V1alpha3DeviceSelector +from kubernetes_asyncio.client.models.v1alpha3_device_sub_request import V1alpha3DeviceSubRequest +from kubernetes_asyncio.client.models.v1alpha3_device_taint import V1alpha3DeviceTaint +from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule import V1alpha3DeviceTaintRule +from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_list import V1alpha3DeviceTaintRuleList +from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec +from kubernetes_asyncio.client.models.v1alpha3_device_taint_selector import V1alpha3DeviceTaintSelector +from kubernetes_asyncio.client.models.v1alpha3_device_toleration import V1alpha3DeviceToleration from kubernetes_asyncio.client.models.v1alpha3_network_device_data import V1alpha3NetworkDeviceData from kubernetes_asyncio.client.models.v1alpha3_opaque_device_configuration import V1alpha3OpaqueDeviceConfiguration from kubernetes_asyncio.client.models.v1alpha3_resource_claim import V1alpha3ResourceClaim @@ -633,6 +655,11 @@ from kubernetes_asyncio.client.models.v1beta1_audit_annotation import V1beta1AuditAnnotation from kubernetes_asyncio.client.models.v1beta1_basic_device import V1beta1BasicDevice from kubernetes_asyncio.client.models.v1beta1_cel_device_selector import V1beta1CELDeviceSelector +from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle import V1beta1ClusterTrustBundle +from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_list import V1beta1ClusterTrustBundleList +from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec import V1beta1ClusterTrustBundleSpec +from kubernetes_asyncio.client.models.v1beta1_counter import V1beta1Counter +from kubernetes_asyncio.client.models.v1beta1_counter_set import V1beta1CounterSet from kubernetes_asyncio.client.models.v1beta1_device import V1beta1Device from kubernetes_asyncio.client.models.v1beta1_device_allocation_configuration import V1beta1DeviceAllocationConfiguration from kubernetes_asyncio.client.models.v1beta1_device_allocation_result import V1beta1DeviceAllocationResult @@ -645,13 +672,20 @@ from kubernetes_asyncio.client.models.v1beta1_device_class_list import V1beta1DeviceClassList from kubernetes_asyncio.client.models.v1beta1_device_class_spec import V1beta1DeviceClassSpec from kubernetes_asyncio.client.models.v1beta1_device_constraint import V1beta1DeviceConstraint +from kubernetes_asyncio.client.models.v1beta1_device_counter_consumption import V1beta1DeviceCounterConsumption from kubernetes_asyncio.client.models.v1beta1_device_request import V1beta1DeviceRequest from kubernetes_asyncio.client.models.v1beta1_device_request_allocation_result import V1beta1DeviceRequestAllocationResult from kubernetes_asyncio.client.models.v1beta1_device_selector import V1beta1DeviceSelector +from kubernetes_asyncio.client.models.v1beta1_device_sub_request import V1beta1DeviceSubRequest +from kubernetes_asyncio.client.models.v1beta1_device_taint import V1beta1DeviceTaint +from kubernetes_asyncio.client.models.v1beta1_device_toleration import V1beta1DeviceToleration from kubernetes_asyncio.client.models.v1beta1_expression_warning import V1beta1ExpressionWarning from kubernetes_asyncio.client.models.v1beta1_ip_address import V1beta1IPAddress from kubernetes_asyncio.client.models.v1beta1_ip_address_list import V1beta1IPAddressList from kubernetes_asyncio.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec +from kubernetes_asyncio.client.models.v1beta1_lease_candidate import V1beta1LeaseCandidate +from kubernetes_asyncio.client.models.v1beta1_lease_candidate_list import V1beta1LeaseCandidateList +from kubernetes_asyncio.client.models.v1beta1_lease_candidate_spec import V1beta1LeaseCandidateSpec from kubernetes_asyncio.client.models.v1beta1_match_condition import V1beta1MatchCondition from kubernetes_asyncio.client.models.v1beta1_match_resources import V1beta1MatchResources from kubernetes_asyncio.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations @@ -672,8 +706,6 @@ from kubernetes_asyncio.client.models.v1beta1_resource_slice import V1beta1ResourceSlice from kubernetes_asyncio.client.models.v1beta1_resource_slice_list import V1beta1ResourceSliceList from kubernetes_asyncio.client.models.v1beta1_resource_slice_spec import V1beta1ResourceSliceSpec -from kubernetes_asyncio.client.models.v1beta1_self_subject_review import V1beta1SelfSubjectReview -from kubernetes_asyncio.client.models.v1beta1_self_subject_review_status import V1beta1SelfSubjectReviewStatus from kubernetes_asyncio.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR from kubernetes_asyncio.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList from kubernetes_asyncio.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec @@ -690,6 +722,45 @@ from kubernetes_asyncio.client.models.v1beta1_variable import V1beta1Variable from kubernetes_asyncio.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass from kubernetes_asyncio.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList +from kubernetes_asyncio.client.models.v1beta2_allocated_device_status import V1beta2AllocatedDeviceStatus +from kubernetes_asyncio.client.models.v1beta2_allocation_result import V1beta2AllocationResult +from kubernetes_asyncio.client.models.v1beta2_cel_device_selector import V1beta2CELDeviceSelector +from kubernetes_asyncio.client.models.v1beta2_counter import V1beta2Counter +from kubernetes_asyncio.client.models.v1beta2_counter_set import V1beta2CounterSet +from kubernetes_asyncio.client.models.v1beta2_device import V1beta2Device +from kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration import V1beta2DeviceAllocationConfiguration +from kubernetes_asyncio.client.models.v1beta2_device_allocation_result import V1beta2DeviceAllocationResult +from kubernetes_asyncio.client.models.v1beta2_device_attribute import V1beta2DeviceAttribute +from kubernetes_asyncio.client.models.v1beta2_device_capacity import V1beta2DeviceCapacity +from kubernetes_asyncio.client.models.v1beta2_device_claim import V1beta2DeviceClaim +from kubernetes_asyncio.client.models.v1beta2_device_claim_configuration import V1beta2DeviceClaimConfiguration +from kubernetes_asyncio.client.models.v1beta2_device_class import V1beta2DeviceClass +from kubernetes_asyncio.client.models.v1beta2_device_class_configuration import V1beta2DeviceClassConfiguration +from kubernetes_asyncio.client.models.v1beta2_device_class_list import V1beta2DeviceClassList +from kubernetes_asyncio.client.models.v1beta2_device_class_spec import V1beta2DeviceClassSpec +from kubernetes_asyncio.client.models.v1beta2_device_constraint import V1beta2DeviceConstraint +from kubernetes_asyncio.client.models.v1beta2_device_counter_consumption import V1beta2DeviceCounterConsumption +from kubernetes_asyncio.client.models.v1beta2_device_request import V1beta2DeviceRequest +from kubernetes_asyncio.client.models.v1beta2_device_request_allocation_result import V1beta2DeviceRequestAllocationResult +from kubernetes_asyncio.client.models.v1beta2_device_selector import V1beta2DeviceSelector +from kubernetes_asyncio.client.models.v1beta2_device_sub_request import V1beta2DeviceSubRequest +from kubernetes_asyncio.client.models.v1beta2_device_taint import V1beta2DeviceTaint +from kubernetes_asyncio.client.models.v1beta2_device_toleration import V1beta2DeviceToleration +from kubernetes_asyncio.client.models.v1beta2_exact_device_request import V1beta2ExactDeviceRequest +from kubernetes_asyncio.client.models.v1beta2_network_device_data import V1beta2NetworkDeviceData +from kubernetes_asyncio.client.models.v1beta2_opaque_device_configuration import V1beta2OpaqueDeviceConfiguration +from kubernetes_asyncio.client.models.v1beta2_resource_claim import V1beta2ResourceClaim +from kubernetes_asyncio.client.models.v1beta2_resource_claim_consumer_reference import V1beta2ResourceClaimConsumerReference +from kubernetes_asyncio.client.models.v1beta2_resource_claim_list import V1beta2ResourceClaimList +from kubernetes_asyncio.client.models.v1beta2_resource_claim_spec import V1beta2ResourceClaimSpec +from kubernetes_asyncio.client.models.v1beta2_resource_claim_status import V1beta2ResourceClaimStatus +from kubernetes_asyncio.client.models.v1beta2_resource_claim_template import V1beta2ResourceClaimTemplate +from kubernetes_asyncio.client.models.v1beta2_resource_claim_template_list import V1beta2ResourceClaimTemplateList +from kubernetes_asyncio.client.models.v1beta2_resource_claim_template_spec import V1beta2ResourceClaimTemplateSpec +from kubernetes_asyncio.client.models.v1beta2_resource_pool import V1beta2ResourcePool +from kubernetes_asyncio.client.models.v1beta2_resource_slice import V1beta2ResourceSlice +from kubernetes_asyncio.client.models.v1beta2_resource_slice_list import V1beta2ResourceSliceList +from kubernetes_asyncio.client.models.v1beta2_resource_slice_spec import V1beta2ResourceSliceSpec from kubernetes_asyncio.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource from kubernetes_asyncio.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus from kubernetes_asyncio.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference diff --git a/kubernetes_asyncio/client/api/__init__.py b/kubernetes_asyncio/client/api/__init__.py index 5598f9bb..1b744cc5 100644 --- a/kubernetes_asyncio/client/api/__init__.py +++ b/kubernetes_asyncio/client/api/__init__.py @@ -17,7 +17,6 @@ from kubernetes_asyncio.client.api.apps_v1_api import AppsV1Api from kubernetes_asyncio.client.api.authentication_api import AuthenticationApi from kubernetes_asyncio.client.api.authentication_v1_api import AuthenticationV1Api -from kubernetes_asyncio.client.api.authentication_v1beta1_api import AuthenticationV1beta1Api from kubernetes_asyncio.client.api.authorization_api import AuthorizationApi from kubernetes_asyncio.client.api.authorization_v1_api import AuthorizationV1Api from kubernetes_asyncio.client.api.autoscaling_api import AutoscalingApi @@ -28,9 +27,11 @@ from kubernetes_asyncio.client.api.certificates_api import CertificatesApi from kubernetes_asyncio.client.api.certificates_v1_api import CertificatesV1Api from kubernetes_asyncio.client.api.certificates_v1alpha1_api import CertificatesV1alpha1Api +from kubernetes_asyncio.client.api.certificates_v1beta1_api import CertificatesV1beta1Api from kubernetes_asyncio.client.api.coordination_api import CoordinationApi from kubernetes_asyncio.client.api.coordination_v1_api import CoordinationV1Api from kubernetes_asyncio.client.api.coordination_v1alpha2_api import CoordinationV1alpha2Api +from kubernetes_asyncio.client.api.coordination_v1beta1_api import CoordinationV1beta1Api from kubernetes_asyncio.client.api.core_api import CoreApi from kubernetes_asyncio.client.api.core_v1_api import CoreV1Api from kubernetes_asyncio.client.api.custom_objects_api import CustomObjectsApi @@ -56,6 +57,7 @@ from kubernetes_asyncio.client.api.resource_api import ResourceApi from kubernetes_asyncio.client.api.resource_v1alpha3_api import ResourceV1alpha3Api from kubernetes_asyncio.client.api.resource_v1beta1_api import ResourceV1beta1Api +from kubernetes_asyncio.client.api.resource_v1beta2_api import ResourceV1beta2Api from kubernetes_asyncio.client.api.scheduling_api import SchedulingApi from kubernetes_asyncio.client.api.scheduling_v1_api import SchedulingV1Api from kubernetes_asyncio.client.api.storage_api import StorageApi diff --git a/kubernetes_asyncio/client/api/admissionregistration_api.py b/kubernetes_asyncio/client/api/admissionregistration_api.py index 47b93562..d4886ec9 100644 --- a/kubernetes_asyncio/client/api/admissionregistration_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/admissionregistration_v1_api.py b/kubernetes_asyncio/client/api/admissionregistration_v1_api.py index 0ee3a77b..c872c8a0 100644 --- a/kubernetes_asyncio/client/api/admissionregistration_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/admissionregistration_v1alpha1_api.py b/kubernetes_asyncio/client/api/admissionregistration_v1alpha1_api.py index 5b87c23e..990ae53e 100644 --- a/kubernetes_asyncio/client/api/admissionregistration_v1alpha1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/admissionregistration_v1beta1_api.py b/kubernetes_asyncio/client/api/admissionregistration_v1beta1_api.py index 9bd7024f..315d88eb 100644 --- a/kubernetes_asyncio/client/api/admissionregistration_v1beta1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/apiextensions_api.py b/kubernetes_asyncio/client/api/apiextensions_api.py index 762d96e8..2d53d8d2 100644 --- a/kubernetes_asyncio/client/api/apiextensions_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/apiextensions_v1_api.py b/kubernetes_asyncio/client/api/apiextensions_v1_api.py index 77c310a0..86596b89 100644 --- a/kubernetes_asyncio/client/api/apiextensions_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/apiregistration_api.py b/kubernetes_asyncio/client/api/apiregistration_api.py index 22b702a9..21769d3c 100644 --- a/kubernetes_asyncio/client/api/apiregistration_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/apiregistration_v1_api.py b/kubernetes_asyncio/client/api/apiregistration_v1_api.py index 7ec15fbf..fc821391 100644 --- a/kubernetes_asyncio/client/api/apiregistration_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/apis_api.py b/kubernetes_asyncio/client/api/apis_api.py index a4941a31..3e2a7954 100644 --- a/kubernetes_asyncio/client/api/apis_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/apps_api.py b/kubernetes_asyncio/client/api/apps_api.py index 3157418d..2b895605 100644 --- a/kubernetes_asyncio/client/api/apps_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/apps_v1_api.py b/kubernetes_asyncio/client/api/apps_v1_api.py index fce60ad2..2266863c 100644 --- a/kubernetes_asyncio/client/api/apps_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/authentication_api.py b/kubernetes_asyncio/client/api/authentication_api.py index f977f98c..e2355dcc 100644 --- a/kubernetes_asyncio/client/api/authentication_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/authentication_v1_api.py b/kubernetes_asyncio/client/api/authentication_v1_api.py index b9599b4c..32955ddd 100644 --- a/kubernetes_asyncio/client/api/authentication_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/authorization_api.py b/kubernetes_asyncio/client/api/authorization_api.py index 1a3d7816..cfd81090 100644 --- a/kubernetes_asyncio/client/api/authorization_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/authorization_v1_api.py b/kubernetes_asyncio/client/api/authorization_v1_api.py index 657c46e4..0f8e9e06 100644 --- a/kubernetes_asyncio/client/api/authorization_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/autoscaling_api.py b/kubernetes_asyncio/client/api/autoscaling_api.py index 9cf9f60a..d44898b2 100644 --- a/kubernetes_asyncio/client/api/autoscaling_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/autoscaling_v1_api.py b/kubernetes_asyncio/client/api/autoscaling_v1_api.py index 93cbdcce..a6f9e8a0 100644 --- a/kubernetes_asyncio/client/api/autoscaling_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/autoscaling_v2_api.py b/kubernetes_asyncio/client/api/autoscaling_v2_api.py index 5495cf3c..957fdc60 100644 --- a/kubernetes_asyncio/client/api/autoscaling_v2_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/batch_api.py b/kubernetes_asyncio/client/api/batch_api.py index 0171d3ee..31e846a4 100644 --- a/kubernetes_asyncio/client/api/batch_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/batch_v1_api.py b/kubernetes_asyncio/client/api/batch_v1_api.py index d4f7dae1..2a6d1d03 100644 --- a/kubernetes_asyncio/client/api/batch_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/certificates_api.py b/kubernetes_asyncio/client/api/certificates_api.py index 8981ff71..deb87696 100644 --- a/kubernetes_asyncio/client/api/certificates_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/certificates_v1_api.py b/kubernetes_asyncio/client/api/certificates_v1_api.py index f3a4d73b..1746cbca 100644 --- a/kubernetes_asyncio/client/api/certificates_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/certificates_v1alpha1_api.py b/kubernetes_asyncio/client/api/certificates_v1alpha1_api.py index 1a9069ad..7ed34e12 100644 --- a/kubernetes_asyncio/client/api/certificates_v1alpha1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/certificates_v1beta1_api.py b/kubernetes_asyncio/client/api/certificates_v1beta1_api.py new file mode 100644 index 00000000..43d2be51 --- /dev/null +++ b/kubernetes_asyncio/client/api/certificates_v1beta1_api.py @@ -0,0 +1,1478 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from kubernetes_asyncio.client.api_client import ApiClient +from kubernetes_asyncio.client.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class CertificatesV1beta1Api(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_cluster_trust_bundle(self, body, **kwargs): # noqa: E501 + """create_cluster_trust_bundle # noqa: E501 + + create a ClusterTrustBundle # 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_cluster_trust_bundle(body, async_req=True) + >>> result = thread.get() + + :param body: (required) + :type body: V1beta1ClusterTrustBundle + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1ClusterTrustBundle + """ + kwargs['_return_http_data_only'] = True + return self.create_cluster_trust_bundle_with_http_info(body, **kwargs) # noqa: E501 + + def create_cluster_trust_bundle_with_http_info(self, body, **kwargs): # noqa: E501 + """create_cluster_trust_bundle # noqa: E501 + + create a ClusterTrustBundle # 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_cluster_trust_bundle_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param body: (required) + :type body: V1beta1ClusterTrustBundle + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1ClusterTrustBundle, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_cluster_trust_bundle" % 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_cluster_trust_bundle`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1ClusterTrustBundle", + 201: "V1beta1ClusterTrustBundle", + 202: "V1beta1ClusterTrustBundle", + 401: None, + } + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/clustertrustbundles', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_cluster_trust_bundle(self, name, **kwargs): # noqa: E501 + """delete_cluster_trust_bundle # noqa: E501 + + delete a ClusterTrustBundle # 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_cluster_trust_bundle(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ClusterTrustBundle (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_cluster_trust_bundle_with_http_info(name, **kwargs) # noqa: E501 + + def delete_cluster_trust_bundle_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_cluster_trust_bundle # noqa: E501 + + delete a ClusterTrustBundle # 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_cluster_trust_bundle_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ClusterTrustBundle (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_cluster_trust_bundle" % 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_cluster_trust_bundle`") # 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 202: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_collection_cluster_trust_bundle(self, **kwargs): # noqa: E501 + """delete_collection_cluster_trust_bundle # noqa: E501 + + delete collection of ClusterTrustBundle # 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_cluster_trust_bundle(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_cluster_trust_bundle_with_http_info(**kwargs) # noqa: E501 + + def delete_collection_cluster_trust_bundle_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_cluster_trust_bundle # noqa: E501 + + delete collection of ClusterTrustBundle # 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_cluster_trust_bundle_with_http_info(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', + 'orphan_dependents', + 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_cluster_trust_bundle" % 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/clustertrustbundles', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1APIResourceList + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1APIResourceList", + 401: None, + } + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_cluster_trust_bundle(self, **kwargs): # noqa: E501 + """list_cluster_trust_bundle # noqa: E501 + + list or watch objects of kind ClusterTrustBundle # 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_cluster_trust_bundle(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1ClusterTrustBundleList + """ + kwargs['_return_http_data_only'] = True + return self.list_cluster_trust_bundle_with_http_info(**kwargs) # noqa: E501 + + def list_cluster_trust_bundle_with_http_info(self, **kwargs): # noqa: E501 + """list_cluster_trust_bundle # noqa: E501 + + list or watch objects of kind ClusterTrustBundle # 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_cluster_trust_bundle_with_http_info(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1ClusterTrustBundleList, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_cluster_trust_bundle" % 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1ClusterTrustBundleList", + 401: None, + } + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/clustertrustbundles', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_cluster_trust_bundle(self, name, body, **kwargs): # noqa: E501 + """patch_cluster_trust_bundle # noqa: E501 + + partially update the specified ClusterTrustBundle # 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_cluster_trust_bundle(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ClusterTrustBundle (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1ClusterTrustBundle + """ + kwargs['_return_http_data_only'] = True + return self.patch_cluster_trust_bundle_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_cluster_trust_bundle_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_cluster_trust_bundle # noqa: E501 + + partially update the specified ClusterTrustBundle # 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_cluster_trust_bundle_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ClusterTrustBundle (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1ClusterTrustBundle, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_cluster_trust_bundle" % 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_cluster_trust_bundle`") # 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_cluster_trust_bundle`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1ClusterTrustBundle", + 201: "V1beta1ClusterTrustBundle", + 401: None, + } + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def read_cluster_trust_bundle(self, name, **kwargs): # noqa: E501 + """read_cluster_trust_bundle # noqa: E501 + + read the specified ClusterTrustBundle # 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_cluster_trust_bundle(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ClusterTrustBundle (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1ClusterTrustBundle + """ + kwargs['_return_http_data_only'] = True + return self.read_cluster_trust_bundle_with_http_info(name, **kwargs) # noqa: E501 + + def read_cluster_trust_bundle_with_http_info(self, name, **kwargs): # noqa: E501 + """read_cluster_trust_bundle # noqa: E501 + + read the specified ClusterTrustBundle # 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_cluster_trust_bundle_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ClusterTrustBundle (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1ClusterTrustBundle, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_cluster_trust_bundle" % 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_cluster_trust_bundle`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1ClusterTrustBundle", + 401: None, + } + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def replace_cluster_trust_bundle(self, name, body, **kwargs): # noqa: E501 + """replace_cluster_trust_bundle # noqa: E501 + + replace the specified ClusterTrustBundle # 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_cluster_trust_bundle(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ClusterTrustBundle (required) + :type name: str + :param body: (required) + :type body: V1beta1ClusterTrustBundle + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1ClusterTrustBundle + """ + kwargs['_return_http_data_only'] = True + return self.replace_cluster_trust_bundle_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_cluster_trust_bundle_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_cluster_trust_bundle # noqa: E501 + + replace the specified ClusterTrustBundle # 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_cluster_trust_bundle_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ClusterTrustBundle (required) + :type name: str + :param body: (required) + :type body: V1beta1ClusterTrustBundle + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1ClusterTrustBundle, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_cluster_trust_bundle" % 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_cluster_trust_bundle`") # 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_cluster_trust_bundle`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1ClusterTrustBundle", + 201: "V1beta1ClusterTrustBundle", + 401: None, + } + + return self.api_client.call_api( + '/apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/kubernetes_asyncio/client/api/coordination_api.py b/kubernetes_asyncio/client/api/coordination_api.py index 292298ac..24dd2640 100644 --- a/kubernetes_asyncio/client/api/coordination_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/coordination_v1_api.py b/kubernetes_asyncio/client/api/coordination_v1_api.py index f861906f..1630a816 100644 --- a/kubernetes_asyncio/client/api/coordination_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/coordination_v1alpha2_api.py b/kubernetes_asyncio/client/api/coordination_v1alpha2_api.py index b6af941f..f07df1a7 100644 --- a/kubernetes_asyncio/client/api/coordination_v1alpha2_api.py +++ b/kubernetes_asyncio/client/api/coordination_v1alpha2_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/coordination_v1beta1_api.py b/kubernetes_asyncio/client/api/coordination_v1beta1_api.py new file mode 100644 index 00000000..5d974455 --- /dev/null +++ b/kubernetes_asyncio/client/api/coordination_v1beta1_api.py @@ -0,0 +1,1760 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from kubernetes_asyncio.client.api_client import ApiClient +from kubernetes_asyncio.client.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class CoordinationV1beta1Api(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 namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta1LeaseCandidate + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1LeaseCandidate + """ + 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 namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta1LeaseCandidate + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1LeaseCandidate", + 201: "V1beta1LeaseCandidate", + 202: "V1beta1LeaseCandidate", + 401: None, + } + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_collection_namespaced_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 namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_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 namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', + 'orphan_dependents', + 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_namespaced_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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_namespaced_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 name: name of the LeaseCandidate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_namespaced_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 name: name of the LeaseCandidate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_namespaced_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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 202: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1APIResourceList + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1APIResourceList", + 401: None, + } + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1beta1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_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 allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1LeaseCandidateList + """ + 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 allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1LeaseCandidateList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1LeaseCandidateList", + 401: None, + } + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1beta1/leasecandidates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_namespaced_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 namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1LeaseCandidateList + """ + 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 namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1LeaseCandidateList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1LeaseCandidateList", + 401: None, + } + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_namespaced_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 name: name of the LeaseCandidate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1LeaseCandidate + """ + 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 name: name of the LeaseCandidate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1LeaseCandidate", + 201: "V1beta1LeaseCandidate", + 401: None, + } + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def read_namespaced_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 name: name of the LeaseCandidate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1LeaseCandidate + """ + 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 name: name of the LeaseCandidate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1LeaseCandidate", + 401: None, + } + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def replace_namespaced_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 name: name of the LeaseCandidate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta1LeaseCandidate + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta1LeaseCandidate + """ + 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 name: name of the LeaseCandidate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta1LeaseCandidate + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta1LeaseCandidate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta1LeaseCandidate", + 201: "V1beta1LeaseCandidate", + 401: None, + } + + return self.api_client.call_api( + '/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/kubernetes_asyncio/client/api/core_api.py b/kubernetes_asyncio/client/api/core_api.py index 26d68fc5..016ca8c1 100644 --- a/kubernetes_asyncio/client/api/core_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/core_v1_api.py b/kubernetes_asyncio/client/api/core_v1_api.py index 5f88a0f0..ca7933bb 100644 --- a/kubernetes_asyncio/client/api/core_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/custom_objects_api.py b/kubernetes_asyncio/client/api/custom_objects_api.py index 1d7136e6..91ee9d3d 100644 --- a/kubernetes_asyncio/client/api/custom_objects_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/discovery_api.py b/kubernetes_asyncio/client/api/discovery_api.py index 3c87920a..062e5464 100644 --- a/kubernetes_asyncio/client/api/discovery_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/discovery_v1_api.py b/kubernetes_asyncio/client/api/discovery_v1_api.py index 12d99325..44eb95d1 100644 --- a/kubernetes_asyncio/client/api/discovery_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/events_api.py b/kubernetes_asyncio/client/api/events_api.py index 6639bf31..556d591f 100644 --- a/kubernetes_asyncio/client/api/events_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/events_v1_api.py b/kubernetes_asyncio/client/api/events_v1_api.py index 491cbe27..45ca011f 100644 --- a/kubernetes_asyncio/client/api/events_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/flowcontrol_apiserver_api.py b/kubernetes_asyncio/client/api/flowcontrol_apiserver_api.py index b96ae2ae..d410a372 100644 --- a/kubernetes_asyncio/client/api/flowcontrol_apiserver_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/flowcontrol_apiserver_v1_api.py b/kubernetes_asyncio/client/api/flowcontrol_apiserver_v1_api.py index 9b51529a..a4a8631b 100644 --- a/kubernetes_asyncio/client/api/flowcontrol_apiserver_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/internal_apiserver_api.py b/kubernetes_asyncio/client/api/internal_apiserver_api.py index 731e4934..25641501 100644 --- a/kubernetes_asyncio/client/api/internal_apiserver_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/internal_apiserver_v1alpha1_api.py b/kubernetes_asyncio/client/api/internal_apiserver_v1alpha1_api.py index a7a3042e..47130e20 100644 --- a/kubernetes_asyncio/client/api/internal_apiserver_v1alpha1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/logs_api.py b/kubernetes_asyncio/client/api/logs_api.py index c684a314..88ad6499 100644 --- a/kubernetes_asyncio/client/api/logs_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/networking_api.py b/kubernetes_asyncio/client/api/networking_api.py index fe80e8d1..665ab9f2 100644 --- a/kubernetes_asyncio/client/api/networking_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/networking_v1_api.py b/kubernetes_asyncio/client/api/networking_v1_api.py index 582d0fbb..081c39af 100644 --- a/kubernetes_asyncio/client/api/networking_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -205,6 +205,175 @@ def create_ingress_class_with_http_info(self, body, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def create_ip_address(self, body, **kwargs): # noqa: E501 + """create_ip_address # noqa: E501 + + create an IPAddress # 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_ip_address(body, async_req=True) + >>> result = thread.get() + + :param body: (required) + :type body: V1IPAddress + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1IPAddress + """ + kwargs['_return_http_data_only'] = True + return self.create_ip_address_with_http_info(body, **kwargs) # noqa: E501 + + def create_ip_address_with_http_info(self, body, **kwargs): # noqa: E501 + """create_ip_address # noqa: E501 + + create an IPAddress # 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_ip_address_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param body: (required) + :type body: V1IPAddress + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1IPAddress, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_ip_address" % 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_ip_address`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1IPAddress", + 201: "V1IPAddress", + 202: "V1IPAddress", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/ipaddresses', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def create_namespaced_ingress(self, namespace, body, **kwargs): # noqa: E501 """create_namespaced_ingress # noqa: E501 @@ -565,46 +734,26 @@ def create_namespaced_network_policy_with_http_info(self, namespace, body, **kwa collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_collection_ingress_class(self, **kwargs): # noqa: E501 - """delete_collection_ingress_class # noqa: E501 + def create_service_cidr(self, body, **kwargs): # noqa: E501 + """create_service_cidr # noqa: E501 - delete collection of IngressClass # noqa: E501 + create a ServiceCIDR # 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_ingress_class(async_req=True) + >>> thread = api.create_service_cidr(body, async_req=True) >>> result = thread.get() + :param body: (required) + :type body: V1ServiceCIDR :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :type dry_run: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :type grace_period_seconds: int - :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - :type ignore_store_read_error_with_cluster_breaking_potential: bool - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :type orphan_dependents: bool - :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :type propagation_policy: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param body: - :type body: V1DeleteOptions + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -618,51 +767,31 @@ def delete_collection_ingress_class(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1Status + :rtype: V1ServiceCIDR """ kwargs['_return_http_data_only'] = True - return self.delete_collection_ingress_class_with_http_info(**kwargs) # noqa: E501 + return self.create_service_cidr_with_http_info(body, **kwargs) # noqa: E501 - def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E501 - """delete_collection_ingress_class # noqa: E501 + def create_service_cidr_with_http_info(self, body, **kwargs): # noqa: E501 + """create_service_cidr # noqa: E501 - delete collection of IngressClass # noqa: E501 + create a ServiceCIDR # 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_ingress_class_with_http_info(async_req=True) + >>> thread = api.create_service_cidr_with_http_info(body, async_req=True) >>> result = thread.get() + :param body: (required) + :type body: V1ServiceCIDR :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :type dry_run: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :type grace_period_seconds: int - :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - :type ignore_store_read_error_with_cluster_breaking_potential: bool - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :type orphan_dependents: bool - :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :type propagation_policy: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param body: - :type body: V1DeleteOptions + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -684,27 +813,17 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'body', 'pretty', - '_continue', 'dry_run', - 'field_selector', - 'grace_period_seconds', - 'ignore_store_read_error_with_cluster_breaking_potential', - 'label_selector', - 'limit', - 'orphan_dependents', - 'propagation_policy', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'body' + 'field_manager', + 'field_validation' ] all_params.extend( [ @@ -722,10 +841,14 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_ingress_class" % key + " to method create_service_cidr" % 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_service_cidr`") # noqa: E501 collection_formats = {} @@ -734,32 +857,12 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 - query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 - if '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 + 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 = dict(local_var_params.get('_headers', {})) @@ -777,12 +880,14 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1Status", + 200: "V1ServiceCIDR", + 201: "V1ServiceCIDR", + 202: "V1ServiceCIDR", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/ingressclasses', 'DELETE', + '/apis/networking.k8s.io/v1/servicecidrs', 'POST', path_params, query_params, header_params, @@ -798,18 +903,16 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_collection_namespaced_ingress(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_ingress # noqa: E501 + def delete_collection_ingress_class(self, **kwargs): # noqa: E501 + """delete_collection_ingress_class # noqa: E501 - delete collection of Ingress # noqa: E501 + delete collection of IngressClass # 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_ingress(namespace, async_req=True) + >>> thread = api.delete_collection_ingress_class(async_req=True) >>> result = thread.get() - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -856,20 +959,18 @@ def delete_collection_namespaced_ingress(self, namespace, **kwargs): # noqa: E5 :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.delete_collection_namespaced_ingress_with_http_info(namespace, **kwargs) # noqa: E501 + return self.delete_collection_ingress_class_with_http_info(**kwargs) # noqa: E501 - def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_ingress # noqa: E501 + def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_ingress_class # noqa: E501 - delete collection of Ingress # noqa: E501 + delete collection of IngressClass # 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_ingress_with_http_info(namespace, async_req=True) + >>> thread = api.delete_collection_ingress_class_with_http_info(async_req=True) >>> result = thread.get() - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -927,7 +1028,6 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg local_var_params = locals() all_params = [ - 'namespace', 'pretty', '_continue', 'dry_run', @@ -960,20 +1060,14 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_ingress" % key + " to method delete_collection_ingress_class" % 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_ingress`") # 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 @@ -1026,7 +1120,7 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses', 'DELETE', + '/apis/networking.k8s.io/v1/ingressclasses', 'DELETE', path_params, query_params, header_params, @@ -1042,18 +1136,16 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_collection_namespaced_network_policy(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_network_policy # noqa: E501 + def delete_collection_ip_address(self, **kwargs): # noqa: E501 + """delete_collection_ip_address # noqa: E501 - delete collection of NetworkPolicy # noqa: E501 + delete collection of IPAddress # 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_network_policy(namespace, async_req=True) + >>> thread = api.delete_collection_ip_address(async_req=True) >>> result = thread.get() - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1100,20 +1192,18 @@ def delete_collection_namespaced_network_policy(self, namespace, **kwargs): # n :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.delete_collection_namespaced_network_policy_with_http_info(namespace, **kwargs) # noqa: E501 + return self.delete_collection_ip_address_with_http_info(**kwargs) # noqa: E501 - def delete_collection_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_network_policy # noqa: E501 + def delete_collection_ip_address_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_ip_address # noqa: E501 - delete collection of NetworkPolicy # noqa: E501 + delete collection of IPAddress # 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_network_policy_with_http_info(namespace, async_req=True) + >>> thread = api.delete_collection_ip_address_with_http_info(async_req=True) >>> result = thread.get() - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1171,7 +1261,6 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, local_var_params = locals() all_params = [ - 'namespace', 'pretty', '_continue', 'dry_run', @@ -1204,20 +1293,14 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_network_policy" % key + " to method delete_collection_ip_address" % 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_network_policy`") # 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 @@ -1270,7 +1353,7 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies', 'DELETE', + '/apis/networking.k8s.io/v1/ipaddresses', 'DELETE', path_params, query_params, header_params, @@ -1286,30 +1369,46 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_ingress_class(self, name, **kwargs): # noqa: E501 - """delete_ingress_class # noqa: E501 + def delete_collection_namespaced_ingress(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_ingress # noqa: E501 - delete an IngressClass # noqa: E501 + delete collection of Ingress # 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_ingress_class(name, async_req=True) + >>> thread = api.delete_collection_namespaced_ingress(namespace, async_req=True) >>> result = thread.get() - :param name: name of the IngressClass (required) - :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :type grace_period_seconds: int :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :type orphan_dependents: bool :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int :param body: :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. @@ -1328,32 +1427,48 @@ def delete_ingress_class(self, name, **kwargs): # noqa: E501 :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.delete_ingress_class_with_http_info(name, **kwargs) # noqa: E501 + return self.delete_collection_namespaced_ingress_with_http_info(namespace, **kwargs) # noqa: E501 - def delete_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_ingress_class # noqa: E501 + def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_ingress # noqa: E501 - delete an IngressClass # noqa: E501 + delete collection of Ingress # 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_ingress_class_with_http_info(name, async_req=True) + >>> thread = api.delete_collection_namespaced_ingress_with_http_info(namespace, async_req=True) >>> result = thread.get() - :param name: name of the IngressClass (required) - :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :type grace_period_seconds: int :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :type orphan_dependents: bool :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int :param body: :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. @@ -1383,13 +1498,21 @@ def delete_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ - 'name', + 'namespace', 'pretty', + '_continue', 'dry_run', + 'field_selector', 'grace_period_seconds', 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', 'orphan_dependents', 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', 'body' ] all_params.extend( @@ -1408,34 +1531,50 @@ def delete_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_ingress_class" % key + " to method delete_collection_namespaced_ingress" % 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_ingress_class`") # 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_collection_namespaced_ingress`") # 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 '_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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) @@ -1454,12 +1593,11 @@ def delete_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 response_types_map = { 200: "V1Status", - 202: "V1Status", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/ingressclasses/{name}', 'DELETE', + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses', 'DELETE', path_params, query_params, header_params, @@ -1475,32 +1613,46 @@ def delete_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_namespaced_ingress(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_ingress # noqa: E501 + def delete_collection_namespaced_network_policy(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_network_policy # noqa: E501 - delete an Ingress # noqa: E501 + delete collection of NetworkPolicy # 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_ingress(name, namespace, async_req=True) + >>> thread = api.delete_collection_namespaced_network_policy(namespace, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) - :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :type grace_period_seconds: int :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :type orphan_dependents: bool :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int :param body: :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. @@ -1519,34 +1671,48 @@ def delete_namespaced_ingress(self, name, namespace, **kwargs): # noqa: E501 :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.delete_namespaced_ingress_with_http_info(name, namespace, **kwargs) # noqa: E501 + return self.delete_collection_namespaced_network_policy_with_http_info(namespace, **kwargs) # noqa: E501 - def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_ingress # noqa: E501 + def delete_collection_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_network_policy # noqa: E501 - delete an Ingress # noqa: E501 + delete collection of NetworkPolicy # 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_ingress_with_http_info(name, namespace, async_req=True) + >>> thread = api.delete_collection_namespaced_network_policy_with_http_info(namespace, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) - :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :type grace_period_seconds: int :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :type orphan_dependents: bool :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int :param body: :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. @@ -1576,14 +1742,21 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): local_var_params = locals() all_params = [ - 'name', 'namespace', 'pretty', + '_continue', 'dry_run', + 'field_selector', 'grace_period_seconds', 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', 'orphan_dependents', 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', 'body' ] all_params.extend( @@ -1602,43 +1775,53 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_ingress" % key + " to method delete_collection_namespaced_network_policy" % 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_ingress`") # 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_ingress`") # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_network_policy`") # 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 '_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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) - header_params = dict(local_var_params.get('_headers', {})) - form_params = [] local_var_files = {} @@ -1654,12 +1837,11 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): response_types_map = { 200: "V1Status", - 202: "V1Status", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}', 'DELETE', + '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies', 'DELETE', path_params, query_params, header_params, @@ -1675,32 +1857,44 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_namespaced_network_policy(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_network_policy # noqa: E501 + def delete_collection_service_cidr(self, **kwargs): # noqa: E501 + """delete_collection_service_cidr # noqa: E501 - delete a NetworkPolicy # noqa: E501 + delete collection of ServiceCIDR # 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_network_policy(name, namespace, async_req=True) + >>> thread = api.delete_collection_service_cidr(async_req=True) >>> result = thread.get() - :param name: name of the NetworkPolicy (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :type grace_period_seconds: int :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :type orphan_dependents: bool :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int :param body: :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. @@ -1719,34 +1913,46 @@ def delete_namespaced_network_policy(self, name, namespace, **kwargs): # noqa: :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.delete_namespaced_network_policy_with_http_info(name, namespace, **kwargs) # noqa: E501 + return self.delete_collection_service_cidr_with_http_info(**kwargs) # noqa: E501 - def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """delete_namespaced_network_policy # noqa: E501 + def delete_collection_service_cidr_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_service_cidr # noqa: E501 - delete a NetworkPolicy # noqa: E501 + delete collection of ServiceCIDR # 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_network_policy_with_http_info(name, namespace, async_req=True) + >>> thread = api.delete_collection_service_cidr_with_http_info(async_req=True) >>> result = thread.get() - :param name: name of the NetworkPolicy (required) - :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :type grace_period_seconds: int :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :type orphan_dependents: bool :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int :param body: :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. @@ -1776,14 +1982,20 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwa local_var_params = locals() all_params = [ - 'name', - 'namespace', 'pretty', + '_continue', 'dry_run', + 'field_selector', 'grace_period_seconds', 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', 'orphan_dependents', 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', 'body' ] all_params.extend( @@ -1802,40 +2014,44 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwa if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_network_policy" % key + " to method delete_collection_service_cidr" % 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_network_policy`") # 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_network_policy`") # 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 '_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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) @@ -1854,12 +2070,11 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwa response_types_map = { 200: "V1Status", - 202: "V1Status", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}', 'DELETE', + '/apis/networking.k8s.io/v1/servicecidrs', 'DELETE', path_params, query_params, header_params, @@ -1875,16 +2090,32 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwa collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def get_api_resources(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 + def delete_ingress_class(self, name, **kwargs): # noqa: E501 + """delete_ingress_class # noqa: E501 - get available resources # noqa: E501 + delete an IngressClass # 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) + >>> thread = api.delete_ingress_class(name, async_req=True) >>> result = thread.get() + :param name: name of the IngressClass (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -1898,21 +2129,37 @@ def get_api_resources(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1APIResourceList + :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + return self.delete_ingress_class_with_http_info(name, **kwargs) # noqa: E501 - def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 + def delete_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_ingress_class # noqa: E501 - get available resources # noqa: E501 + delete an IngressClass # 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) + >>> thread = api.delete_ingress_class_with_http_info(name, async_req=True) >>> result = thread.get() + :param name: name of the IngressClass (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -1934,12 +2181,20 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' ] all_params.extend( [ @@ -1957,16 +2212,34 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_api_resources" % key + " to method delete_ingress_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_ingress_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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) @@ -1974,6 +2247,8 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 @@ -1982,12 +2257,13 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1APIResourceList", + 200: "V1Status", + 202: "V1Status", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/', 'GET', + '/apis/networking.k8s.io/v1/ingressclasses/{name}', 'DELETE', path_params, query_params, header_params, @@ -2003,38 +2279,32 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def list_ingress_class(self, **kwargs): # noqa: E501 - """list_ingress_class # noqa: E501 + def delete_ip_address(self, name, **kwargs): # noqa: E501 + """delete_ip_address # noqa: E501 - list or watch objects of kind IngressClass # noqa: E501 + delete an IPAddress # 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_ingress_class(async_req=True) + >>> thread = api.delete_ip_address(name, async_req=True) >>> result = thread.get() + :param name: name of the IPAddress (required) + :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2048,43 +2318,37 @@ def list_ingress_class(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1IngressClassList + :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.list_ingress_class_with_http_info(**kwargs) # noqa: E501 + return self.delete_ip_address_with_http_info(name, **kwargs) # noqa: E501 - def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 - """list_ingress_class # noqa: E501 + def delete_ip_address_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_ip_address # noqa: E501 - list or watch objects of kind IngressClass # noqa: E501 + delete an IPAddress # 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_ingress_class_with_http_info(async_req=True) + >>> thread = api.delete_ip_address_with_http_info(name, async_req=True) >>> result = thread.get() + :param name: name of the IPAddress (required) + :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2106,23 +2370,20 @@ def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1IngressClassList, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'name', 'pretty', - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' ] all_params.extend( [ @@ -2140,38 +2401,34 @@ def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_ingress_class" % key + " to method delete_ip_address" % 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_ip_address`") # 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 '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 + 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) @@ -2179,20 +2436,23 @@ def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1IngressClassList", + 200: "V1Status", + 202: "V1Status", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/ingressclasses', 'GET', + '/apis/networking.k8s.io/v1/ipaddresses/{name}', 'DELETE', path_params, query_params, header_params, @@ -2208,38 +2468,34 @@ def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def list_ingress_for_all_namespaces(self, **kwargs): # noqa: E501 - """list_ingress_for_all_namespaces # noqa: E501 + def delete_namespaced_ingress(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_ingress # noqa: E501 - list or watch objects of kind Ingress # noqa: E501 + delete an Ingress # 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_ingress_for_all_namespaces(async_req=True) + >>> thread = api.delete_namespaced_ingress(name, namespace, async_req=True) >>> result = thread.get() - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int + :param name: name of the Ingress (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2253,43 +2509,39 @@ def list_ingress_for_all_namespaces(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1IngressList + :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.list_ingress_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + return self.delete_namespaced_ingress_with_http_info(name, namespace, **kwargs) # noqa: E501 - def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 - """list_ingress_for_all_namespaces # noqa: E501 + def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_ingress # noqa: E501 - list or watch objects of kind Ingress # noqa: E501 + delete an Ingress # 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_ingress_for_all_namespaces_with_http_info(async_req=True) + >>> thread = api.delete_namespaced_ingress_with_http_info(name, namespace, async_req=True) >>> result = thread.get() - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int + :param name: name of the Ingress (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2311,23 +2563,21 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1IngressList, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', + 'name', + 'namespace', 'pretty', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' ] all_params.extend( [ @@ -2345,38 +2595,40 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_ingress_for_all_namespaces" % key + " to method delete_namespaced_ingress" % 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_ingress`") # 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_ingress`") # 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 '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 + 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) @@ -2384,20 +2636,23 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 local_var_files = {} body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1IngressList", + 200: "V1Status", + 202: "V1Status", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/ingresses', 'GET', + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}', 'DELETE', path_params, query_params, header_params, @@ -2413,40 +2668,34 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def list_namespaced_ingress(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_ingress # noqa: E501 + def delete_namespaced_network_policy(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_network_policy # noqa: E501 - list or watch objects of kind Ingress # noqa: E501 + delete a NetworkPolicy # 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_ingress(namespace, async_req=True) + >>> thread = api.delete_namespaced_network_policy(name, namespace, async_req=True) >>> result = thread.get() + :param name: name of the NetworkPolicy (required) + :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2460,45 +2709,3190 @@ def list_namespaced_ingress(self, namespace, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1IngressList + :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.list_namespaced_ingress_with_http_info(namespace, **kwargs) # noqa: E501 + return self.delete_namespaced_network_policy_with_http_info(name, namespace, **kwargs) # noqa: E501 - def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_ingress # noqa: E501 + def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_network_policy # noqa: E501 - list or watch objects of kind Ingress # noqa: E501 + delete a NetworkPolicy # 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_ingress_with_http_info(namespace, async_req=True) + >>> thread = api.delete_namespaced_network_policy_with_http_info(name, namespace, async_req=True) >>> result = thread.get() + :param name: name of the NetworkPolicy (required) + :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_namespaced_network_policy" % 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_network_policy`") # 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_network_policy`") # 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 202: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_service_cidr(self, name, **kwargs): # noqa: E501 + """delete_service_cidr # noqa: E501 + + delete a ServiceCIDR # 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_service_cidr(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ServiceCIDR (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_service_cidr_with_http_info(name, **kwargs) # noqa: E501 + + def delete_service_cidr_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_service_cidr # noqa: E501 + + delete a ServiceCIDR # 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_service_cidr_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ServiceCIDR (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_service_cidr" % 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_service_cidr`") # 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 202: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/servicecidrs/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1APIResourceList + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1APIResourceList", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_ingress_class(self, **kwargs): # noqa: E501 + """list_ingress_class # noqa: E501 + + list or watch objects of kind IngressClass # 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_ingress_class(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1IngressClassList + """ + kwargs['_return_http_data_only'] = True + return self.list_ingress_class_with_http_info(**kwargs) # noqa: E501 + + def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 + """list_ingress_class # noqa: E501 + + list or watch objects of kind IngressClass # 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_ingress_class_with_http_info(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1IngressClassList, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_ingress_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1IngressClassList", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/ingressclasses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_ingress_for_all_namespaces(self, **kwargs): # noqa: E501 + """list_ingress_for_all_namespaces # noqa: E501 + + list or watch objects of kind Ingress # 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_ingress_for_all_namespaces(async_req=True) + >>> result = thread.get() + + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1IngressList + """ + kwargs['_return_http_data_only'] = True + return self.list_ingress_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + + def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 + """list_ingress_for_all_namespaces # noqa: E501 + + list or watch objects of kind Ingress # 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_ingress_for_all_namespaces_with_http_info(async_req=True) + >>> result = thread.get() + + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1IngressList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_ingress_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1IngressList", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/ingresses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_ip_address(self, **kwargs): # noqa: E501 + """list_ip_address # noqa: E501 + + list or watch objects of kind IPAddress # 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_ip_address(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1IPAddressList + """ + kwargs['_return_http_data_only'] = True + return self.list_ip_address_with_http_info(**kwargs) # noqa: E501 + + def list_ip_address_with_http_info(self, **kwargs): # noqa: E501 + """list_ip_address # noqa: E501 + + list or watch objects of kind IPAddress # 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_ip_address_with_http_info(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1IPAddressList, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_ip_address" % 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1IPAddressList", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/ipaddresses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_namespaced_ingress(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_ingress # noqa: E501 + + list or watch objects of kind Ingress # 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_ingress(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1IngressList + """ + kwargs['_return_http_data_only'] = True + return self.list_namespaced_ingress_with_http_info(namespace, **kwargs) # noqa: E501 + + def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_ingress # noqa: E501 + + list or watch objects of kind Ingress # 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_ingress_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1IngressList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_ingress" % 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_ingress`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1IngressList", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_namespaced_network_policy(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_network_policy # noqa: E501 + + list or watch objects of kind NetworkPolicy # 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_network_policy(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1NetworkPolicyList + """ + kwargs['_return_http_data_only'] = True + return self.list_namespaced_network_policy_with_http_info(namespace, **kwargs) # noqa: E501 + + def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_network_policy # noqa: E501 + + list or watch objects of kind NetworkPolicy # 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_network_policy_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1NetworkPolicyList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_network_policy" % 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_network_policy`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1NetworkPolicyList", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_network_policy_for_all_namespaces(self, **kwargs): # noqa: E501 + """list_network_policy_for_all_namespaces # noqa: E501 + + list or watch objects of kind NetworkPolicy # 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_network_policy_for_all_namespaces(async_req=True) + >>> result = thread.get() + + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1NetworkPolicyList + """ + kwargs['_return_http_data_only'] = True + return self.list_network_policy_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + + def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 + """list_network_policy_for_all_namespaces # noqa: E501 + + list or watch objects of kind NetworkPolicy # 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_network_policy_for_all_namespaces_with_http_info(async_req=True) + >>> result = thread.get() + + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1NetworkPolicyList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_network_policy_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1NetworkPolicyList", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/networkpolicies', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_service_cidr(self, **kwargs): # noqa: E501 + """list_service_cidr # noqa: E501 + + list or watch objects of kind ServiceCIDR # 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_service_cidr(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1ServiceCIDRList + """ + kwargs['_return_http_data_only'] = True + return self.list_service_cidr_with_http_info(**kwargs) # noqa: E501 + + def list_service_cidr_with_http_info(self, **kwargs): # noqa: E501 + """list_service_cidr # noqa: E501 + + list or watch objects of kind ServiceCIDR # 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_service_cidr_with_http_info(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1ServiceCIDRList, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_service_cidr" % 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1ServiceCIDRList", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/servicecidrs', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_ingress_class(self, name, body, **kwargs): # noqa: E501 + """patch_ingress_class # noqa: E501 + + partially update the specified IngressClass # 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_ingress_class(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the IngressClass (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1IngressClass + """ + kwargs['_return_http_data_only'] = True + return self.patch_ingress_class_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_ingress_class # noqa: E501 + + partially update the specified IngressClass # 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_ingress_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the IngressClass (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_ingress_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_ingress_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_ingress_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1IngressClass", + 201: "V1IngressClass", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/ingressclasses/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_ip_address(self, name, body, **kwargs): # noqa: E501 + """patch_ip_address # noqa: E501 + + partially update the specified IPAddress # 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_ip_address(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the IPAddress (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1IPAddress + """ + kwargs['_return_http_data_only'] = True + return self.patch_ip_address_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_ip_address_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_ip_address # noqa: E501 + + partially update the specified IPAddress # 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_ip_address_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the IPAddress (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1IPAddress, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_ip_address" % 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_ip_address`") # 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_ip_address`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1IPAddress", + 201: "V1IPAddress", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/ipaddresses/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_namespaced_ingress(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_ingress # noqa: E501 + + partially update the specified Ingress # 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_ingress(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the Ingress (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Ingress + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_ingress_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_ingress # noqa: E501 + + partially update the specified Ingress # 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_ingress_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the Ingress (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_ingress" % 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_ingress`") # 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_ingress`") # 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_ingress`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Ingress", + 201: "V1Ingress", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_namespaced_ingress_status(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_ingress_status # noqa: E501 + + partially update status of the specified Ingress # 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_ingress_status(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the Ingress (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Ingress + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_ingress_status_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_ingress_status # noqa: E501 + + partially update status of the specified Ingress # 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_ingress_status_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the Ingress (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_ingress_status" % 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_ingress_status`") # 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_ingress_status`") # 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_ingress_status`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Ingress", + 201: "V1Ingress", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_namespaced_network_policy(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_network_policy # noqa: E501 + + partially update the specified NetworkPolicy # 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_network_policy(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the NetworkPolicy (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1NetworkPolicy + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_network_policy # noqa: E501 + + partially update the specified NetworkPolicy # 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_network_policy_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the NetworkPolicy (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_network_policy" % 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_network_policy`") # 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_network_policy`") # 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_network_policy`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1NetworkPolicy", + 201: "V1NetworkPolicy", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_service_cidr(self, name, body, **kwargs): # noqa: E501 + """patch_service_cidr # noqa: E501 + + partially update the specified ServiceCIDR # 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_service_cidr(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ServiceCIDR (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1ServiceCIDR + """ + kwargs['_return_http_data_only'] = True + return self.patch_service_cidr_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_service_cidr_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_service_cidr # noqa: E501 + + partially update the specified ServiceCIDR # 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_service_cidr_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ServiceCIDR (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_service_cidr" % 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_service_cidr`") # 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_service_cidr`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1ServiceCIDR", + 201: "V1ServiceCIDR", + 401: None, + } + + return self.api_client.call_api( + '/apis/networking.k8s.io/v1/servicecidrs/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_service_cidr_status(self, name, body, **kwargs): # noqa: E501 + """patch_service_cidr_status # noqa: E501 + + partially update status of the specified ServiceCIDR # 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_service_cidr_status(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ServiceCIDR (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1ServiceCIDR + """ + kwargs['_return_http_data_only'] = True + return self.patch_service_cidr_status_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_service_cidr_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_service_cidr_status # noqa: E501 + + partially update status of the specified ServiceCIDR # 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_service_cidr_status_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ServiceCIDR (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2520,24 +5914,19 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1IngressList, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'namespace', + 'name', + 'body', 'pretty', - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' + 'dry_run', + 'field_manager', + 'field_validation', + 'force' ] all_params.extend( [ @@ -2555,44 +5944,36 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_namespaced_ingress" % key + " to method patch_service_cidr_status" % 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_ingress`") # noqa: E501 + # 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_service_cidr_status`") # 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_service_cidr_status`") # noqa: E501 collection_formats = {} path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + 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 '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 + 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 = dict(local_var_params.get('_headers', {})) @@ -2600,20 +5981,29 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: local_var_files = {} body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1IngressList", + 200: "V1ServiceCIDR", + 201: "V1ServiceCIDR", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses', 'GET', + '/apis/networking.k8s.io/v1/servicecidrs/{name}/status', 'PATCH', path_params, query_params, header_params, @@ -2629,40 +6019,20 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def list_namespaced_network_policy(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_network_policy # noqa: E501 + def read_ingress_class(self, name, **kwargs): # noqa: E501 + """read_ingress_class # noqa: E501 - list or watch objects of kind NetworkPolicy # noqa: E501 + read the specified IngressClass # 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_network_policy(namespace, async_req=True) + >>> thread = api.read_ingress_class(name, async_req=True) >>> result = thread.get() - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str + :param name: name of the IngressClass (required) + :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2676,45 +6046,25 @@ def list_namespaced_network_policy(self, namespace, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1NetworkPolicyList + :rtype: V1IngressClass """ kwargs['_return_http_data_only'] = True - return self.list_namespaced_network_policy_with_http_info(namespace, **kwargs) # noqa: E501 + return self.read_ingress_class_with_http_info(name, **kwargs) # noqa: E501 - def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # noqa: E501 - """list_namespaced_network_policy # noqa: E501 + def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 + """read_ingress_class # noqa: E501 - list or watch objects of kind NetworkPolicy # noqa: E501 + read the specified IngressClass # 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_network_policy_with_http_info(namespace, async_req=True) + >>> thread = api.read_ingress_class_with_http_info(name, async_req=True) >>> result = thread.get() - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str + :param name: name of the IngressClass (required) + :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2736,24 +6086,14 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1NetworkPolicyList, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'namespace', - 'pretty', - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' + 'name', + 'pretty' ] all_params.extend( [ @@ -2771,44 +6111,24 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_namespaced_network_policy" % key + " to method read_ingress_class" % 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_network_policy`") # noqa: E501 + # 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_ingress_class`") # noqa: E501 collection_formats = {} path_params = {} - if 'namespace' in local_var_params: - path_params['namespace'] = local_var_params['namespace'] # noqa: E501 + 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 '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 = dict(local_var_params.get('_headers', {})) @@ -2818,18 +6138,18 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1NetworkPolicyList", + 200: "V1IngressClass", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies', 'GET', + '/apis/networking.k8s.io/v1/ingressclasses/{name}', 'GET', path_params, query_params, header_params, @@ -2845,38 +6165,20 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def list_network_policy_for_all_namespaces(self, **kwargs): # noqa: E501 - """list_network_policy_for_all_namespaces # noqa: E501 + def read_ip_address(self, name, **kwargs): # noqa: E501 + """read_ip_address # noqa: E501 - list or watch objects of kind NetworkPolicy # noqa: E501 + read the specified IPAddress # 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_network_policy_for_all_namespaces(async_req=True) + >>> thread = api.read_ip_address(name, async_req=True) >>> result = thread.get() - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int + :param name: name of the IPAddress (required) + :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -2890,43 +6192,25 @@ def list_network_policy_for_all_namespaces(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1NetworkPolicyList + :rtype: V1IPAddress """ kwargs['_return_http_data_only'] = True - return self.list_network_policy_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + return self.read_ip_address_with_http_info(name, **kwargs) # noqa: E501 - def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 - """list_network_policy_for_all_namespaces # noqa: E501 - - list or watch objects of kind NetworkPolicy # 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_network_policy_for_all_namespaces_with_http_info(async_req=True) - >>> result = thread.get() - - :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - :type allow_watch_bookmarks: bool - :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :type _continue: str - :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :type field_selector: str - :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :type label_selector: str - :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :type limit: int - :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - :type pretty: str - :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version: str - :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - :type resource_version_match: str - :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - :type send_initial_events: bool - :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :type timeout_seconds: int - :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :type watch: bool + def read_ip_address_with_http_info(self, name, **kwargs): # noqa: E501 + """read_ip_address # noqa: E501 + + read the specified IPAddress # 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_ip_address_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param name: name of the IPAddress (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -2948,23 +6232,14 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1NetworkPolicyList, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1IPAddress, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'allow_watch_bookmarks', - '_continue', - 'field_selector', - 'label_selector', - 'limit', - 'pretty', - 'resource_version', - 'resource_version_match', - 'send_initial_events', - 'timeout_seconds', - 'watch' + 'name', + 'pretty' ] all_params.extend( [ @@ -2982,38 +6257,24 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_network_policy_for_all_namespaces" % key + " to method read_ip_address" % 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_ip_address`") # noqa: E501 collection_formats = {} path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 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 = dict(local_var_params.get('_headers', {})) @@ -3023,18 +6284,18 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1NetworkPolicyList", + 200: "V1IPAddress", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/networkpolicies', 'GET', + '/apis/networking.k8s.io/v1/ipaddresses/{name}', 'GET', path_params, query_params, header_params, @@ -3050,30 +6311,22 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def patch_ingress_class(self, name, body, **kwargs): # noqa: E501 - """patch_ingress_class # noqa: E501 + def read_namespaced_ingress(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_ingress # noqa: E501 - partially update the specified IngressClass # noqa: E501 + read the specified Ingress # 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_ingress_class(name, body, async_req=True) + >>> thread = api.read_namespaced_ingress(name, namespace, async_req=True) >>> result = thread.get() - :param name: name of the IngressClass (required) + :param name: name of the Ingress (required) :type name: str - :param body: (required) - :type body: object + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3087,35 +6340,27 @@ def patch_ingress_class(self, name, body, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1IngressClass + :rtype: V1Ingress """ kwargs['_return_http_data_only'] = True - return self.patch_ingress_class_with_http_info(name, body, **kwargs) # noqa: E501 + return self.read_namespaced_ingress_with_http_info(name, namespace, **kwargs) # noqa: E501 - def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_ingress_class # noqa: E501 + def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_ingress # noqa: E501 - partially update the specified IngressClass # noqa: E501 + read the specified Ingress # 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_ingress_class_with_http_info(name, body, async_req=True) + >>> thread = api.read_namespaced_ingress_with_http_info(name, namespace, async_req=True) >>> result = thread.get() - :param name: name of the IngressClass (required) + :param name: name of the Ingress (required) :type name: str - :param body: (required) - :type body: object + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3137,19 +6382,15 @@ def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E50 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'name', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' + 'namespace', + 'pretty' ] all_params.extend( [ @@ -3167,36 +6408,30 @@ def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E50 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_ingress_class" % key + " to method read_namespaced_ingress" % 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_ingress_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_ingress_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_namespaced_ingress`") # 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_ingress`") # 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 = dict(local_var_params.get('_headers', {})) @@ -3204,29 +6439,20 @@ def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E50 local_var_files = {} body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], - 'PATCH', body_params)) # noqa: E501 - # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1IngressClass", - 201: "V1IngressClass", + 200: "V1Ingress", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/ingressclasses/{name}', 'PATCH', + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}', 'GET', path_params, query_params, header_params, @@ -3242,32 +6468,22 @@ def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E50 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def patch_namespaced_ingress(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_ingress # noqa: E501 + def read_namespaced_ingress_status(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_ingress_status # noqa: E501 - partially update the specified Ingress # noqa: E501 + read status of the specified Ingress # 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_ingress(name, namespace, body, async_req=True) + >>> thread = api.read_namespaced_ingress_status(name, namespace, async_req=True) >>> result = thread.get() :param name: name of the Ingress (required) :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str - :param body: (required) - :type body: object :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3284,34 +6500,24 @@ def patch_namespaced_ingress(self, name, namespace, body, **kwargs): # noqa: E5 :rtype: V1Ingress """ kwargs['_return_http_data_only'] = True - return self.patch_namespaced_ingress_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + return self.read_namespaced_ingress_status_with_http_info(name, namespace, **kwargs) # noqa: E501 - def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_ingress # noqa: E501 + def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_ingress_status # noqa: E501 - partially update the specified Ingress # noqa: E501 + read status of the specified Ingress # 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_ingress_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.read_namespaced_ingress_status_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param name: name of the Ingress (required) :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str - :param body: (required) - :type body: object :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3341,12 +6547,7 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg all_params = [ 'name', 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' + 'pretty' ] all_params.extend( [ @@ -3364,22 +6565,18 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_ingress" % key + " to method read_namespaced_ingress_status" % 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_ingress`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_namespaced_ingress_status`") # 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_ingress`") # 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_ingress`") # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `read_namespaced_ingress_status`") # noqa: E501 collection_formats = {} @@ -3392,14 +6589,6 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg 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 = dict(local_var_params.get('_headers', {})) @@ -3407,29 +6596,20 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg local_var_files = {} body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], - 'PATCH', body_params)) # noqa: E501 - # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { 200: "V1Ingress", - 201: "V1Ingress", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}', 'PATCH', + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status', 'GET', path_params, query_params, header_params, @@ -3445,32 +6625,22 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def patch_namespaced_ingress_status(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_ingress_status # noqa: E501 + def read_namespaced_network_policy(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_network_policy # noqa: E501 - partially update status of the specified Ingress # noqa: E501 + read the specified NetworkPolicy # 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_ingress_status(name, namespace, body, async_req=True) + >>> thread = api.read_namespaced_network_policy(name, namespace, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the NetworkPolicy (required) :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str - :param body: (required) - :type body: object :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3484,37 +6654,27 @@ def patch_namespaced_ingress_status(self, name, namespace, body, **kwargs): # n :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1Ingress + :rtype: V1NetworkPolicy """ kwargs['_return_http_data_only'] = True - return self.patch_namespaced_ingress_status_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + return self.read_namespaced_network_policy_with_http_info(name, namespace, **kwargs) # noqa: E501 - def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_ingress_status # noqa: E501 + def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_network_policy # noqa: E501 - partially update status of the specified Ingress # noqa: E501 + read the specified NetworkPolicy # 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_ingress_status_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.read_namespaced_network_policy_with_http_info(name, namespace, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the NetworkPolicy (required) :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str - :param body: (required) - :type body: object :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3536,7 +6696,7 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -3544,12 +6704,7 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, all_params = [ 'name', 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' + 'pretty' ] all_params.extend( [ @@ -3567,22 +6722,18 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_ingress_status" % key + " to method read_namespaced_network_policy" % 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_ingress_status`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_namespaced_network_policy`") # 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_ingress_status`") # 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_ingress_status`") # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `read_namespaced_network_policy`") # noqa: E501 collection_formats = {} @@ -3595,14 +6746,6 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, 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 = dict(local_var_params.get('_headers', {})) @@ -3610,29 +6753,20 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, local_var_files = {} body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], - 'PATCH', body_params)) # noqa: E501 - # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1Ingress", - 201: "V1Ingress", + 200: "V1NetworkPolicy", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status', 'PATCH', + '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}', 'GET', path_params, query_params, header_params, @@ -3648,32 +6782,20 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def patch_namespaced_network_policy(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_network_policy # noqa: E501 + def read_service_cidr(self, name, **kwargs): # noqa: E501 + """read_service_cidr # noqa: E501 - partially update the specified NetworkPolicy # noqa: E501 + read the specified ServiceCIDR # 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_network_policy(name, namespace, body, async_req=True) + >>> thread = api.read_service_cidr(name, async_req=True) >>> result = thread.get() - :param name: name of the NetworkPolicy (required) + :param name: name of the ServiceCIDR (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param body: (required) - :type body: object :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -3687,37 +6809,25 @@ def patch_namespaced_network_policy(self, name, namespace, body, **kwargs): # n :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1NetworkPolicy + :rtype: V1ServiceCIDR """ kwargs['_return_http_data_only'] = True - return self.patch_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + return self.read_service_cidr_with_http_info(name, **kwargs) # noqa: E501 - def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """patch_namespaced_network_policy # noqa: E501 + def read_service_cidr_with_http_info(self, name, **kwargs): # noqa: E501 + """read_service_cidr # noqa: E501 - partially update the specified NetworkPolicy # noqa: E501 + read the specified ServiceCIDR # 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_network_policy_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.read_service_cidr_with_http_info(name, async_req=True) >>> result = thread.get() - :param name: name of the NetworkPolicy (required) + :param name: name of the ServiceCIDR (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str - :param body: (required) - :type body: object :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -3739,20 +6849,14 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'name', - 'namespace', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' + 'pretty' ] all_params.extend( [ @@ -3770,42 +6874,24 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_network_policy" % key + " to method read_service_cidr" % 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_network_policy`") # 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_network_policy`") # 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_network_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_service_cidr`") # 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 = dict(local_var_params.get('_headers', {})) @@ -3813,29 +6899,20 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, local_var_files = {} body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], - 'PATCH', body_params)) # noqa: E501 - # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1NetworkPolicy", - 201: "V1NetworkPolicy", + 200: "V1ServiceCIDR", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}', 'PATCH', + '/apis/networking.k8s.io/v1/servicecidrs/{name}', 'GET', path_params, query_params, header_params, @@ -3851,17 +6928,17 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def read_ingress_class(self, name, **kwargs): # noqa: E501 - """read_ingress_class # noqa: E501 + def read_service_cidr_status(self, name, **kwargs): # noqa: E501 + """read_service_cidr_status # noqa: E501 - read the specified IngressClass # noqa: E501 + read status of the specified ServiceCIDR # 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_ingress_class(name, async_req=True) + >>> thread = api.read_service_cidr_status(name, async_req=True) >>> result = thread.get() - :param name: name of the IngressClass (required) + :param name: name of the ServiceCIDR (required) :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str @@ -3878,22 +6955,22 @@ def read_ingress_class(self, name, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1IngressClass + :rtype: V1ServiceCIDR """ kwargs['_return_http_data_only'] = True - return self.read_ingress_class_with_http_info(name, **kwargs) # noqa: E501 + return self.read_service_cidr_status_with_http_info(name, **kwargs) # noqa: E501 - def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 - """read_ingress_class # noqa: E501 + def read_service_cidr_status_with_http_info(self, name, **kwargs): # noqa: E501 + """read_service_cidr_status # noqa: E501 - read the specified IngressClass # noqa: E501 + read status of the specified ServiceCIDR # 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_ingress_class_with_http_info(name, async_req=True) + >>> thread = api.read_service_cidr_status_with_http_info(name, async_req=True) >>> result = thread.get() - :param name: name of the IngressClass (required) + :param name: name of the ServiceCIDR (required) :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str @@ -3918,7 +6995,7 @@ def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -3943,14 +7020,14 @@ def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_ingress_class" % key + " to method read_service_cidr_status" % 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_ingress_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_service_cidr_status`") # noqa: E501 collection_formats = {} @@ -3976,12 +7053,12 @@ def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1IngressClass", + 200: "V1ServiceCIDR", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/ingressclasses/{name}', 'GET', + '/apis/networking.k8s.io/v1/servicecidrs/{name}/status', 'GET', path_params, query_params, header_params, @@ -3997,22 +7074,28 @@ def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def read_namespaced_ingress(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_ingress # noqa: E501 + def replace_ingress_class(self, name, body, **kwargs): # noqa: E501 + """replace_ingress_class # noqa: E501 - read the specified Ingress # noqa: E501 + replace the specified IngressClass # 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_ingress(name, namespace, async_req=True) + >>> thread = api.replace_ingress_class(name, body, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the IngressClass (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str + :param body: (required) + :type body: V1IngressClass :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4026,27 +7109,33 @@ def read_namespaced_ingress(self, name, namespace, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1Ingress + :rtype: V1IngressClass """ kwargs['_return_http_data_only'] = True - return self.read_namespaced_ingress_with_http_info(name, namespace, **kwargs) # noqa: E501 + return self.replace_ingress_class_with_http_info(name, body, **kwargs) # noqa: E501 - def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_ingress # noqa: E501 + def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_ingress_class # noqa: E501 - read the specified Ingress # noqa: E501 + replace the specified IngressClass # 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_ingress_with_http_info(name, namespace, async_req=True) + >>> thread = api.replace_ingress_class_with_http_info(name, body, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the IngressClass (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str + :param body: (required) + :type body: V1IngressClass :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4068,15 +7157,18 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'name', - 'namespace', - 'pretty' + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' ] all_params.extend( [ @@ -4094,30 +7186,34 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_namespaced_ingress" % key + " to method replace_ingress_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_namespaced_ingress`") # 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_ingress`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_ingress_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_ingress_class`") # 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 = dict(local_var_params.get('_headers', {})) @@ -4125,6 +7221,8 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # local_var_files = {} body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 @@ -4133,12 +7231,13 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1Ingress", + 200: "V1IngressClass", + 201: "V1IngressClass", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}', 'GET', + '/apis/networking.k8s.io/v1/ingressclasses/{name}', 'PUT', path_params, query_params, header_params, @@ -4154,22 +7253,28 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def read_namespaced_ingress_status(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_ingress_status # noqa: E501 + def replace_ip_address(self, name, body, **kwargs): # noqa: E501 + """replace_ip_address # noqa: E501 - read status of the specified Ingress # noqa: E501 + replace the specified IPAddress # 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_ingress_status(name, namespace, async_req=True) + >>> thread = api.replace_ip_address(name, body, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the IPAddress (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str + :param body: (required) + :type body: V1IPAddress :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4183,27 +7288,33 @@ def read_namespaced_ingress_status(self, name, namespace, **kwargs): # noqa: E5 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1Ingress + :rtype: V1IPAddress """ kwargs['_return_http_data_only'] = True - return self.read_namespaced_ingress_status_with_http_info(name, namespace, **kwargs) # noqa: E501 + return self.replace_ip_address_with_http_info(name, body, **kwargs) # noqa: E501 - def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_ingress_status # noqa: E501 + def replace_ip_address_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_ip_address # noqa: E501 - read status of the specified Ingress # noqa: E501 + replace the specified IPAddress # 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_ingress_status_with_http_info(name, namespace, async_req=True) + >>> thread = api.replace_ip_address_with_http_info(name, body, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the IPAddress (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str + :param body: (required) + :type body: V1IPAddress :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4225,15 +7336,18 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1IPAddress, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'name', - 'namespace', - 'pretty' + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' ] all_params.extend( [ @@ -4251,30 +7365,34 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_namespaced_ingress_status" % key + " to method replace_ip_address" % 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_ingress_status`") # 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_ingress_status`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_ip_address`") # 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_ip_address`") # 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 = dict(local_var_params.get('_headers', {})) @@ -4282,6 +7400,8 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg local_var_files = {} body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 @@ -4290,12 +7410,13 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1Ingress", + 200: "V1IPAddress", + 201: "V1IPAddress", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status', 'GET', + '/apis/networking.k8s.io/v1/ipaddresses/{name}', 'PUT', path_params, query_params, header_params, @@ -4311,22 +7432,30 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def read_namespaced_network_policy(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_network_policy # noqa: E501 + def replace_namespaced_ingress(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_ingress # noqa: E501 - read the specified NetworkPolicy # noqa: E501 + replace the specified Ingress # 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_network_policy(name, namespace, async_req=True) + >>> thread = api.replace_namespaced_ingress(name, namespace, body, async_req=True) >>> result = thread.get() - :param name: name of the NetworkPolicy (required) + :param name: name of the Ingress (required) :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str + :param body: (required) + :type body: V1Ingress :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4340,27 +7469,35 @@ def read_namespaced_network_policy(self, name, namespace, **kwargs): # noqa: E5 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1NetworkPolicy + :rtype: V1Ingress """ kwargs['_return_http_data_only'] = True - return self.read_namespaced_network_policy_with_http_info(name, namespace, **kwargs) # noqa: E501 + return self.replace_namespaced_ingress_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwargs): # noqa: E501 - """read_namespaced_network_policy # noqa: E501 + def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_ingress # noqa: E501 - read the specified NetworkPolicy # noqa: E501 + replace the specified Ingress # 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_network_policy_with_http_info(name, namespace, async_req=True) + >>> thread = api.replace_namespaced_ingress_with_http_info(name, namespace, body, async_req=True) >>> result = thread.get() - :param name: name of the NetworkPolicy (required) + :param name: name of the Ingress (required) :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str + :param body: (required) + :type body: V1Ingress :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4382,7 +7519,7 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -4390,7 +7527,11 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg all_params = [ 'name', 'namespace', - 'pretty' + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' ] all_params.extend( [ @@ -4408,18 +7549,22 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_namespaced_network_policy" % key + " to method replace_namespaced_ingress" % 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_network_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_namespaced_ingress`") # 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_network_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `replace_namespaced_ingress`") # 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_ingress`") # noqa: E501 collection_formats = {} @@ -4432,6 +7577,12 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg 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 = dict(local_var_params.get('_headers', {})) @@ -4439,6 +7590,8 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg local_var_files = {} body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 @@ -4447,12 +7600,13 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1NetworkPolicy", + 200: "V1Ingress", + 201: "V1Ingress", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}', 'GET', + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}', 'PUT', path_params, query_params, header_params, @@ -4468,20 +7622,22 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def replace_ingress_class(self, name, body, **kwargs): # noqa: E501 - """replace_ingress_class # noqa: E501 + def replace_namespaced_ingress_status(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_ingress_status # noqa: E501 - replace the specified IngressClass # noqa: E501 + replace status of the specified Ingress # 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_ingress_class(name, body, async_req=True) + >>> thread = api.replace_namespaced_ingress_status(name, namespace, body, async_req=True) >>> result = thread.get() - :param name: name of the IngressClass (required) + :param name: name of the Ingress (required) :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param body: (required) - :type body: V1IngressClass + :type body: V1Ingress :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -4503,25 +7659,27 @@ def replace_ingress_class(self, name, body, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1IngressClass + :rtype: V1Ingress """ kwargs['_return_http_data_only'] = True - return self.replace_ingress_class_with_http_info(name, body, **kwargs) # noqa: E501 + return self.replace_namespaced_ingress_status_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E501 - """replace_ingress_class # noqa: E501 + def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_ingress_status # noqa: E501 - replace the specified IngressClass # noqa: E501 + replace status of the specified Ingress # 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_ingress_class_with_http_info(name, body, async_req=True) + >>> thread = api.replace_namespaced_ingress_status_with_http_info(name, namespace, body, async_req=True) >>> result = thread.get() - :param name: name of the IngressClass (required) + :param name: name of the Ingress (required) :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param body: (required) - :type body: V1IngressClass + :type body: V1Ingress :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -4551,13 +7709,14 @@ def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1IngressClass, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'name', + 'namespace', 'body', 'pretty', 'dry_run', @@ -4580,24 +7739,30 @@ def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_ingress_class" % key + " to method replace_namespaced_ingress_status" % 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_ingress_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_namespaced_ingress_status`") # 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_ingress_status`") # 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_ingress_class`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_namespaced_ingress_status`") # 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 @@ -4625,13 +7790,13 @@ def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1IngressClass", - 201: "V1IngressClass", + 200: "V1Ingress", + 201: "V1Ingress", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/ingressclasses/{name}', 'PUT', + '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status', 'PUT', path_params, query_params, header_params, @@ -4647,22 +7812,22 @@ def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def replace_namespaced_ingress(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_ingress # noqa: E501 + def replace_namespaced_network_policy(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_network_policy # noqa: E501 - replace the specified Ingress # noqa: E501 + replace the specified NetworkPolicy # 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_ingress(name, namespace, body, async_req=True) + >>> thread = api.replace_namespaced_network_policy(name, namespace, body, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the NetworkPolicy (required) :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str :param body: (required) - :type body: V1Ingress + :type body: V1NetworkPolicy :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -4684,27 +7849,27 @@ def replace_namespaced_ingress(self, name, namespace, body, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1Ingress + :rtype: V1NetworkPolicy """ kwargs['_return_http_data_only'] = True - return self.replace_namespaced_ingress_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + return self.replace_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs) # noqa: E501 - def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_ingress # noqa: E501 + def replace_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_network_policy # noqa: E501 - replace the specified Ingress # noqa: E501 + replace the specified NetworkPolicy # 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_ingress_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.replace_namespaced_network_policy_with_http_info(name, namespace, body, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the NetworkPolicy (required) :type name: str :param namespace: object name and auth scope, such as for teams and projects (required) :type namespace: str :param body: (required) - :type body: V1Ingress + :type body: V1NetworkPolicy :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -4734,7 +7899,7 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -4764,22 +7929,22 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_namespaced_ingress" % key + " to method replace_namespaced_network_policy" % 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_ingress`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_namespaced_network_policy`") # 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_ingress`") # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `replace_namespaced_network_policy`") # 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_ingress`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_namespaced_network_policy`") # noqa: E501 collection_formats = {} @@ -4815,13 +7980,13 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1Ingress", - 201: "V1Ingress", + 200: "V1NetworkPolicy", + 201: "V1NetworkPolicy", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}', 'PUT', + '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}', 'PUT', path_params, query_params, header_params, @@ -4837,22 +8002,20 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def replace_namespaced_ingress_status(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_ingress_status # noqa: E501 + def replace_service_cidr(self, name, body, **kwargs): # noqa: E501 + """replace_service_cidr # noqa: E501 - replace status of the specified Ingress # noqa: E501 + replace the specified ServiceCIDR # 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_ingress_status(name, namespace, body, async_req=True) + >>> thread = api.replace_service_cidr(name, body, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the ServiceCIDR (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param body: (required) - :type body: V1Ingress + :type body: V1ServiceCIDR :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -4874,27 +8037,25 @@ def replace_namespaced_ingress_status(self, name, namespace, body, **kwargs): # :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1Ingress + :rtype: V1ServiceCIDR """ kwargs['_return_http_data_only'] = True - return self.replace_namespaced_ingress_status_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + return self.replace_service_cidr_with_http_info(name, body, **kwargs) # noqa: E501 - def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_ingress_status # noqa: E501 + def replace_service_cidr_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_service_cidr # noqa: E501 - replace status of the specified Ingress # noqa: E501 + replace the specified ServiceCIDR # 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_ingress_status_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.replace_service_cidr_with_http_info(name, body, async_req=True) >>> result = thread.get() - :param name: name of the Ingress (required) + :param name: name of the ServiceCIDR (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param body: (required) - :type body: V1Ingress + :type body: V1ServiceCIDR :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -4924,14 +8085,13 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1Ingress, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'name', - 'namespace', 'body', 'pretty', 'dry_run', @@ -4954,30 +8114,24 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_namespaced_ingress_status" % key + " to method replace_service_cidr" % 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_ingress_status`") # 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_ingress_status`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_service_cidr`") # 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_ingress_status`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_service_cidr`") # 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 @@ -5005,13 +8159,13 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1Ingress", - 201: "V1Ingress", + 200: "V1ServiceCIDR", + 201: "V1ServiceCIDR", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status', 'PUT', + '/apis/networking.k8s.io/v1/servicecidrs/{name}', 'PUT', path_params, query_params, header_params, @@ -5027,22 +8181,20 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def replace_namespaced_network_policy(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_network_policy # noqa: E501 + def replace_service_cidr_status(self, name, body, **kwargs): # noqa: E501 + """replace_service_cidr_status # noqa: E501 - replace the specified NetworkPolicy # noqa: E501 + replace status of the specified ServiceCIDR # 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_network_policy(name, namespace, body, async_req=True) + >>> thread = api.replace_service_cidr_status(name, body, async_req=True) >>> result = thread.get() - :param name: name of the NetworkPolicy (required) + :param name: name of the ServiceCIDR (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param body: (required) - :type body: V1NetworkPolicy + :type body: V1ServiceCIDR :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -5064,27 +8216,25 @@ def replace_namespaced_network_policy(self, name, namespace, body, **kwargs): # :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1NetworkPolicy + :rtype: V1ServiceCIDR """ kwargs['_return_http_data_only'] = True - return self.replace_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + return self.replace_service_cidr_status_with_http_info(name, body, **kwargs) # noqa: E501 - def replace_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 - """replace_namespaced_network_policy # noqa: E501 + def replace_service_cidr_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_service_cidr_status # noqa: E501 - replace the specified NetworkPolicy # noqa: E501 + replace status of the specified ServiceCIDR # 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_network_policy_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.replace_service_cidr_status_with_http_info(name, body, async_req=True) >>> result = thread.get() - :param name: name of the NetworkPolicy (required) + :param name: name of the ServiceCIDR (required) :type name: str - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param body: (required) - :type body: V1NetworkPolicy + :type body: V1ServiceCIDR :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -5114,14 +8264,13 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1NetworkPolicy, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1ServiceCIDR, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'name', - 'namespace', 'body', 'pretty', 'dry_run', @@ -5144,30 +8293,24 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method replace_namespaced_network_policy" % key + " to method replace_service_cidr_status" % 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_network_policy`") # 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_network_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_service_cidr_status`") # 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_network_policy`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_service_cidr_status`") # 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 @@ -5195,13 +8338,13 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1NetworkPolicy", - 201: "V1NetworkPolicy", + 200: "V1ServiceCIDR", + 201: "V1ServiceCIDR", 401: None, } return self.api_client.call_api( - '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}', 'PUT', + '/apis/networking.k8s.io/v1/servicecidrs/{name}/status', 'PUT', path_params, query_params, header_params, diff --git a/kubernetes_asyncio/client/api/networking_v1beta1_api.py b/kubernetes_asyncio/client/api/networking_v1beta1_api.py index 0aed356c..64b5c609 100644 --- a/kubernetes_asyncio/client/api/networking_v1beta1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/node_api.py b/kubernetes_asyncio/client/api/node_api.py index f2ebd6fc..164b604a 100644 --- a/kubernetes_asyncio/client/api/node_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/node_v1_api.py b/kubernetes_asyncio/client/api/node_v1_api.py index a52563d3..f4cb7a51 100644 --- a/kubernetes_asyncio/client/api/node_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/openid_api.py b/kubernetes_asyncio/client/api/openid_api.py index 0c6e7534..134211d2 100644 --- a/kubernetes_asyncio/client/api/openid_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/policy_api.py b/kubernetes_asyncio/client/api/policy_api.py index 81f14513..a53cbd4d 100644 --- a/kubernetes_asyncio/client/api/policy_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/policy_v1_api.py b/kubernetes_asyncio/client/api/policy_v1_api.py index 32df2cbc..ed000be6 100644 --- a/kubernetes_asyncio/client/api/policy_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/rbac_authorization_api.py b/kubernetes_asyncio/client/api/rbac_authorization_api.py index 1d4a7b61..5a06db11 100644 --- a/kubernetes_asyncio/client/api/rbac_authorization_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/rbac_authorization_v1_api.py b/kubernetes_asyncio/client/api/rbac_authorization_v1_api.py index 9127e0c0..60304fcb 100644 --- a/kubernetes_asyncio/client/api/rbac_authorization_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/resource_api.py b/kubernetes_asyncio/client/api/resource_api.py index 9b82075f..e069a9fb 100644 --- a/kubernetes_asyncio/client/api/resource_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/resource_v1alpha3_api.py b/kubernetes_asyncio/client/api/resource_v1alpha3_api.py index f618ddaf..59a9d0d9 100644 --- a/kubernetes_asyncio/client/api/resource_v1alpha3_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -205,6 +205,175 @@ def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def create_device_taint_rule(self, body, **kwargs): # noqa: E501 + """create_device_taint_rule # noqa: E501 + + create a DeviceTaintRule # 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_taint_rule(body, async_req=True) + >>> result = thread.get() + + :param body: (required) + :type body: V1alpha3DeviceTaintRule + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1alpha3DeviceTaintRule + """ + kwargs['_return_http_data_only'] = True + return self.create_device_taint_rule_with_http_info(body, **kwargs) # noqa: E501 + + def create_device_taint_rule_with_http_info(self, body, **kwargs): # noqa: E501 + """create_device_taint_rule # noqa: E501 + + create a DeviceTaintRule # 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_taint_rule_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param body: (required) + :type body: V1alpha3DeviceTaintRule + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_device_taint_rule" % 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_taint_rule`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1alpha3DeviceTaintRule", + 201: "V1alpha3DeviceTaintRule", + 202: "V1alpha3DeviceTaintRule", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/devicetaintrules', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def create_namespaced_resource_claim(self, namespace, body, **kwargs): # noqa: E501 """create_namespaced_resource_claim # noqa: E501 @@ -967,18 +1136,16 @@ def delete_collection_device_class_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_collection_namespaced_resource_claim(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_resource_claim # noqa: E501 + def delete_collection_device_taint_rule(self, **kwargs): # noqa: E501 + """delete_collection_device_taint_rule # noqa: E501 - delete collection of ResourceClaim # noqa: E501 + delete collection of DeviceTaintRule # 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(namespace, async_req=True) + >>> thread = api.delete_collection_device_taint_rule(async_req=True) >>> result = thread.get() - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1025,20 +1192,18 @@ def delete_collection_namespaced_resource_claim(self, namespace, **kwargs): # n :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.delete_collection_namespaced_resource_claim_with_http_info(namespace, **kwargs) # noqa: E501 + return self.delete_collection_device_taint_rule_with_http_info(**kwargs) # noqa: E501 - def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_resource_claim # noqa: E501 + def delete_collection_device_taint_rule_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_device_taint_rule # noqa: E501 - delete collection of ResourceClaim # noqa: E501 + delete collection of DeviceTaintRule # 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_with_http_info(namespace, async_req=True) + >>> thread = api.delete_collection_device_taint_rule_with_http_info(async_req=True) >>> result = thread.get() - :param namespace: object name and auth scope, such as for teams and projects (required) - :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1096,7 +1261,6 @@ def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, local_var_params = locals() all_params = [ - 'namespace', 'pretty', '_continue', 'dry_run', @@ -1129,20 +1293,14 @@ def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_resource_claim" % key + " to method delete_collection_device_taint_rule" % 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`") # 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 @@ -1195,7 +1353,7 @@ def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules', 'DELETE', path_params, query_params, header_params, @@ -1211,14 +1369,14 @@ def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_collection_namespaced_resource_claim_template(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_resource_claim_template # noqa: E501 + def delete_collection_namespaced_resource_claim(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_resource_claim # noqa: E501 - delete collection of ResourceClaimTemplate # noqa: E501 + delete collection of ResourceClaim # 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_template(namespace, async_req=True) + >>> thread = api.delete_collection_namespaced_resource_claim(namespace, async_req=True) >>> result = thread.get() :param namespace: object name and auth scope, such as for teams and projects (required) @@ -1269,16 +1427,16 @@ def delete_collection_namespaced_resource_claim_template(self, namespace, **kwar :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.delete_collection_namespaced_resource_claim_template_with_http_info(namespace, **kwargs) # noqa: E501 + return self.delete_collection_namespaced_resource_claim_with_http_info(namespace, **kwargs) # noqa: E501 - def delete_collection_namespaced_resource_claim_template_with_http_info(self, namespace, **kwargs): # noqa: E501 - """delete_collection_namespaced_resource_claim_template # noqa: E501 + def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_resource_claim # noqa: E501 - delete collection of ResourceClaimTemplate # noqa: E501 + delete collection of ResourceClaim # 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_template_with_http_info(namespace, async_req=True) + >>> thread = api.delete_collection_namespaced_resource_claim_with_http_info(namespace, async_req=True) >>> result = thread.get() :param namespace: object name and auth scope, such as for teams and projects (required) @@ -1373,14 +1531,14 @@ def delete_collection_namespaced_resource_claim_template_with_http_info(self, na if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_resource_claim_template" % key + " to method delete_collection_namespaced_resource_claim" % 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_template`") # noqa: E501 + raise ApiValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_resource_claim`") # noqa: E501 collection_formats = {} @@ -1439,7 +1597,7 @@ def delete_collection_namespaced_resource_claim_template_with_http_info(self, na } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims', 'DELETE', path_params, query_params, header_params, @@ -1455,16 +1613,18 @@ def delete_collection_namespaced_resource_claim_template_with_http_info(self, na collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_collection_resource_slice(self, **kwargs): # noqa: E501 - """delete_collection_resource_slice # noqa: E501 + def delete_collection_namespaced_resource_claim_template(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_resource_claim_template # noqa: E501 - delete collection of ResourceSlice # noqa: E501 + delete collection of ResourceClaimTemplate # 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_slice(async_req=True) + >>> thread = api.delete_collection_namespaced_resource_claim_template(namespace, async_req=True) >>> result = thread.get() + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1511,18 +1671,20 @@ def delete_collection_resource_slice(self, **kwargs): # noqa: E501 :rtype: V1Status """ kwargs['_return_http_data_only'] = True - return self.delete_collection_resource_slice_with_http_info(**kwargs) # noqa: E501 + return self.delete_collection_namespaced_resource_claim_template_with_http_info(namespace, **kwargs) # noqa: E501 - def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E501 - """delete_collection_resource_slice # noqa: E501 + def delete_collection_namespaced_resource_claim_template_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_resource_claim_template # noqa: E501 - delete collection of ResourceSlice # noqa: E501 + delete collection of ResourceClaimTemplate # 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_slice_with_http_info(async_req=True) + >>> thread = api.delete_collection_namespaced_resource_claim_template_with_http_info(namespace, async_req=True) >>> result = thread.get() + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1580,6 +1742,7 @@ def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E5 local_var_params = locals() all_params = [ + 'namespace', 'pretty', '_continue', 'dry_run', @@ -1612,14 +1775,20 @@ def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E5 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_resource_slice" % key + " to method delete_collection_namespaced_resource_claim_template" % 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_template`") # 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 @@ -1672,7 +1841,7 @@ def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E5 } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/resourceslices', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates', 'DELETE', path_params, query_params, header_params, @@ -1688,30 +1857,44 @@ def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E5 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def delete_device_class(self, name, **kwargs): # noqa: E501 - """delete_device_class # noqa: E501 + def delete_collection_resource_slice(self, **kwargs): # noqa: E501 + """delete_collection_resource_slice # noqa: E501 - delete a DeviceClass # noqa: E501 + delete collection of ResourceSlice # 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) + >>> thread = api.delete_collection_resource_slice(async_req=True) >>> result = thread.get() - :param name: name of the DeviceClass (required) - :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :type grace_period_seconds: int :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :type orphan_dependents: bool :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int :param body: :type body: V1DeleteOptions :param async_req: Whether to execute the request asynchronously. @@ -1727,22 +1910,430 @@ def delete_device_class(self, name, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1alpha3DeviceClass + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_resource_slice_with_http_info(**kwargs) # noqa: E501 + + def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_resource_slice # noqa: E501 + + delete collection of ResourceSlice # 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_slice_with_http_info(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', + 'orphan_dependents', + 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_resource_slice" % 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/resourceslices', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_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 name: name of the DeviceClass (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1alpha3DeviceClass + """ + 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 name: name of the DeviceClass (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1alpha3DeviceClass", + 202: "V1alpha3DeviceClass", + 401: None, + } + + 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_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_device_taint_rule(self, name, **kwargs): # noqa: E501 + """delete_device_taint_rule # noqa: E501 + + delete a DeviceTaintRule # 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_taint_rule(name, async_req=True) + >>> result = thread.get() + + :param name: name of the DeviceTaintRule (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1alpha3DeviceTaintRule """ kwargs['_return_http_data_only'] = True - return self.delete_device_class_with_http_info(name, **kwargs) # noqa: E501 + return self.delete_device_taint_rule_with_http_info(name, **kwargs) # noqa: E501 - def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_device_class # noqa: E501 + def delete_device_taint_rule_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_device_taint_rule # noqa: E501 - delete a DeviceClass # noqa: E501 + delete a DeviceTaintRule # 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) + >>> thread = api.delete_device_taint_rule_with_http_info(name, async_req=True) >>> result = thread.get() - :param name: name of the DeviceClass (required) + :param name: name of the DeviceTaintRule (required) :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str @@ -1779,7 +2370,7 @@ def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -1810,14 +2401,14 @@ def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_device_class" % key + " to method delete_device_taint_rule" % 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 + raise ApiValueError("Missing the required parameter `name` when calling `delete_device_taint_rule`") # noqa: E501 collection_formats = {} @@ -1855,13 +2446,13 @@ def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1alpha3DeviceClass", - 202: "V1alpha3DeviceClass", + 200: "V1alpha3DeviceTaintRule", + 202: "V1alpha3DeviceTaintRule", 401: None, } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'DELETE', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}', 'DELETE', path_params, query_params, header_params, @@ -2525,12 +3116,195 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1APIResourceList", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_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 pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1alpha3DeviceClassList + """ + 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 pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1alpha3DeviceClassList, status_code(int), headers(HTTPHeaderDict)) """ 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( [ @@ -2548,7 +3322,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method get_api_resources" % key + " to method list_device_class" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -2558,6 +3332,28 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 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 = dict(local_var_params.get('_headers', {})) @@ -2567,18 +3363,18 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1APIResourceList", + 200: "V1alpha3DeviceClassList", 401: None, } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/', 'GET', + '/apis/resource.k8s.io/v1alpha3/deviceclasses', 'GET', path_params, query_params, header_params, @@ -2594,14 +3390,14 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def list_device_class(self, **kwargs): # noqa: E501 - """list_device_class # noqa: E501 + def list_device_taint_rule(self, **kwargs): # noqa: E501 + """list_device_taint_rule # noqa: E501 - list or watch objects of kind DeviceClass # noqa: E501 + list or watch objects of kind DeviceTaintRule # 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) + >>> thread = api.list_device_taint_rule(async_req=True) >>> result = thread.get() :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -2639,19 +3435,19 @@ def list_device_class(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1alpha3DeviceClassList + :rtype: V1alpha3DeviceTaintRuleList """ kwargs['_return_http_data_only'] = True - return self.list_device_class_with_http_info(**kwargs) # noqa: E501 + return self.list_device_taint_rule_with_http_info(**kwargs) # noqa: E501 - def list_device_class_with_http_info(self, **kwargs): # noqa: E501 - """list_device_class # noqa: E501 + def list_device_taint_rule_with_http_info(self, **kwargs): # noqa: E501 + """list_device_taint_rule # noqa: E501 - list or watch objects of kind DeviceClass # noqa: E501 + list or watch objects of kind DeviceTaintRule # 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) + >>> thread = api.list_device_taint_rule_with_http_info(async_req=True) >>> result = thread.get() :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -2697,7 +3493,7 @@ def list_device_class_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1alpha3DeviceClassList, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1alpha3DeviceTaintRuleList, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -2731,7 +3527,7 @@ def list_device_class_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method list_device_class" % key + " to method list_device_taint_rule" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -2778,12 +3574,12 @@ def list_device_class_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1alpha3DeviceClassList", + 200: "V1alpha3DeviceTaintRuleList", 401: None, } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses', 'GET', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules', 'GET', path_params, query_params, header_params, @@ -3790,26 +4586,209 @@ def list_resource_slice_with_http_info(self, **kwargs): # 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 + 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1alpha3ResourceSliceList", + 401: None, + } + + return self.api_client.call_api( + '/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_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_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 name: name of the DeviceClass (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1alpha3DeviceClass + """ + 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 name: name of the DeviceClass (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_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 = dict(local_var_params.get('_headers', {})) @@ -3817,20 +4796,29 @@ def list_resource_slice_with_http_info(self, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1alpha3ResourceSliceList", + 200: "V1alpha3DeviceClass", + 201: "V1alpha3DeviceClass", 401: None, } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/resourceslices', 'GET', + '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'PATCH', path_params, query_params, header_params, @@ -3846,17 +4834,17 @@ def list_resource_slice_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def patch_device_class(self, name, body, **kwargs): # noqa: E501 - """patch_device_class # noqa: E501 + def patch_device_taint_rule(self, name, body, **kwargs): # noqa: E501 + """patch_device_taint_rule # noqa: E501 - partially update the specified DeviceClass # noqa: E501 + partially update the specified DeviceTaintRule # 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) + >>> thread = api.patch_device_taint_rule(name, body, async_req=True) >>> result = thread.get() - :param name: name of the DeviceClass (required) + :param name: name of the DeviceTaintRule (required) :type name: str :param body: (required) :type body: object @@ -3883,22 +4871,22 @@ def patch_device_class(self, name, body, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1alpha3DeviceClass + :rtype: V1alpha3DeviceTaintRule """ kwargs['_return_http_data_only'] = True - return self.patch_device_class_with_http_info(name, body, **kwargs) # noqa: E501 + return self.patch_device_taint_rule_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 + def patch_device_taint_rule_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_device_taint_rule # noqa: E501 - partially update the specified DeviceClass # noqa: E501 + partially update the specified DeviceTaintRule # 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) + >>> thread = api.patch_device_taint_rule_with_http_info(name, body, async_req=True) >>> result = thread.get() - :param name: name of the DeviceClass (required) + :param name: name of the DeviceTaintRule (required) :type name: str :param body: (required) :type body: object @@ -3933,7 +4921,7 @@ def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -3963,18 +4951,18 @@ def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_device_class" % key + " to method patch_device_taint_rule" % 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 + raise ApiValueError("Missing the required parameter `name` when calling `patch_device_taint_rule`") # 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 + raise ApiValueError("Missing the required parameter `body` when calling `patch_device_taint_rule`") # noqa: E501 collection_formats = {} @@ -4016,13 +5004,13 @@ def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1alpha3DeviceClass", - 201: "V1alpha3DeviceClass", + 200: "V1alpha3DeviceTaintRule", + 201: "V1alpha3DeviceTaintRule", 401: None, } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'PATCH', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}', 'PATCH', path_params, query_params, header_params, @@ -4650,27 +5638,209 @@ def patch_namespaced_resource_claim_template_with_http_info(self, name, namespac def patch_resource_slice(self, name, body, **kwargs): # noqa: E501 """patch_resource_slice # noqa: E501 - partially update the specified ResourceSlice # noqa: E501 + partially update the specified ResourceSlice # 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_slice(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1alpha3ResourceSlice + """ + kwargs['_return_http_data_only'] = True + return self.patch_resource_slice_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_resource_slice # noqa: E501 + + partially update the specified ResourceSlice # 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_slice_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_resource_slice" % 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_slice`") # 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_slice`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1alpha3ResourceSlice", + 201: "V1alpha3ResourceSlice", + 401: None, + } + + return self.api_client.call_api( + '/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_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def read_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.patch_resource_slice(name, body, async_req=True) + >>> thread = api.read_device_class(name, async_req=True) >>> result = thread.get() - :param name: name of the ResourceSlice (required) + :param name: name of the DeviceClass (required) :type name: str - :param body: (required) - :type body: object :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -4684,35 +5854,25 @@ def patch_resource_slice(self, name, body, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1alpha3ResourceSlice + :rtype: V1alpha3DeviceClass """ kwargs['_return_http_data_only'] = True - return self.patch_resource_slice_with_http_info(name, body, **kwargs) # noqa: E501 + return self.read_device_class_with_http_info(name, **kwargs) # noqa: E501 - def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E501 - """patch_resource_slice # noqa: E501 + def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 + """read_device_class # noqa: E501 - partially update the specified ResourceSlice # 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.patch_resource_slice_with_http_info(name, body, async_req=True) + >>> thread = api.read_device_class_with_http_info(name, async_req=True) >>> result = thread.get() - :param name: name of the ResourceSlice (required) + :param name: name of the DeviceClass (required) :type name: str - :param body: (required) - :type body: object :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str - :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :type dry_run: str - :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - :type field_manager: str - :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - :type field_validation: str - :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - :type force: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -4734,19 +5894,14 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1alpha3ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'name', - 'body', - 'pretty', - 'dry_run', - 'field_manager', - 'field_validation', - 'force' + 'pretty' ] all_params.extend( [ @@ -4764,18 +5919,14 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method patch_resource_slice" % key + " 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 `patch_resource_slice`") # 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_slice`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_device_class`") # noqa: E501 collection_formats = {} @@ -4786,14 +5937,6 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 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 = dict(local_var_params.get('_headers', {})) @@ -4801,29 +5944,20 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 local_var_files = {} body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], - 'PATCH', body_params)) # noqa: E501 - # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1alpha3ResourceSlice", - 201: "V1alpha3ResourceSlice", + 200: "V1alpha3DeviceClass", 401: None, } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}', 'PATCH', + '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'GET', path_params, query_params, header_params, @@ -4839,17 +5973,17 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def read_device_class(self, name, **kwargs): # noqa: E501 - """read_device_class # noqa: E501 + def read_device_taint_rule(self, name, **kwargs): # noqa: E501 + """read_device_taint_rule # noqa: E501 - read the specified DeviceClass # noqa: E501 + read the specified DeviceTaintRule # 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) + >>> thread = api.read_device_taint_rule(name, async_req=True) >>> result = thread.get() - :param name: name of the DeviceClass (required) + :param name: name of the DeviceTaintRule (required) :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str @@ -4866,22 +6000,22 @@ def read_device_class(self, name, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: V1alpha3DeviceClass + :rtype: V1alpha3DeviceTaintRule """ kwargs['_return_http_data_only'] = True - return self.read_device_class_with_http_info(name, **kwargs) # noqa: E501 + return self.read_device_taint_rule_with_http_info(name, **kwargs) # noqa: E501 - def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 - """read_device_class # noqa: E501 + def read_device_taint_rule_with_http_info(self, name, **kwargs): # noqa: E501 + """read_device_taint_rule # noqa: E501 - read the specified DeviceClass # noqa: E501 + read the specified DeviceTaintRule # 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) + >>> thread = api.read_device_taint_rule_with_http_info(name, async_req=True) >>> result = thread.get() - :param name: name of the DeviceClass (required) + :param name: name of the DeviceTaintRule (required) :type name: str :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). :type pretty: str @@ -4906,7 +6040,7 @@ def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(V1alpha3DeviceClass, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -4931,14 +6065,14 @@ def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method read_device_class" % key + " to method read_device_taint_rule" % 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 + raise ApiValueError("Missing the required parameter `name` when calling `read_device_taint_rule`") # noqa: E501 collection_formats = {} @@ -4964,12 +6098,12 @@ def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 response_types_map = { - 200: "V1alpha3DeviceClass", + 200: "V1alpha3DeviceTaintRule", 401: None, } return self.api_client.call_api( - '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}', 'GET', + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}', 'GET', path_params, query_params, header_params, @@ -5781,6 +6915,185 @@ def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E5 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) + def replace_device_taint_rule(self, name, body, **kwargs): # noqa: E501 + """replace_device_taint_rule # noqa: E501 + + replace the specified DeviceTaintRule # 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_taint_rule(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the DeviceTaintRule (required) + :type name: str + :param body: (required) + :type body: V1alpha3DeviceTaintRule + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1alpha3DeviceTaintRule + """ + kwargs['_return_http_data_only'] = True + return self.replace_device_taint_rule_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_device_taint_rule_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_device_taint_rule # noqa: E501 + + replace the specified DeviceTaintRule # 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_taint_rule_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the DeviceTaintRule (required) + :type name: str + :param body: (required) + :type body: V1alpha3DeviceTaintRule + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1alpha3DeviceTaintRule, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_device_taint_rule" % 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_taint_rule`") # 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_taint_rule`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1alpha3DeviceTaintRule", + 201: "V1alpha3DeviceTaintRule", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + def replace_namespaced_resource_claim(self, name, namespace, body, **kwargs): # noqa: E501 """replace_namespaced_resource_claim # noqa: E501 diff --git a/kubernetes_asyncio/client/api/resource_v1beta1_api.py b/kubernetes_asyncio/client/api/resource_v1beta1_api.py index ed6b2cb6..baf0ff98 100644 --- a/kubernetes_asyncio/client/api/resource_v1beta1_api.py +++ b/kubernetes_asyncio/client/api/resource_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/resource_v1beta2_api.py b/kubernetes_asyncio/client/api/resource_v1beta2_api.py new file mode 100644 index 00000000..377a1947 --- /dev/null +++ b/kubernetes_asyncio/client/api/resource_v1beta2_api.py @@ -0,0 +1,6531 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from kubernetes_asyncio.client.api_client import ApiClient +from kubernetes_asyncio.client.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ResourceV1beta2Api(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_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 body: (required) + :type body: V1beta2DeviceClass + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2DeviceClass + """ + 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 body: (required) + :type body: V1beta2DeviceClass + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2DeviceClass", + 201: "V1beta2DeviceClass", + 202: "V1beta2DeviceClass", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/deviceclasses', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def create_namespaced_resource_claim(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_resource_claim # noqa: E501 + + create a ResourceClaim # 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(namespace, body, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaim + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaim + """ + kwargs['_return_http_data_only'] = True + return self.create_namespaced_resource_claim_with_http_info(namespace, body, **kwargs) # noqa: E501 + + def create_namespaced_resource_claim_with_http_info(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_resource_claim # noqa: E501 + + create a ResourceClaim # 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_with_http_info(namespace, body, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaim + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_resource_claim" % 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`") # 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`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaim", + 201: "V1beta2ResourceClaim", + 202: "V1beta2ResourceClaim", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def create_namespaced_resource_claim_template(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_resource_claim_template # noqa: E501 + + create a ResourceClaimTemplate # 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_template(namespace, body, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaimTemplate + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaimTemplate + """ + kwargs['_return_http_data_only'] = True + return self.create_namespaced_resource_claim_template_with_http_info(namespace, body, **kwargs) # noqa: E501 + + def create_namespaced_resource_claim_template_with_http_info(self, namespace, body, **kwargs): # noqa: E501 + """create_namespaced_resource_claim_template # noqa: E501 + + create a ResourceClaimTemplate # 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_template_with_http_info(namespace, body, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaimTemplate + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_resource_claim_template" % 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_template`") # 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_template`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaimTemplate", + 201: "V1beta2ResourceClaimTemplate", + 202: "V1beta2ResourceClaimTemplate", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def create_resource_slice(self, body, **kwargs): # noqa: E501 + """create_resource_slice # noqa: E501 + + create a ResourceSlice # 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_slice(body, async_req=True) + >>> result = thread.get() + + :param body: (required) + :type body: V1beta2ResourceSlice + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceSlice + """ + kwargs['_return_http_data_only'] = True + return self.create_resource_slice_with_http_info(body, **kwargs) # noqa: E501 + + def create_resource_slice_with_http_info(self, body, **kwargs): # noqa: E501 + """create_resource_slice # noqa: E501 + + create a ResourceSlice # 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_slice_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param body: (required) + :type body: V1beta2ResourceSlice + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_resource_slice" % 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_slice`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceSlice", + 201: "V1beta2ResourceSlice", + 202: "V1beta2ResourceSlice", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/resourceslices', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_collection_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 pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_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 pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', + 'orphan_dependents', + 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/deviceclasses', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_collection_namespaced_resource_claim(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_resource_claim # noqa: E501 + + delete collection of ResourceClaim # 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(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_resource_claim_with_http_info(namespace, **kwargs) # noqa: E501 + + def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_resource_claim # noqa: E501 + + delete collection of ResourceClaim # 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_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', + 'orphan_dependents', + 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_namespaced_resource_claim" % 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`") # 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_collection_namespaced_resource_claim_template(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_resource_claim_template # noqa: E501 + + delete collection of ResourceClaimTemplate # 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_template(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_namespaced_resource_claim_template_with_http_info(namespace, **kwargs) # noqa: E501 + + def delete_collection_namespaced_resource_claim_template_with_http_info(self, namespace, **kwargs): # noqa: E501 + """delete_collection_namespaced_resource_claim_template # noqa: E501 + + delete collection of ResourceClaimTemplate # 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_template_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', + 'orphan_dependents', + 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_namespaced_resource_claim_template" % 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_template`") # 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_collection_resource_slice(self, **kwargs): # noqa: E501 + """delete_collection_resource_slice # noqa: E501 + + delete collection of ResourceSlice # 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_slice(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1Status + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_resource_slice_with_http_info(**kwargs) # noqa: E501 + + def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_resource_slice # noqa: E501 + + delete collection of ResourceSlice # 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_slice_with_http_info(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'label_selector', + 'limit', + 'orphan_dependents', + 'propagation_policy', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_resource_slice" % 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1Status", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/resourceslices', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_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 name: name of the DeviceClass (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2DeviceClass + """ + 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 name: name of the DeviceClass (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2DeviceClass", + 202: "V1beta2DeviceClass", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/deviceclasses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_namespaced_resource_claim(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_resource_claim # noqa: E501 + + delete a ResourceClaim # 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(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaim + """ + kwargs['_return_http_data_only'] = True + return self.delete_namespaced_resource_claim_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def delete_namespaced_resource_claim_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_resource_claim # noqa: E501 + + delete a ResourceClaim # 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_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_namespaced_resource_claim" % 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`") # 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`") # 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaim", + 202: "V1beta2ResourceClaim", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_namespaced_resource_claim_template(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_resource_claim_template # noqa: E501 + + delete a ResourceClaimTemplate # 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_template(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaimTemplate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaimTemplate + """ + kwargs['_return_http_data_only'] = True + return self.delete_namespaced_resource_claim_template_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def delete_namespaced_resource_claim_template_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """delete_namespaced_resource_claim_template # noqa: E501 + + delete a ResourceClaimTemplate # 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_template_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaimTemplate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_namespaced_resource_claim_template" % 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_template`") # 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_template`") # 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaimTemplate", + 202: "V1beta2ResourceClaimTemplate", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def delete_resource_slice(self, name, **kwargs): # noqa: E501 + """delete_resource_slice # noqa: E501 + + delete a ResourceSlice # 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_slice(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceSlice + """ + kwargs['_return_http_data_only'] = True + return self.delete_resource_slice_with_http_info(name, **kwargs) # noqa: E501 + + def delete_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_resource_slice # noqa: E501 + + delete a ResourceSlice # 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_slice_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :type grace_period_seconds: int + :param ignore_store_read_error_with_cluster_breaking_potential: if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + :type ignore_store_read_error_with_cluster_breaking_potential: bool + :param orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :type orphan_dependents: bool + :param propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :type propagation_policy: str + :param body: + :type body: V1DeleteOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'ignore_store_read_error_with_cluster_breaking_potential', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_resource_slice" % 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_slice`") # 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 'ignore_store_read_error_with_cluster_breaking_potential' in local_var_params and local_var_params['ignore_store_read_error_with_cluster_breaking_potential'] is not None: # noqa: E501 + query_params.append(('ignoreStoreReadErrorWithClusterBreakingPotential', local_var_params['ignore_store_read_error_with_cluster_breaking_potential'])) # noqa: E501 + if '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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceSlice", + 202: "V1beta2ResourceSlice", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/resourceslices/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1APIResourceList + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1APIResourceList", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_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 pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2DeviceClassList + """ + 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 pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2DeviceClassList, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2DeviceClassList", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/deviceclasses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_namespaced_resource_claim(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_resource_claim # noqa: E501 + + list or watch objects of kind ResourceClaim # 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(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaimList + """ + kwargs['_return_http_data_only'] = True + return self.list_namespaced_resource_claim_with_http_info(namespace, **kwargs) # noqa: E501 + + def list_namespaced_resource_claim_with_http_info(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_resource_claim # noqa: E501 + + list or watch objects of kind ResourceClaim # 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_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_resource_claim" % 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`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaimList", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_namespaced_resource_claim_template(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_resource_claim_template # noqa: E501 + + list or watch objects of kind ResourceClaimTemplate # 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_template(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaimTemplateList + """ + kwargs['_return_http_data_only'] = True + return self.list_namespaced_resource_claim_template_with_http_info(namespace, **kwargs) # noqa: E501 + + def list_namespaced_resource_claim_template_with_http_info(self, namespace, **kwargs): # noqa: E501 + """list_namespaced_resource_claim_template # noqa: E501 + + list or watch objects of kind ResourceClaimTemplate # 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_template_with_http_info(namespace, async_req=True) + >>> result = thread.get() + + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'namespace', + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_resource_claim_template" % 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_template`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaimTemplateList", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_resource_claim_for_all_namespaces(self, **kwargs): # noqa: E501 + """list_resource_claim_for_all_namespaces # noqa: E501 + + list or watch objects of kind ResourceClaim # 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_for_all_namespaces(async_req=True) + >>> result = thread.get() + + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaimList + """ + kwargs['_return_http_data_only'] = True + return self.list_resource_claim_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + + def list_resource_claim_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 + """list_resource_claim_for_all_namespaces # noqa: E501 + + list or watch objects of kind ResourceClaim # 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_for_all_namespaces_with_http_info(async_req=True) + >>> result = thread.get() + + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaimList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_resource_claim_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaimList", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/resourceclaims', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_resource_claim_template_for_all_namespaces(self, **kwargs): # noqa: E501 + """list_resource_claim_template_for_all_namespaces # noqa: E501 + + list or watch objects of kind ResourceClaimTemplate # 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_template_for_all_namespaces(async_req=True) + >>> result = thread.get() + + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaimTemplateList + """ + kwargs['_return_http_data_only'] = True + return self.list_resource_claim_template_for_all_namespaces_with_http_info(**kwargs) # noqa: E501 + + def list_resource_claim_template_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 + """list_resource_claim_template_for_all_namespaces # noqa: E501 + + list or watch objects of kind ResourceClaimTemplate # 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_template_for_all_namespaces_with_http_info(async_req=True) + >>> result = thread.get() + + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaimTemplateList, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'pretty', + 'resource_version', + 'resource_version_match', + 'send_initial_events', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_resource_claim_template_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaimTemplateList", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/resourceclaimtemplates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def list_resource_slice(self, **kwargs): # noqa: E501 + """list_resource_slice # noqa: E501 + + list or watch objects of kind ResourceSlice # 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_slice(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceSliceList + """ + kwargs['_return_http_data_only'] = True + return self.list_resource_slice_with_http_info(**kwargs) # noqa: E501 + + def list_resource_slice_with_http_info(self, **kwargs): # noqa: E501 + """list_resource_slice # noqa: E501 + + list or watch objects of kind ResourceSlice # 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_slice_with_http_info(async_req=True) + >>> result = thread.get() + + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + :type allow_watch_bookmarks: bool + :param _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :type _continue: str + :param field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :type field_selector: str + :param label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :type label_selector: str + :param limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :type limit: int + :param resource_version: resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version: str + :param resource_version_match: resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + :type resource_version_match: str + :param send_initial_events: `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + :type send_initial_events: bool + :param timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :type timeout_seconds: int + :param watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :type watch: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceSliceList, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_resource_slice" % 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch', 'application/cbor-seq']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceSliceList", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/resourceslices', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_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 name: name of the DeviceClass (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2DeviceClass + """ + 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 name: name of the DeviceClass (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2DeviceClass", + 201: "V1beta2DeviceClass", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/deviceclasses/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_namespaced_resource_claim(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_resource_claim # noqa: E501 + + partially update the specified ResourceClaim # 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(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaim + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_resource_claim_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_resource_claim_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_resource_claim # noqa: E501 + + partially update the specified ResourceClaim # 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_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_resource_claim" % 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`") # 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`") # 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`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaim", + 201: "V1beta2ResourceClaim", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_namespaced_resource_claim_status(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_resource_claim_status # noqa: E501 + + partially update status of the specified ResourceClaim # 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_status(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaim + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_resource_claim_status_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_resource_claim_status_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_resource_claim_status # noqa: E501 + + partially update status of the specified ResourceClaim # 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_status_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_resource_claim_status" % 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_status`") # 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_status`") # 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_status`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaim", + 201: "V1beta2ResourceClaim", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_namespaced_resource_claim_template(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_resource_claim_template # noqa: E501 + + partially update the specified ResourceClaimTemplate # 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_template(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaimTemplate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaimTemplate + """ + kwargs['_return_http_data_only'] = True + return self.patch_namespaced_resource_claim_template_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def patch_namespaced_resource_claim_template_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """patch_namespaced_resource_claim_template # noqa: E501 + + partially update the specified ResourceClaimTemplate # 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_template_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaimTemplate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_resource_claim_template" % 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_template`") # 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_template`") # 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_template`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaimTemplate", + 201: "V1beta2ResourceClaimTemplate", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def patch_resource_slice(self, name, body, **kwargs): # noqa: E501 + """patch_resource_slice # noqa: E501 + + partially update the specified ResourceSlice # 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_slice(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceSlice + """ + kwargs['_return_http_data_only'] = True + return self.patch_resource_slice_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_resource_slice # noqa: E501 + + partially update the specified ResourceSlice # 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_slice_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param body: (required) + :type body: object + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :type force: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_resource_slice" % 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_slice`") # 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_slice`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml', 'application/apply-patch+cbor'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceSlice", + 201: "V1beta2ResourceSlice", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/resourceslices/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def read_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 name: name of the DeviceClass (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2DeviceClass + """ + 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 name: name of the DeviceClass (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2DeviceClass", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/deviceclasses/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def read_namespaced_resource_claim(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_resource_claim # noqa: E501 + + read the specified ResourceClaim # 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(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaim + """ + kwargs['_return_http_data_only'] = True + return self.read_namespaced_resource_claim_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def read_namespaced_resource_claim_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_resource_claim # noqa: E501 + + read the specified ResourceClaim # 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_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_resource_claim" % 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`") # 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`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaim", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def read_namespaced_resource_claim_status(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_resource_claim_status # noqa: E501 + + read status of the specified ResourceClaim # 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_status(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaim + """ + kwargs['_return_http_data_only'] = True + return self.read_namespaced_resource_claim_status_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def read_namespaced_resource_claim_status_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_resource_claim_status # noqa: E501 + + read status of the specified ResourceClaim # 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_status_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_resource_claim_status" % 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_status`") # 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_status`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaim", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def read_namespaced_resource_claim_template(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_resource_claim_template # noqa: E501 + + read the specified ResourceClaimTemplate # 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_template(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaimTemplate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaimTemplate + """ + kwargs['_return_http_data_only'] = True + return self.read_namespaced_resource_claim_template_with_http_info(name, namespace, **kwargs) # noqa: E501 + + def read_namespaced_resource_claim_template_with_http_info(self, name, namespace, **kwargs): # noqa: E501 + """read_namespaced_resource_claim_template # noqa: E501 + + read the specified ResourceClaimTemplate # 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_template_with_http_info(name, namespace, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaimTemplate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_namespaced_resource_claim_template" % 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_template`") # 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_template`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaimTemplate", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def read_resource_slice(self, name, **kwargs): # noqa: E501 + """read_resource_slice # noqa: E501 + + read the specified ResourceSlice # 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_slice(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceSlice + """ + kwargs['_return_http_data_only'] = True + return self.read_resource_slice_with_http_info(name, **kwargs) # noqa: E501 + + def read_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 + """read_resource_slice # noqa: E501 + + read the specified ResourceSlice # 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_slice_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_resource_slice" % 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_slice`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceSlice", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/resourceslices/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def replace_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 name: name of the DeviceClass (required) + :type name: str + :param body: (required) + :type body: V1beta2DeviceClass + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2DeviceClass + """ + 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 name: name of the DeviceClass (required) + :type name: str + :param body: (required) + :type body: V1beta2DeviceClass + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2DeviceClass, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2DeviceClass", + 201: "V1beta2DeviceClass", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/deviceclasses/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def replace_namespaced_resource_claim(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_resource_claim # noqa: E501 + + replace the specified ResourceClaim # 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(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaim + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaim + """ + kwargs['_return_http_data_only'] = True + return self.replace_namespaced_resource_claim_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def replace_namespaced_resource_claim_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_resource_claim # noqa: E501 + + replace the specified ResourceClaim # 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_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaim + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_resource_claim" % 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`") # 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`") # 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`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaim", + 201: "V1beta2ResourceClaim", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def replace_namespaced_resource_claim_status(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_resource_claim_status # noqa: E501 + + replace status of the specified ResourceClaim # 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_status(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaim + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaim + """ + kwargs['_return_http_data_only'] = True + return self.replace_namespaced_resource_claim_status_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def replace_namespaced_resource_claim_status_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_resource_claim_status # noqa: E501 + + replace status of the specified ResourceClaim # 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_status_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaim (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaim + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaim, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_resource_claim_status" % 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_status`") # 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_status`") # 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_status`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaim", + 201: "V1beta2ResourceClaim", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def replace_namespaced_resource_claim_template(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_resource_claim_template # noqa: E501 + + replace the specified ResourceClaimTemplate # 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_template(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaimTemplate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaimTemplate + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceClaimTemplate + """ + kwargs['_return_http_data_only'] = True + return self.replace_namespaced_resource_claim_template_with_http_info(name, namespace, body, **kwargs) # noqa: E501 + + def replace_namespaced_resource_claim_template_with_http_info(self, name, namespace, body, **kwargs): # noqa: E501 + """replace_namespaced_resource_claim_template # noqa: E501 + + replace the specified ResourceClaimTemplate # 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_template_with_http_info(name, namespace, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceClaimTemplate (required) + :type name: str + :param namespace: object name and auth scope, such as for teams and projects (required) + :type namespace: str + :param body: (required) + :type body: V1beta2ResourceClaimTemplate + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceClaimTemplate, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'namespace', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'field_validation' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_namespaced_resource_claim_template" % 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_template`") # 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_template`") # 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_template`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceClaimTemplate", + 201: "V1beta2ResourceClaimTemplate", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def replace_resource_slice(self, name, body, **kwargs): # noqa: E501 + """replace_resource_slice # noqa: E501 + + replace the specified ResourceSlice # 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_slice(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param body: (required) + :type body: V1beta2ResourceSlice + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: V1beta2ResourceSlice + """ + kwargs['_return_http_data_only'] = True + return self.replace_resource_slice_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_resource_slice # noqa: E501 + + replace the specified ResourceSlice # 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_slice_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param name: name of the ResourceSlice (required) + :type name: str + :param body: (required) + :type body: V1beta2ResourceSlice + :param pretty: If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + :type pretty: str + :param dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :type dry_run: str + :param field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :type field_manager: str + :param field_validation: fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + :type field_validation: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(V1beta2ResourceSlice, status_code(int), headers(HTTPHeaderDict)) + """ + + 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', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_resource_slice" % 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_slice`") # 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_slice`") # 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 = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/cbor']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + response_types_map = { + 200: "V1beta2ResourceSlice", + 201: "V1beta2ResourceSlice", + 401: None, + } + + return self.api_client.call_api( + '/apis/resource.k8s.io/v1beta2/resourceslices/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) diff --git a/kubernetes_asyncio/client/api/scheduling_api.py b/kubernetes_asyncio/client/api/scheduling_api.py index 4b191fa5..2f0cbc9a 100644 --- a/kubernetes_asyncio/client/api/scheduling_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/scheduling_v1_api.py b/kubernetes_asyncio/client/api/scheduling_v1_api.py index 1f6a26f4..7422bc6d 100644 --- a/kubernetes_asyncio/client/api/scheduling_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/storage_api.py b/kubernetes_asyncio/client/api/storage_api.py index deeadb3f..f5f9f261 100644 --- a/kubernetes_asyncio/client/api/storage_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/storage_v1_api.py b/kubernetes_asyncio/client/api/storage_v1_api.py index 47179d2c..0a5aea21 100644 --- a/kubernetes_asyncio/client/api/storage_v1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/storage_v1alpha1_api.py b/kubernetes_asyncio/client/api/storage_v1alpha1_api.py index ee854446..01ddcfe9 100644 --- a/kubernetes_asyncio/client/api/storage_v1alpha1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/storage_v1beta1_api.py b/kubernetes_asyncio/client/api/storage_v1beta1_api.py index de5b4f3a..e0787b86 100644 --- a/kubernetes_asyncio/client/api/storage_v1beta1_api.py +++ b/kubernetes_asyncio/client/api/storage_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/storagemigration_api.py b/kubernetes_asyncio/client/api/storagemigration_api.py index 87a0b4d8..4f13e988 100644 --- a/kubernetes_asyncio/client/api/storagemigration_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/storagemigration_v1alpha1_api.py b/kubernetes_asyncio/client/api/storagemigration_v1alpha1_api.py index fa5f1632..61e1eb85 100644 --- a/kubernetes_asyncio/client/api/storagemigration_v1alpha1_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api/version_api.py b/kubernetes_asyncio/client/api/version_api.py index 6d11dbe9..38a8e064 100644 --- a/kubernetes_asyncio/client/api/version_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -39,7 +39,7 @@ def __init__(self, api_client=None): def get_code(self, **kwargs): # noqa: E501 """get_code # noqa: E501 - get the code version # noqa: E501 + get the version information for this server # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -67,7 +67,7 @@ def get_code(self, **kwargs): # noqa: E501 def get_code_with_http_info(self, **kwargs): # noqa: E501 """get_code # noqa: E501 - get the code version # noqa: E501 + get the version information for this server # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/kubernetes_asyncio/client/api/well_known_api.py b/kubernetes_asyncio/client/api/well_known_api.py index bfbf3a95..66800a43 100644 --- a/kubernetes_asyncio/client/api/well_known_api.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/api_client.py b/kubernetes_asyncio/client/api_client.py index 36609e78..a5ea5b00 100644 --- a/kubernetes_asyncio/client/api_client.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/32.3.0+snapshot/python' + self.user_agent = 'OpenAPI-Generator/33.3.0+snapshot/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/kubernetes_asyncio/client/configuration.py b/kubernetes_asyncio/client/configuration.py index b2522c23..c501652f 100644 --- a/kubernetes_asyncio/client/configuration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -430,8 +430,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v1.32.3\n"\ - "SDK Package Version: 32.3.0+snapshot".\ + "Version of the API: v1.33.3\n"\ + "SDK Package Version: 33.3.0+snapshot".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes_asyncio/client/configuration.py.orig b/kubernetes_asyncio/client/configuration.py.orig index 09a25ade..97bf8d53 100644 --- a/kubernetes_asyncio/client/configuration.py.orig +++ b/kubernetes_asyncio/client/configuration.py.orig @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -417,8 +417,8 @@ conf = client.Configuration( return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v1.32.3\n"\ - "SDK Package Version: 32.3.0+snapshot".\ + "Version of the API: v1.33.3\n"\ + "SDK Package Version: 33.3.0+snapshot".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes_asyncio/client/exceptions.py b/kubernetes_asyncio/client/exceptions.py index 0594149a..3ce3f0b7 100644 --- a/kubernetes_asyncio/client/exceptions.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/__init__.py b/kubernetes_asyncio/client/models/__init__.py index 3ef80412..db44037f 100644 --- a/kubernetes_asyncio/client/models/__init__.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -169,6 +169,7 @@ from kubernetes_asyncio.client.models.v1_flow_schema_list import V1FlowSchemaList from kubernetes_asyncio.client.models.v1_flow_schema_spec import V1FlowSchemaSpec from kubernetes_asyncio.client.models.v1_flow_schema_status import V1FlowSchemaStatus +from kubernetes_asyncio.client.models.v1_for_node import V1ForNode from kubernetes_asyncio.client.models.v1_for_zone import V1ForZone from kubernetes_asyncio.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource from kubernetes_asyncio.client.models.v1_grpc_action import V1GRPCAction @@ -188,6 +189,9 @@ from kubernetes_asyncio.client.models.v1_host_alias import V1HostAlias from kubernetes_asyncio.client.models.v1_host_ip import V1HostIP from kubernetes_asyncio.client.models.v1_host_path_volume_source import V1HostPathVolumeSource +from kubernetes_asyncio.client.models.v1_ip_address import V1IPAddress +from kubernetes_asyncio.client.models.v1_ip_address_list import V1IPAddressList +from kubernetes_asyncio.client.models.v1_ip_address_spec import V1IPAddressSpec from kubernetes_asyncio.client.models.v1_ip_block import V1IPBlock from kubernetes_asyncio.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource from kubernetes_asyncio.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource @@ -273,6 +277,7 @@ from kubernetes_asyncio.client.models.v1_node_selector_term import V1NodeSelectorTerm from kubernetes_asyncio.client.models.v1_node_spec import V1NodeSpec from kubernetes_asyncio.client.models.v1_node_status import V1NodeStatus +from kubernetes_asyncio.client.models.v1_node_swap_status import V1NodeSwapStatus from kubernetes_asyncio.client.models.v1_node_system_info import V1NodeSystemInfo from kubernetes_asyncio.client.models.v1_non_resource_attributes import V1NonResourceAttributes from kubernetes_asyncio.client.models.v1_non_resource_policy_rule import V1NonResourcePolicyRule @@ -284,6 +289,7 @@ from kubernetes_asyncio.client.models.v1_owner_reference import V1OwnerReference from kubernetes_asyncio.client.models.v1_param_kind import V1ParamKind from kubernetes_asyncio.client.models.v1_param_ref import V1ParamRef +from kubernetes_asyncio.client.models.v1_parent_reference import V1ParentReference from kubernetes_asyncio.client.models.v1_persistent_volume import V1PersistentVolume from kubernetes_asyncio.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim from kubernetes_asyncio.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition @@ -409,6 +415,10 @@ from kubernetes_asyncio.client.models.v1_service_account_subject import V1ServiceAccountSubject from kubernetes_asyncio.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection from kubernetes_asyncio.client.models.v1_service_backend_port import V1ServiceBackendPort +from kubernetes_asyncio.client.models.v1_service_cidr import V1ServiceCIDR +from kubernetes_asyncio.client.models.v1_service_cidr_list import V1ServiceCIDRList +from kubernetes_asyncio.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec +from kubernetes_asyncio.client.models.v1_service_cidr_status import V1ServiceCIDRStatus from kubernetes_asyncio.client.models.v1_service_list import V1ServiceList from kubernetes_asyncio.client.models.v1_service_port import V1ServicePort from kubernetes_asyncio.client.models.v1_service_spec import V1ServiceSpec @@ -524,6 +534,8 @@ from kubernetes_asyncio.client.models.v1alpha3_allocation_result import V1alpha3AllocationResult from kubernetes_asyncio.client.models.v1alpha3_basic_device import V1alpha3BasicDevice from kubernetes_asyncio.client.models.v1alpha3_cel_device_selector import V1alpha3CELDeviceSelector +from kubernetes_asyncio.client.models.v1alpha3_counter import V1alpha3Counter +from kubernetes_asyncio.client.models.v1alpha3_counter_set import V1alpha3CounterSet from kubernetes_asyncio.client.models.v1alpha3_device import V1alpha3Device from kubernetes_asyncio.client.models.v1alpha3_device_allocation_configuration import V1alpha3DeviceAllocationConfiguration from kubernetes_asyncio.client.models.v1alpha3_device_allocation_result import V1alpha3DeviceAllocationResult @@ -535,9 +547,17 @@ from kubernetes_asyncio.client.models.v1alpha3_device_class_list import V1alpha3DeviceClassList from kubernetes_asyncio.client.models.v1alpha3_device_class_spec import V1alpha3DeviceClassSpec from kubernetes_asyncio.client.models.v1alpha3_device_constraint import V1alpha3DeviceConstraint +from kubernetes_asyncio.client.models.v1alpha3_device_counter_consumption import V1alpha3DeviceCounterConsumption from kubernetes_asyncio.client.models.v1alpha3_device_request import V1alpha3DeviceRequest from kubernetes_asyncio.client.models.v1alpha3_device_request_allocation_result import V1alpha3DeviceRequestAllocationResult from kubernetes_asyncio.client.models.v1alpha3_device_selector import V1alpha3DeviceSelector +from kubernetes_asyncio.client.models.v1alpha3_device_sub_request import V1alpha3DeviceSubRequest +from kubernetes_asyncio.client.models.v1alpha3_device_taint import V1alpha3DeviceTaint +from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule import V1alpha3DeviceTaintRule +from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_list import V1alpha3DeviceTaintRuleList +from kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec +from kubernetes_asyncio.client.models.v1alpha3_device_taint_selector import V1alpha3DeviceTaintSelector +from kubernetes_asyncio.client.models.v1alpha3_device_toleration import V1alpha3DeviceToleration from kubernetes_asyncio.client.models.v1alpha3_network_device_data import V1alpha3NetworkDeviceData from kubernetes_asyncio.client.models.v1alpha3_opaque_device_configuration import V1alpha3OpaqueDeviceConfiguration from kubernetes_asyncio.client.models.v1alpha3_resource_claim import V1alpha3ResourceClaim @@ -557,6 +577,11 @@ from kubernetes_asyncio.client.models.v1beta1_audit_annotation import V1beta1AuditAnnotation from kubernetes_asyncio.client.models.v1beta1_basic_device import V1beta1BasicDevice from kubernetes_asyncio.client.models.v1beta1_cel_device_selector import V1beta1CELDeviceSelector +from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle import V1beta1ClusterTrustBundle +from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_list import V1beta1ClusterTrustBundleList +from kubernetes_asyncio.client.models.v1beta1_cluster_trust_bundle_spec import V1beta1ClusterTrustBundleSpec +from kubernetes_asyncio.client.models.v1beta1_counter import V1beta1Counter +from kubernetes_asyncio.client.models.v1beta1_counter_set import V1beta1CounterSet from kubernetes_asyncio.client.models.v1beta1_device import V1beta1Device from kubernetes_asyncio.client.models.v1beta1_device_allocation_configuration import V1beta1DeviceAllocationConfiguration from kubernetes_asyncio.client.models.v1beta1_device_allocation_result import V1beta1DeviceAllocationResult @@ -569,13 +594,20 @@ from kubernetes_asyncio.client.models.v1beta1_device_class_list import V1beta1DeviceClassList from kubernetes_asyncio.client.models.v1beta1_device_class_spec import V1beta1DeviceClassSpec from kubernetes_asyncio.client.models.v1beta1_device_constraint import V1beta1DeviceConstraint +from kubernetes_asyncio.client.models.v1beta1_device_counter_consumption import V1beta1DeviceCounterConsumption from kubernetes_asyncio.client.models.v1beta1_device_request import V1beta1DeviceRequest from kubernetes_asyncio.client.models.v1beta1_device_request_allocation_result import V1beta1DeviceRequestAllocationResult from kubernetes_asyncio.client.models.v1beta1_device_selector import V1beta1DeviceSelector +from kubernetes_asyncio.client.models.v1beta1_device_sub_request import V1beta1DeviceSubRequest +from kubernetes_asyncio.client.models.v1beta1_device_taint import V1beta1DeviceTaint +from kubernetes_asyncio.client.models.v1beta1_device_toleration import V1beta1DeviceToleration from kubernetes_asyncio.client.models.v1beta1_expression_warning import V1beta1ExpressionWarning from kubernetes_asyncio.client.models.v1beta1_ip_address import V1beta1IPAddress from kubernetes_asyncio.client.models.v1beta1_ip_address_list import V1beta1IPAddressList from kubernetes_asyncio.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec +from kubernetes_asyncio.client.models.v1beta1_lease_candidate import V1beta1LeaseCandidate +from kubernetes_asyncio.client.models.v1beta1_lease_candidate_list import V1beta1LeaseCandidateList +from kubernetes_asyncio.client.models.v1beta1_lease_candidate_spec import V1beta1LeaseCandidateSpec from kubernetes_asyncio.client.models.v1beta1_match_condition import V1beta1MatchCondition from kubernetes_asyncio.client.models.v1beta1_match_resources import V1beta1MatchResources from kubernetes_asyncio.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations @@ -596,8 +628,6 @@ from kubernetes_asyncio.client.models.v1beta1_resource_slice import V1beta1ResourceSlice from kubernetes_asyncio.client.models.v1beta1_resource_slice_list import V1beta1ResourceSliceList from kubernetes_asyncio.client.models.v1beta1_resource_slice_spec import V1beta1ResourceSliceSpec -from kubernetes_asyncio.client.models.v1beta1_self_subject_review import V1beta1SelfSubjectReview -from kubernetes_asyncio.client.models.v1beta1_self_subject_review_status import V1beta1SelfSubjectReviewStatus from kubernetes_asyncio.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR from kubernetes_asyncio.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList from kubernetes_asyncio.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec @@ -614,6 +644,45 @@ from kubernetes_asyncio.client.models.v1beta1_variable import V1beta1Variable from kubernetes_asyncio.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass from kubernetes_asyncio.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList +from kubernetes_asyncio.client.models.v1beta2_allocated_device_status import V1beta2AllocatedDeviceStatus +from kubernetes_asyncio.client.models.v1beta2_allocation_result import V1beta2AllocationResult +from kubernetes_asyncio.client.models.v1beta2_cel_device_selector import V1beta2CELDeviceSelector +from kubernetes_asyncio.client.models.v1beta2_counter import V1beta2Counter +from kubernetes_asyncio.client.models.v1beta2_counter_set import V1beta2CounterSet +from kubernetes_asyncio.client.models.v1beta2_device import V1beta2Device +from kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration import V1beta2DeviceAllocationConfiguration +from kubernetes_asyncio.client.models.v1beta2_device_allocation_result import V1beta2DeviceAllocationResult +from kubernetes_asyncio.client.models.v1beta2_device_attribute import V1beta2DeviceAttribute +from kubernetes_asyncio.client.models.v1beta2_device_capacity import V1beta2DeviceCapacity +from kubernetes_asyncio.client.models.v1beta2_device_claim import V1beta2DeviceClaim +from kubernetes_asyncio.client.models.v1beta2_device_claim_configuration import V1beta2DeviceClaimConfiguration +from kubernetes_asyncio.client.models.v1beta2_device_class import V1beta2DeviceClass +from kubernetes_asyncio.client.models.v1beta2_device_class_configuration import V1beta2DeviceClassConfiguration +from kubernetes_asyncio.client.models.v1beta2_device_class_list import V1beta2DeviceClassList +from kubernetes_asyncio.client.models.v1beta2_device_class_spec import V1beta2DeviceClassSpec +from kubernetes_asyncio.client.models.v1beta2_device_constraint import V1beta2DeviceConstraint +from kubernetes_asyncio.client.models.v1beta2_device_counter_consumption import V1beta2DeviceCounterConsumption +from kubernetes_asyncio.client.models.v1beta2_device_request import V1beta2DeviceRequest +from kubernetes_asyncio.client.models.v1beta2_device_request_allocation_result import V1beta2DeviceRequestAllocationResult +from kubernetes_asyncio.client.models.v1beta2_device_selector import V1beta2DeviceSelector +from kubernetes_asyncio.client.models.v1beta2_device_sub_request import V1beta2DeviceSubRequest +from kubernetes_asyncio.client.models.v1beta2_device_taint import V1beta2DeviceTaint +from kubernetes_asyncio.client.models.v1beta2_device_toleration import V1beta2DeviceToleration +from kubernetes_asyncio.client.models.v1beta2_exact_device_request import V1beta2ExactDeviceRequest +from kubernetes_asyncio.client.models.v1beta2_network_device_data import V1beta2NetworkDeviceData +from kubernetes_asyncio.client.models.v1beta2_opaque_device_configuration import V1beta2OpaqueDeviceConfiguration +from kubernetes_asyncio.client.models.v1beta2_resource_claim import V1beta2ResourceClaim +from kubernetes_asyncio.client.models.v1beta2_resource_claim_consumer_reference import V1beta2ResourceClaimConsumerReference +from kubernetes_asyncio.client.models.v1beta2_resource_claim_list import V1beta2ResourceClaimList +from kubernetes_asyncio.client.models.v1beta2_resource_claim_spec import V1beta2ResourceClaimSpec +from kubernetes_asyncio.client.models.v1beta2_resource_claim_status import V1beta2ResourceClaimStatus +from kubernetes_asyncio.client.models.v1beta2_resource_claim_template import V1beta2ResourceClaimTemplate +from kubernetes_asyncio.client.models.v1beta2_resource_claim_template_list import V1beta2ResourceClaimTemplateList +from kubernetes_asyncio.client.models.v1beta2_resource_claim_template_spec import V1beta2ResourceClaimTemplateSpec +from kubernetes_asyncio.client.models.v1beta2_resource_pool import V1beta2ResourcePool +from kubernetes_asyncio.client.models.v1beta2_resource_slice import V1beta2ResourceSlice +from kubernetes_asyncio.client.models.v1beta2_resource_slice_list import V1beta2ResourceSliceList +from kubernetes_asyncio.client.models.v1beta2_resource_slice_spec import V1beta2ResourceSliceSpec from kubernetes_asyncio.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource from kubernetes_asyncio.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus from kubernetes_asyncio.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference diff --git a/kubernetes_asyncio/client/models/admissionregistration_v1_service_reference.py b/kubernetes_asyncio/client/models/admissionregistration_v1_service_reference.py index b12308d5..7e5c3ac4 100644 --- a/kubernetes_asyncio/client/models/admissionregistration_v1_service_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/admissionregistration_v1_webhook_client_config.py b/kubernetes_asyncio/client/models/admissionregistration_v1_webhook_client_config.py index bfce1f38..58e908e8 100644 --- a/kubernetes_asyncio/client/models/admissionregistration_v1_webhook_client_config.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/apiextensions_v1_service_reference.py b/kubernetes_asyncio/client/models/apiextensions_v1_service_reference.py index c224ddbd..12bc2e37 100644 --- a/kubernetes_asyncio/client/models/apiextensions_v1_service_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/apiextensions_v1_webhook_client_config.py b/kubernetes_asyncio/client/models/apiextensions_v1_webhook_client_config.py index c979a3a9..7cb35d70 100644 --- a/kubernetes_asyncio/client/models/apiextensions_v1_webhook_client_config.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/apiregistration_v1_service_reference.py b/kubernetes_asyncio/client/models/apiregistration_v1_service_reference.py index be315747..5a210a7f 100644 --- a/kubernetes_asyncio/client/models/apiregistration_v1_service_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/authentication_v1_token_request.py b/kubernetes_asyncio/client/models/authentication_v1_token_request.py index 201d853a..b5b6e750 100644 --- a/kubernetes_asyncio/client/models/authentication_v1_token_request.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/core_v1_endpoint_port.py b/kubernetes_asyncio/client/models/core_v1_endpoint_port.py index 024ef2f8..4a88581c 100644 --- a/kubernetes_asyncio/client/models/core_v1_endpoint_port.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/core_v1_event.py b/kubernetes_asyncio/client/models/core_v1_event.py index 565d80ad..c76ac008 100644 --- a/kubernetes_asyncio/client/models/core_v1_event.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/core_v1_event_list.py b/kubernetes_asyncio/client/models/core_v1_event_list.py index b4420064..6d2b0630 100644 --- a/kubernetes_asyncio/client/models/core_v1_event_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/core_v1_event_series.py b/kubernetes_asyncio/client/models/core_v1_event_series.py index ab5b01ff..31d22eb0 100644 --- a/kubernetes_asyncio/client/models/core_v1_event_series.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/discovery_v1_endpoint_port.py b/kubernetes_asyncio/client/models/discovery_v1_endpoint_port.py index eef04d3c..33ddf4f4 100644 --- a/kubernetes_asyncio/client/models/discovery_v1_endpoint_port.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -120,7 +120,7 @@ def name(self, name): def port(self): """Gets the port of this DiscoveryV1EndpointPort. # noqa: E501 - port represents the port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer. # noqa: E501 + port represents the port number of the endpoint. If the EndpointSlice is derived from a Kubernetes service, this must be set to the service's target port. EndpointSlices used for other purposes may have a nil port. # noqa: E501 :return: The port of this DiscoveryV1EndpointPort. # noqa: E501 :rtype: int @@ -131,7 +131,7 @@ def port(self): def port(self, port): """Sets the port of this DiscoveryV1EndpointPort. - port represents the port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer. # noqa: E501 + port represents the port number of the endpoint. If the EndpointSlice is derived from a Kubernetes service, this must be set to the service's target port. EndpointSlices used for other purposes may have a nil port. # noqa: E501 :param port: The port of this DiscoveryV1EndpointPort. # noqa: E501 :type port: int diff --git a/kubernetes_asyncio/client/models/events_v1_event.py b/kubernetes_asyncio/client/models/events_v1_event.py index 27a00d71..fb7d5f24 100644 --- a/kubernetes_asyncio/client/models/events_v1_event.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/events_v1_event_list.py b/kubernetes_asyncio/client/models/events_v1_event_list.py index 520c3107..0ac936fd 100644 --- a/kubernetes_asyncio/client/models/events_v1_event_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/events_v1_event_series.py b/kubernetes_asyncio/client/models/events_v1_event_series.py index c5650b22..0ce0cd9a 100644 --- a/kubernetes_asyncio/client/models/events_v1_event_series.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/flowcontrol_v1_subject.py b/kubernetes_asyncio/client/models/flowcontrol_v1_subject.py index 0694bf1b..23a37129 100644 --- a/kubernetes_asyncio/client/models/flowcontrol_v1_subject.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/rbac_v1_subject.py b/kubernetes_asyncio/client/models/rbac_v1_subject.py index 802bd50e..4fd32b39 100644 --- a/kubernetes_asyncio/client/models/rbac_v1_subject.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/storage_v1_token_request.py b/kubernetes_asyncio/client/models/storage_v1_token_request.py index 8577d7cf..bfe55d88 100644 --- a/kubernetes_asyncio/client/models/storage_v1_token_request.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_affinity.py b/kubernetes_asyncio/client/models/v1_affinity.py index ba617c8c..9bd5109a 100644 --- a/kubernetes_asyncio/client/models/v1_affinity.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_aggregation_rule.py b/kubernetes_asyncio/client/models/v1_aggregation_rule.py index 0f17d1dc..0bfafcd2 100644 --- a/kubernetes_asyncio/client/models/v1_aggregation_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_group.py b/kubernetes_asyncio/client/models/v1_api_group.py index 168e7b48..b4d8fcdc 100644 --- a/kubernetes_asyncio/client/models/v1_api_group.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_group_list.py b/kubernetes_asyncio/client/models/v1_api_group_list.py index c9fcde0e..dd93cbb0 100644 --- a/kubernetes_asyncio/client/models/v1_api_group_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_resource.py b/kubernetes_asyncio/client/models/v1_api_resource.py index bc317ad8..5fa938a0 100644 --- a/kubernetes_asyncio/client/models/v1_api_resource.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_resource_list.py b/kubernetes_asyncio/client/models/v1_api_resource_list.py index ee4c157a..65d2393b 100644 --- a/kubernetes_asyncio/client/models/v1_api_resource_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_service.py b/kubernetes_asyncio/client/models/v1_api_service.py index 4e542194..0ca0f5eb 100644 --- a/kubernetes_asyncio/client/models/v1_api_service.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_service_condition.py b/kubernetes_asyncio/client/models/v1_api_service_condition.py index fdee02db..bcd018b0 100644 --- a/kubernetes_asyncio/client/models/v1_api_service_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_service_list.py b/kubernetes_asyncio/client/models/v1_api_service_list.py index 9ff55754..31dda667 100644 --- a/kubernetes_asyncio/client/models/v1_api_service_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_service_spec.py b/kubernetes_asyncio/client/models/v1_api_service_spec.py index 490c7e9e..67817c08 100644 --- a/kubernetes_asyncio/client/models/v1_api_service_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_service_status.py b/kubernetes_asyncio/client/models/v1_api_service_status.py index 10dfce3c..df1b10f0 100644 --- a/kubernetes_asyncio/client/models/v1_api_service_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_api_versions.py b/kubernetes_asyncio/client/models/v1_api_versions.py index c7b4c615..5a20e91b 100644 --- a/kubernetes_asyncio/client/models/v1_api_versions.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_app_armor_profile.py b/kubernetes_asyncio/client/models/v1_app_armor_profile.py index 86cc01ba..ed0cb649 100644 --- a/kubernetes_asyncio/client/models/v1_app_armor_profile.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_attached_volume.py b/kubernetes_asyncio/client/models/v1_attached_volume.py index 5a501179..42d09be2 100644 --- a/kubernetes_asyncio/client/models/v1_attached_volume.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_audit_annotation.py b/kubernetes_asyncio/client/models/v1_audit_annotation.py index e92141be..c6792bf4 100644 --- a/kubernetes_asyncio/client/models/v1_audit_annotation.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes_asyncio/client/models/v1_aws_elastic_block_store_volume_source.py index ccd92448..d6e7843c 100644 --- a/kubernetes_asyncio/client/models/v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_azure_disk_volume_source.py b/kubernetes_asyncio/client/models/v1_azure_disk_volume_source.py index b73ac1be..0dad7a94 100644 --- a/kubernetes_asyncio/client/models/v1_azure_disk_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_azure_file_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_azure_file_persistent_volume_source.py index 613495de..cb8ef478 100644 --- a/kubernetes_asyncio/client/models/v1_azure_file_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_azure_file_volume_source.py b/kubernetes_asyncio/client/models/v1_azure_file_volume_source.py index 2a5ad8e0..02590275 100644 --- a/kubernetes_asyncio/client/models/v1_azure_file_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_binding.py b/kubernetes_asyncio/client/models/v1_binding.py index df7b42fd..dc1fd546 100644 --- a/kubernetes_asyncio/client/models/v1_binding.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_bound_object_reference.py b/kubernetes_asyncio/client/models/v1_bound_object_reference.py index 55a3027c..8631943c 100644 --- a/kubernetes_asyncio/client/models/v1_bound_object_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_capabilities.py b/kubernetes_asyncio/client/models/v1_capabilities.py index b72824f4..11061b58 100644 --- a/kubernetes_asyncio/client/models/v1_capabilities.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ceph_fs_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_ceph_fs_persistent_volume_source.py index b6b2876a..674e057d 100644 --- a/kubernetes_asyncio/client/models/v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ceph_fs_volume_source.py b/kubernetes_asyncio/client/models/v1_ceph_fs_volume_source.py index 1220ae64..1ed1d634 100644 --- a/kubernetes_asyncio/client/models/v1_ceph_fs_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request.py b/kubernetes_asyncio/client/models/v1_certificate_signing_request.py index 8ae749e0..a5ffb6de 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request_condition.py b/kubernetes_asyncio/client/models/v1_certificate_signing_request_condition.py index 38a10910..b62e8736 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request_list.py b/kubernetes_asyncio/client/models/v1_certificate_signing_request_list.py index 64cf6d12..fd17763b 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request_spec.py b/kubernetes_asyncio/client/models/v1_certificate_signing_request_spec.py index bbc083a3..083d6a27 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_certificate_signing_request_status.py b/kubernetes_asyncio/client/models/v1_certificate_signing_request_status.py index cfa8e573..f554b609 100644 --- a/kubernetes_asyncio/client/models/v1_certificate_signing_request_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cinder_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_cinder_persistent_volume_source.py index f561af3d..6f0baae8 100644 --- a/kubernetes_asyncio/client/models/v1_cinder_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cinder_volume_source.py b/kubernetes_asyncio/client/models/v1_cinder_volume_source.py index fd7826ac..37870ca7 100644 --- a/kubernetes_asyncio/client/models/v1_cinder_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_client_ip_config.py b/kubernetes_asyncio/client/models/v1_client_ip_config.py index 853d2f9c..ece418a1 100644 --- a/kubernetes_asyncio/client/models/v1_client_ip_config.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cluster_role.py b/kubernetes_asyncio/client/models/v1_cluster_role.py index 55e67422..476cf0d5 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_role.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cluster_role_binding.py b/kubernetes_asyncio/client/models/v1_cluster_role_binding.py index 837e2e08..b5db9bcb 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_role_binding.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cluster_role_binding_list.py b/kubernetes_asyncio/client/models/v1_cluster_role_binding_list.py index 66568c92..43bd7182 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_role_binding_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cluster_role_list.py b/kubernetes_asyncio/client/models/v1_cluster_role_list.py index a3a6b53a..5ebcf82d 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_role_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cluster_trust_bundle_projection.py b/kubernetes_asyncio/client/models/v1_cluster_trust_bundle_projection.py index 4d25c6be..557b15e3 100644 --- a/kubernetes_asyncio/client/models/v1_cluster_trust_bundle_projection.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_component_condition.py b/kubernetes_asyncio/client/models/v1_component_condition.py index b05e1565..d5b95c1b 100644 --- a/kubernetes_asyncio/client/models/v1_component_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_component_status.py b/kubernetes_asyncio/client/models/v1_component_status.py index bc039d9a..e905f881 100644 --- a/kubernetes_asyncio/client/models/v1_component_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_component_status_list.py b/kubernetes_asyncio/client/models/v1_component_status_list.py index 15aae56a..41098780 100644 --- a/kubernetes_asyncio/client/models/v1_component_status_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_condition.py b/kubernetes_asyncio/client/models/v1_condition.py index 435f33ca..2bb93dbf 100644 --- a/kubernetes_asyncio/client/models/v1_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_config_map.py b/kubernetes_asyncio/client/models/v1_config_map.py index 858d3e8e..44964597 100644 --- a/kubernetes_asyncio/client/models/v1_config_map.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_config_map_env_source.py b/kubernetes_asyncio/client/models/v1_config_map_env_source.py index 38ca5b40..07987df4 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_env_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_config_map_key_selector.py b/kubernetes_asyncio/client/models/v1_config_map_key_selector.py index 42e8eccc..3d520cfa 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_key_selector.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_config_map_list.py b/kubernetes_asyncio/client/models/v1_config_map_list.py index 7a383646..1236da6e 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_config_map_node_config_source.py b/kubernetes_asyncio/client/models/v1_config_map_node_config_source.py index 47921625..4981fb13 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_node_config_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_config_map_projection.py b/kubernetes_asyncio/client/models/v1_config_map_projection.py index 82a1713d..1e1fd077 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_projection.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_config_map_volume_source.py b/kubernetes_asyncio/client/models/v1_config_map_volume_source.py index 501cf67b..c6fd020b 100644 --- a/kubernetes_asyncio/client/models/v1_config_map_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_container.py b/kubernetes_asyncio/client/models/v1_container.py index de5fe80b..8c334205 100644 --- a/kubernetes_asyncio/client/models/v1_container.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_container_image.py b/kubernetes_asyncio/client/models/v1_container_image.py index 28eb9541..ab32befe 100644 --- a/kubernetes_asyncio/client/models/v1_container_image.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_container_port.py b/kubernetes_asyncio/client/models/v1_container_port.py index a8ab4a19..79a13379 100644 --- a/kubernetes_asyncio/client/models/v1_container_port.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_container_resize_policy.py b/kubernetes_asyncio/client/models/v1_container_resize_policy.py index f1dc1d0d..ab0ee5a2 100644 --- a/kubernetes_asyncio/client/models/v1_container_resize_policy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_container_state.py b/kubernetes_asyncio/client/models/v1_container_state.py index 298ba6b2..32ac46f8 100644 --- a/kubernetes_asyncio/client/models/v1_container_state.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_container_state_running.py b/kubernetes_asyncio/client/models/v1_container_state_running.py index 6b91ffdb..49d78813 100644 --- a/kubernetes_asyncio/client/models/v1_container_state_running.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_container_state_terminated.py b/kubernetes_asyncio/client/models/v1_container_state_terminated.py index b0e89a87..15be86cf 100644 --- a/kubernetes_asyncio/client/models/v1_container_state_terminated.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_container_state_waiting.py b/kubernetes_asyncio/client/models/v1_container_state_waiting.py index 58227c74..1328bf9f 100644 --- a/kubernetes_asyncio/client/models/v1_container_state_waiting.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_container_status.py b/kubernetes_asyncio/client/models/v1_container_status.py index f80d4a90..648da3d4 100644 --- a/kubernetes_asyncio/client/models/v1_container_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -48,6 +48,7 @@ class V1ContainerStatus(object): 'restart_count': 'int', 'started': 'bool', 'state': 'V1ContainerState', + 'stop_signal': 'str', 'user': 'V1ContainerUser', 'volume_mounts': 'list[V1VolumeMountStatus]' } @@ -65,11 +66,12 @@ class V1ContainerStatus(object): 'restart_count': 'restartCount', 'started': 'started', 'state': 'state', + 'stop_signal': 'stopSignal', 'user': 'user', 'volume_mounts': 'volumeMounts' } - 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 + 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, stop_signal=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.get_default() @@ -87,6 +89,7 @@ def __init__(self, allocated_resources=None, allocated_resources_status=None, co self._restart_count = None self._started = None self._state = None + self._stop_signal = None self._user = None self._volume_mounts = None self.discriminator = None @@ -110,6 +113,8 @@ def __init__(self, allocated_resources=None, allocated_resources_status=None, co self.started = started if state is not None: self.state = state + if stop_signal is not None: + self.stop_signal = stop_signal if user is not None: self.user = user if volume_mounts is not None: @@ -395,6 +400,29 @@ def state(self, state): self._state = state + @property + def stop_signal(self): + """Gets the stop_signal of this V1ContainerStatus. # noqa: E501 + + StopSignal reports the effective stop signal for this container # noqa: E501 + + :return: The stop_signal of this V1ContainerStatus. # noqa: E501 + :rtype: str + """ + return self._stop_signal + + @stop_signal.setter + def stop_signal(self, stop_signal): + """Sets the stop_signal of this V1ContainerStatus. + + StopSignal reports the effective stop signal for this container # noqa: E501 + + :param stop_signal: The stop_signal of this V1ContainerStatus. # noqa: E501 + :type stop_signal: str + """ + + self._stop_signal = stop_signal + @property def user(self): """Gets the user of this V1ContainerStatus. # noqa: E501 diff --git a/kubernetes_asyncio/client/models/v1_container_user.py b/kubernetes_asyncio/client/models/v1_container_user.py index 5908d5f3..50c5d2bb 100644 --- a/kubernetes_asyncio/client/models/v1_container_user.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_controller_revision.py b/kubernetes_asyncio/client/models/v1_controller_revision.py index 705e7dc1..f7a4e783 100644 --- a/kubernetes_asyncio/client/models/v1_controller_revision.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_controller_revision_list.py b/kubernetes_asyncio/client/models/v1_controller_revision_list.py index ee4232bc..f87cf7c8 100644 --- a/kubernetes_asyncio/client/models/v1_controller_revision_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cron_job.py b/kubernetes_asyncio/client/models/v1_cron_job.py index da5ddc06..db9cd123 100644 --- a/kubernetes_asyncio/client/models/v1_cron_job.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cron_job_list.py b/kubernetes_asyncio/client/models/v1_cron_job_list.py index 4b53274a..72ee8b81 100644 --- a/kubernetes_asyncio/client/models/v1_cron_job_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cron_job_spec.py b/kubernetes_asyncio/client/models/v1_cron_job_spec.py index 1b2995e6..24ced1ba 100644 --- a/kubernetes_asyncio/client/models/v1_cron_job_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cron_job_status.py b/kubernetes_asyncio/client/models/v1_cron_job_status.py index b25ddc3a..78dd7105 100644 --- a/kubernetes_asyncio/client/models/v1_cron_job_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_cross_version_object_reference.py b/kubernetes_asyncio/client/models/v1_cross_version_object_reference.py index d60d2bc9..cb074a70 100644 --- a/kubernetes_asyncio/client/models/v1_cross_version_object_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_driver.py b/kubernetes_asyncio/client/models/v1_csi_driver.py index 4b9fa32c..5183cbb0 100644 --- a/kubernetes_asyncio/client/models/v1_csi_driver.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_driver_list.py b/kubernetes_asyncio/client/models/v1_csi_driver_list.py index 2478acd0..83dce895 100644 --- a/kubernetes_asyncio/client/models/v1_csi_driver_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_driver_spec.py b/kubernetes_asyncio/client/models/v1_csi_driver_spec.py index 4c2402d3..ed8060e1 100644 --- a/kubernetes_asyncio/client/models/v1_csi_driver_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -38,6 +38,7 @@ class V1CSIDriverSpec(object): openapi_types = { 'attach_required': 'bool', 'fs_group_policy': 'str', + 'node_allocatable_update_period_seconds': 'int', 'pod_info_on_mount': 'bool', 'requires_republish': 'bool', 'se_linux_mount': 'bool', @@ -49,6 +50,7 @@ class V1CSIDriverSpec(object): attribute_map = { 'attach_required': 'attachRequired', 'fs_group_policy': 'fsGroupPolicy', + 'node_allocatable_update_period_seconds': 'nodeAllocatableUpdatePeriodSeconds', 'pod_info_on_mount': 'podInfoOnMount', 'requires_republish': 'requiresRepublish', 'se_linux_mount': 'seLinuxMount', @@ -57,7 +59,7 @@ class V1CSIDriverSpec(object): 'volume_lifecycle_modes': 'volumeLifecycleModes' } - def __init__(self, attach_required=None, fs_group_policy=None, pod_info_on_mount=None, requires_republish=None, se_linux_mount=None, storage_capacity=None, token_requests=None, volume_lifecycle_modes=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, attach_required=None, fs_group_policy=None, node_allocatable_update_period_seconds=None, pod_info_on_mount=None, requires_republish=None, se_linux_mount=None, storage_capacity=None, token_requests=None, volume_lifecycle_modes=None, local_vars_configuration=None): # noqa: E501 """V1CSIDriverSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() @@ -65,6 +67,7 @@ def __init__(self, attach_required=None, fs_group_policy=None, pod_info_on_mount self._attach_required = None self._fs_group_policy = None + self._node_allocatable_update_period_seconds = None self._pod_info_on_mount = None self._requires_republish = None self._se_linux_mount = None @@ -77,6 +80,8 @@ def __init__(self, attach_required=None, fs_group_policy=None, pod_info_on_mount self.attach_required = attach_required if fs_group_policy is not None: self.fs_group_policy = fs_group_policy + if node_allocatable_update_period_seconds is not None: + self.node_allocatable_update_period_seconds = node_allocatable_update_period_seconds if pod_info_on_mount is not None: self.pod_info_on_mount = pod_info_on_mount if requires_republish is not None: @@ -136,6 +141,29 @@ def fs_group_policy(self, fs_group_policy): self._fs_group_policy = fs_group_policy + @property + def node_allocatable_update_period_seconds(self): + """Gets the node_allocatable_update_period_seconds of this V1CSIDriverSpec. # noqa: E501 + + nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable. # noqa: E501 + + :return: The node_allocatable_update_period_seconds of this V1CSIDriverSpec. # noqa: E501 + :rtype: int + """ + return self._node_allocatable_update_period_seconds + + @node_allocatable_update_period_seconds.setter + def node_allocatable_update_period_seconds(self, node_allocatable_update_period_seconds): + """Sets the node_allocatable_update_period_seconds of this V1CSIDriverSpec. + + nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable. # noqa: E501 + + :param node_allocatable_update_period_seconds: The node_allocatable_update_period_seconds of this V1CSIDriverSpec. # noqa: E501 + :type node_allocatable_update_period_seconds: int + """ + + self._node_allocatable_update_period_seconds = node_allocatable_update_period_seconds + @property def pod_info_on_mount(self): """Gets the pod_info_on_mount of this V1CSIDriverSpec. # noqa: E501 diff --git a/kubernetes_asyncio/client/models/v1_csi_node.py b/kubernetes_asyncio/client/models/v1_csi_node.py index ecdd9c34..4d9749a9 100644 --- a/kubernetes_asyncio/client/models/v1_csi_node.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_node_driver.py b/kubernetes_asyncio/client/models/v1_csi_node_driver.py index 04149a94..0ee9d990 100644 --- a/kubernetes_asyncio/client/models/v1_csi_node_driver.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_node_list.py b/kubernetes_asyncio/client/models/v1_csi_node_list.py index 63230b68..065d9af2 100644 --- a/kubernetes_asyncio/client/models/v1_csi_node_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_node_spec.py b/kubernetes_asyncio/client/models/v1_csi_node_spec.py index c665b9ea..eb290079 100644 --- a/kubernetes_asyncio/client/models/v1_csi_node_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_csi_persistent_volume_source.py index cda2d00c..eda7b7c3 100644 --- a/kubernetes_asyncio/client/models/v1_csi_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_storage_capacity.py b/kubernetes_asyncio/client/models/v1_csi_storage_capacity.py index a0e2127e..c2837972 100644 --- a/kubernetes_asyncio/client/models/v1_csi_storage_capacity.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_storage_capacity_list.py b/kubernetes_asyncio/client/models/v1_csi_storage_capacity_list.py index 08066962..b0f362a9 100644 --- a/kubernetes_asyncio/client/models/v1_csi_storage_capacity_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_csi_volume_source.py b/kubernetes_asyncio/client/models/v1_csi_volume_source.py index bd94e095..b0ac65fb 100644 --- a/kubernetes_asyncio/client/models/v1_csi_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_column_definition.py b/kubernetes_asyncio/client/models/v1_custom_resource_column_definition.py index f9cc5e47..937c98a4 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_column_definition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_conversion.py b/kubernetes_asyncio/client/models/v1_custom_resource_conversion.py index c028fd60..58a2b0ce 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_conversion.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition.py b/kubernetes_asyncio/client/models/v1_custom_resource_definition.py index 97eb11d7..b9de7a9e 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_condition.py b/kubernetes_asyncio/client/models/v1_custom_resource_definition_condition.py index 760892c1..93eaebe3 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_list.py b/kubernetes_asyncio/client/models/v1_custom_resource_definition_list.py index 9e49da34..c0289303 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_names.py b/kubernetes_asyncio/client/models/v1_custom_resource_definition_names.py index c29a393d..6fc3018c 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_names.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_spec.py b/kubernetes_asyncio/client/models/v1_custom_resource_definition_spec.py index e4ad3d79..cebc6fad 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_status.py b/kubernetes_asyncio/client/models/v1_custom_resource_definition_status.py index 86eb5b67..c44436fb 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_definition_version.py b/kubernetes_asyncio/client/models/v1_custom_resource_definition_version.py index 83c3bda8..102ae135 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_definition_version.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_subresource_scale.py b/kubernetes_asyncio/client/models/v1_custom_resource_subresource_scale.py index 5669592a..6c254217 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_subresource_scale.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_subresources.py b/kubernetes_asyncio/client/models/v1_custom_resource_subresources.py index 587730d2..5bd4782a 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_subresources.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_custom_resource_validation.py b/kubernetes_asyncio/client/models/v1_custom_resource_validation.py index ff5f7c20..61aed52c 100644 --- a/kubernetes_asyncio/client/models/v1_custom_resource_validation.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_daemon_endpoint.py b/kubernetes_asyncio/client/models/v1_daemon_endpoint.py index 60797544..739108b5 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_endpoint.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_daemon_set.py b/kubernetes_asyncio/client/models/v1_daemon_set.py index 3dbd0fbd..24c8a11c 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_condition.py b/kubernetes_asyncio/client/models/v1_daemon_set_condition.py index 34359e9a..e69aed5a 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_list.py b/kubernetes_asyncio/client/models/v1_daemon_set_list.py index db38bbe6..15366627 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_spec.py b/kubernetes_asyncio/client/models/v1_daemon_set_spec.py index b1562593..f1148093 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_status.py b/kubernetes_asyncio/client/models/v1_daemon_set_status.py index ebc17bf6..d2aaa97a 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_daemon_set_update_strategy.py b/kubernetes_asyncio/client/models/v1_daemon_set_update_strategy.py index 60ce4469..a8273257 100644 --- a/kubernetes_asyncio/client/models/v1_daemon_set_update_strategy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_delete_options.py b/kubernetes_asyncio/client/models/v1_delete_options.py index a100e5cf..41df22e4 100644 --- a/kubernetes_asyncio/client/models/v1_delete_options.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_deployment.py b/kubernetes_asyncio/client/models/v1_deployment.py index d1446fe0..18bf2e15 100644 --- a/kubernetes_asyncio/client/models/v1_deployment.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_deployment_condition.py b/kubernetes_asyncio/client/models/v1_deployment_condition.py index b84ed478..af8076bb 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_deployment_list.py b/kubernetes_asyncio/client/models/v1_deployment_list.py index 9f7355b1..9f61e16e 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_deployment_spec.py b/kubernetes_asyncio/client/models/v1_deployment_spec.py index c843c82d..56e6d0b8 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_deployment_status.py b/kubernetes_asyncio/client/models/v1_deployment_status.py index e91f102b..c953ec83 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -42,6 +42,7 @@ class V1DeploymentStatus(object): 'observed_generation': 'int', 'ready_replicas': 'int', 'replicas': 'int', + 'terminating_replicas': 'int', 'unavailable_replicas': 'int', 'updated_replicas': 'int' } @@ -53,11 +54,12 @@ class V1DeploymentStatus(object): 'observed_generation': 'observedGeneration', 'ready_replicas': 'readyReplicas', 'replicas': 'replicas', + 'terminating_replicas': 'terminatingReplicas', 'unavailable_replicas': 'unavailableReplicas', 'updated_replicas': 'updatedReplicas' } - def __init__(self, available_replicas=None, collision_count=None, conditions=None, observed_generation=None, ready_replicas=None, replicas=None, unavailable_replicas=None, updated_replicas=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, available_replicas=None, collision_count=None, conditions=None, observed_generation=None, ready_replicas=None, replicas=None, terminating_replicas=None, unavailable_replicas=None, updated_replicas=None, local_vars_configuration=None): # noqa: E501 """V1DeploymentStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() @@ -69,6 +71,7 @@ def __init__(self, available_replicas=None, collision_count=None, conditions=Non self._observed_generation = None self._ready_replicas = None self._replicas = None + self._terminating_replicas = None self._unavailable_replicas = None self._updated_replicas = None self.discriminator = None @@ -85,6 +88,8 @@ def __init__(self, available_replicas=None, collision_count=None, conditions=Non self.ready_replicas = ready_replicas if replicas is not None: self.replicas = replicas + if terminating_replicas is not None: + self.terminating_replicas = terminating_replicas if unavailable_replicas is not None: self.unavailable_replicas = unavailable_replicas if updated_replicas is not None: @@ -94,7 +99,7 @@ def __init__(self, available_replicas=None, collision_count=None, conditions=Non def available_replicas(self): """Gets the available_replicas of this V1DeploymentStatus. # noqa: E501 - Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. # noqa: E501 + Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment. # noqa: E501 :return: The available_replicas of this V1DeploymentStatus. # noqa: E501 :rtype: int @@ -105,7 +110,7 @@ def available_replicas(self): def available_replicas(self, available_replicas): """Sets the available_replicas of this V1DeploymentStatus. - Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. # noqa: E501 + Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment. # noqa: E501 :param available_replicas: The available_replicas of this V1DeploymentStatus. # noqa: E501 :type available_replicas: int @@ -186,7 +191,7 @@ def observed_generation(self, observed_generation): def ready_replicas(self): """Gets the ready_replicas of this V1DeploymentStatus. # noqa: E501 - readyReplicas is the number of pods targeted by this Deployment with a Ready Condition. # noqa: E501 + Total number of non-terminating pods targeted by this Deployment with a Ready Condition. # noqa: E501 :return: The ready_replicas of this V1DeploymentStatus. # noqa: E501 :rtype: int @@ -197,7 +202,7 @@ def ready_replicas(self): def ready_replicas(self, ready_replicas): """Sets the ready_replicas of this V1DeploymentStatus. - readyReplicas is the number of pods targeted by this Deployment with a Ready Condition. # noqa: E501 + Total number of non-terminating pods targeted by this Deployment with a Ready Condition. # noqa: E501 :param ready_replicas: The ready_replicas of this V1DeploymentStatus. # noqa: E501 :type ready_replicas: int @@ -209,7 +214,7 @@ def ready_replicas(self, ready_replicas): def replicas(self): """Gets the replicas of this V1DeploymentStatus. # noqa: E501 - Total number of non-terminated pods targeted by this deployment (their labels match the selector). # noqa: E501 + Total number of non-terminating pods targeted by this deployment (their labels match the selector). # noqa: E501 :return: The replicas of this V1DeploymentStatus. # noqa: E501 :rtype: int @@ -220,7 +225,7 @@ def replicas(self): def replicas(self, replicas): """Sets the replicas of this V1DeploymentStatus. - Total number of non-terminated pods targeted by this deployment (their labels match the selector). # noqa: E501 + Total number of non-terminating pods targeted by this deployment (their labels match the selector). # noqa: E501 :param replicas: The replicas of this V1DeploymentStatus. # noqa: E501 :type replicas: int @@ -228,6 +233,29 @@ def replicas(self, replicas): self._replicas = replicas + @property + def terminating_replicas(self): + """Gets the terminating_replicas of this V1DeploymentStatus. # noqa: E501 + + Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field. # noqa: E501 + + :return: The terminating_replicas of this V1DeploymentStatus. # noqa: E501 + :rtype: int + """ + return self._terminating_replicas + + @terminating_replicas.setter + def terminating_replicas(self, terminating_replicas): + """Sets the terminating_replicas of this V1DeploymentStatus. + + Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field. # noqa: E501 + + :param terminating_replicas: The terminating_replicas of this V1DeploymentStatus. # noqa: E501 + :type terminating_replicas: int + """ + + self._terminating_replicas = terminating_replicas + @property def unavailable_replicas(self): """Gets the unavailable_replicas of this V1DeploymentStatus. # noqa: E501 @@ -255,7 +283,7 @@ def unavailable_replicas(self, unavailable_replicas): def updated_replicas(self): """Gets the updated_replicas of this V1DeploymentStatus. # noqa: E501 - Total number of non-terminated pods targeted by this deployment that have the desired template spec. # noqa: E501 + Total number of non-terminating pods targeted by this deployment that have the desired template spec. # noqa: E501 :return: The updated_replicas of this V1DeploymentStatus. # noqa: E501 :rtype: int @@ -266,7 +294,7 @@ def updated_replicas(self): def updated_replicas(self, updated_replicas): """Sets the updated_replicas of this V1DeploymentStatus. - Total number of non-terminated pods targeted by this deployment that have the desired template spec. # noqa: E501 + Total number of non-terminating pods targeted by this deployment that have the desired template spec. # noqa: E501 :param updated_replicas: The updated_replicas of this V1DeploymentStatus. # noqa: E501 :type updated_replicas: int diff --git a/kubernetes_asyncio/client/models/v1_deployment_strategy.py b/kubernetes_asyncio/client/models/v1_deployment_strategy.py index 8f053718..655f59bb 100644 --- a/kubernetes_asyncio/client/models/v1_deployment_strategy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_downward_api_projection.py b/kubernetes_asyncio/client/models/v1_downward_api_projection.py index d937a581..569e28b9 100644 --- a/kubernetes_asyncio/client/models/v1_downward_api_projection.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_downward_api_volume_file.py b/kubernetes_asyncio/client/models/v1_downward_api_volume_file.py index 669fd035..35ab6d35 100644 --- a/kubernetes_asyncio/client/models/v1_downward_api_volume_file.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_downward_api_volume_source.py b/kubernetes_asyncio/client/models/v1_downward_api_volume_source.py index 09511375..5df965ad 100644 --- a/kubernetes_asyncio/client/models/v1_downward_api_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_empty_dir_volume_source.py b/kubernetes_asyncio/client/models/v1_empty_dir_volume_source.py index 3fa3a870..74db8767 100644 --- a/kubernetes_asyncio/client/models/v1_empty_dir_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_endpoint.py b/kubernetes_asyncio/client/models/v1_endpoint.py index 3e851bee..4d7dcace 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -93,7 +93,7 @@ def __init__(self, addresses=None, conditions=None, deprecated_topology=None, hi def addresses(self): """Gets the addresses of this V1Endpoint. # noqa: E501 - addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267 # noqa: E501 + addresses of this endpoint. For EndpointSlices of addressType \"IPv4\" or \"IPv6\", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them. # noqa: E501 :return: The addresses of this V1Endpoint. # noqa: E501 :rtype: list[str] @@ -104,7 +104,7 @@ def addresses(self): def addresses(self, addresses): """Sets the addresses of this V1Endpoint. - addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267 # noqa: E501 + addresses of this endpoint. For EndpointSlices of addressType \"IPv4\" or \"IPv6\", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them. # noqa: E501 :param addresses: The addresses of this V1Endpoint. # noqa: E501 :type addresses: list[str] diff --git a/kubernetes_asyncio/client/models/v1_endpoint_address.py b/kubernetes_asyncio/client/models/v1_endpoint_address.py index 003f596a..670c6ae5 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_address.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_endpoint_conditions.py b/kubernetes_asyncio/client/models/v1_endpoint_conditions.py index 071d8a30..d1b0687a 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_conditions.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -69,7 +69,7 @@ def __init__(self, ready=None, serving=None, terminating=None, local_vars_config def ready(self): """Gets the ready of this V1EndpointConditions. # noqa: E501 - ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag. # noqa: E501 + ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as \"true\". In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag. # noqa: E501 :return: The ready of this V1EndpointConditions. # noqa: E501 :rtype: bool @@ -80,7 +80,7 @@ def ready(self): def ready(self, ready): """Sets the ready of this V1EndpointConditions. - ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag. # noqa: E501 + ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as \"true\". In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag. # noqa: E501 :param ready: The ready of this V1EndpointConditions. # noqa: E501 :type ready: bool @@ -92,7 +92,7 @@ def ready(self, ready): def serving(self): """Gets the serving of this V1EndpointConditions. # noqa: E501 - serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. # noqa: E501 + serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod's Ready condition is True. A nil value should be interpreted as \"true\". # noqa: E501 :return: The serving of this V1EndpointConditions. # noqa: E501 :rtype: bool @@ -103,7 +103,7 @@ def serving(self): def serving(self, serving): """Sets the serving of this V1EndpointConditions. - serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. # noqa: E501 + serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod's Ready condition is True. A nil value should be interpreted as \"true\". # noqa: E501 :param serving: The serving of this V1EndpointConditions. # noqa: E501 :type serving: bool @@ -115,7 +115,7 @@ def serving(self, serving): def terminating(self): """Gets the terminating of this V1EndpointConditions. # noqa: E501 - terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. # noqa: E501 + terminating indicates that this endpoint is terminating. A nil value should be interpreted as \"false\". # noqa: E501 :return: The terminating of this V1EndpointConditions. # noqa: E501 :rtype: bool @@ -126,7 +126,7 @@ def terminating(self): def terminating(self, terminating): """Sets the terminating of this V1EndpointConditions. - terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. # noqa: E501 + terminating indicates that this endpoint is terminating. A nil value should be interpreted as \"false\". # noqa: E501 :param terminating: The terminating of this V1EndpointConditions. # noqa: E501 :type terminating: bool diff --git a/kubernetes_asyncio/client/models/v1_endpoint_hints.py b/kubernetes_asyncio/client/models/v1_endpoint_hints.py index 7276ce85..c525bb7f 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_hints.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -36,30 +36,58 @@ class V1EndpointHints(object): and the value is json key in definition. """ openapi_types = { + 'for_nodes': 'list[V1ForNode]', 'for_zones': 'list[V1ForZone]' } attribute_map = { + 'for_nodes': 'forNodes', 'for_zones': 'forZones' } - def __init__(self, for_zones=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, for_nodes=None, for_zones=None, local_vars_configuration=None): # noqa: E501 """V1EndpointHints - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() self.local_vars_configuration = local_vars_configuration + self._for_nodes = None self._for_zones = None self.discriminator = None + if for_nodes is not None: + self.for_nodes = for_nodes if for_zones is not None: self.for_zones = for_zones + @property + def for_nodes(self): + """Gets the for_nodes of this V1EndpointHints. # noqa: E501 + + forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. This is an Alpha feature and is only used when the PreferSameTrafficDistribution feature gate is enabled. # noqa: E501 + + :return: The for_nodes of this V1EndpointHints. # noqa: E501 + :rtype: list[V1ForNode] + """ + return self._for_nodes + + @for_nodes.setter + def for_nodes(self, for_nodes): + """Sets the for_nodes of this V1EndpointHints. + + forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. This is an Alpha feature and is only used when the PreferSameTrafficDistribution feature gate is enabled. # noqa: E501 + + :param for_nodes: The for_nodes of this V1EndpointHints. # noqa: E501 + :type for_nodes: list[V1ForNode] + """ + + self._for_nodes = for_nodes + @property def for_zones(self): """Gets the for_zones of this V1EndpointHints. # noqa: E501 - forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. # noqa: E501 + forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. # noqa: E501 :return: The for_zones of this V1EndpointHints. # noqa: E501 :rtype: list[V1ForZone] @@ -70,7 +98,7 @@ def for_zones(self): def for_zones(self, for_zones): """Sets the for_zones of this V1EndpointHints. - forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. # noqa: E501 + forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. # noqa: E501 :param for_zones: The for_zones of this V1EndpointHints. # noqa: E501 :type for_zones: list[V1ForZone] diff --git a/kubernetes_asyncio/client/models/v1_endpoint_slice.py b/kubernetes_asyncio/client/models/v1_endpoint_slice.py index 4f9b158c..b695a21a 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_slice.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -82,7 +82,7 @@ def __init__(self, address_type=None, api_version=None, endpoints=None, kind=Non def address_type(self): """Gets the address_type of this V1EndpointSlice. # noqa: E501 - addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. # noqa: E501 + addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType \"IPv4\" and \"IPv6\". No semantics are defined for the \"FQDN\" type. # noqa: E501 :return: The address_type of this V1EndpointSlice. # noqa: E501 :rtype: str @@ -93,7 +93,7 @@ def address_type(self): def address_type(self, address_type): """Sets the address_type of this V1EndpointSlice. - addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. # noqa: E501 + addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType \"IPv4\" and \"IPv6\". No semantics are defined for the \"FQDN\" type. # noqa: E501 :param address_type: The address_type of this V1EndpointSlice. # noqa: E501 :type address_type: str @@ -199,7 +199,7 @@ def metadata(self, metadata): def ports(self): """Gets the ports of this V1EndpointSlice. # noqa: E501 - ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports. # noqa: E501 + ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list. # noqa: E501 :return: The ports of this V1EndpointSlice. # noqa: E501 :rtype: list[DiscoveryV1EndpointPort] @@ -210,7 +210,7 @@ def ports(self): def ports(self, ports): """Sets the ports of this V1EndpointSlice. - ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports. # noqa: E501 + ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list. # noqa: E501 :param ports: The ports of this V1EndpointSlice. # noqa: E501 :type ports: list[DiscoveryV1EndpointPort] diff --git a/kubernetes_asyncio/client/models/v1_endpoint_slice_list.py b/kubernetes_asyncio/client/models/v1_endpoint_slice_list.py index 66cd14a1..b12c1b8c 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_slice_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_endpoint_subset.py b/kubernetes_asyncio/client/models/v1_endpoint_subset.py index 097db734..23110b99 100644 --- a/kubernetes_asyncio/client/models/v1_endpoint_subset.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_endpoints.py b/kubernetes_asyncio/client/models/v1_endpoints.py index f2d743ea..a0eb0cb7 100644 --- a/kubernetes_asyncio/client/models/v1_endpoints.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_endpoints_list.py b/kubernetes_asyncio/client/models/v1_endpoints_list.py index 4193581d..0738ee5e 100644 --- a/kubernetes_asyncio/client/models/v1_endpoints_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_env_from_source.py b/kubernetes_asyncio/client/models/v1_env_from_source.py index a1f65a25..f217cad3 100644 --- a/kubernetes_asyncio/client/models/v1_env_from_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -90,7 +90,7 @@ def config_map_ref(self, config_map_ref): def prefix(self): """Gets the prefix of this V1EnvFromSource. # noqa: E501 - An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. # noqa: E501 + Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER. # noqa: E501 :return: The prefix of this V1EnvFromSource. # noqa: E501 :rtype: str @@ -101,7 +101,7 @@ def prefix(self): def prefix(self, prefix): """Sets the prefix of this V1EnvFromSource. - An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. # noqa: E501 + Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER. # noqa: E501 :param prefix: The prefix of this V1EnvFromSource. # noqa: E501 :type prefix: str diff --git a/kubernetes_asyncio/client/models/v1_env_var.py b/kubernetes_asyncio/client/models/v1_env_var.py index 6fbcc039..63c280cd 100644 --- a/kubernetes_asyncio/client/models/v1_env_var.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_env_var_source.py b/kubernetes_asyncio/client/models/v1_env_var_source.py index a128e2d7..eb8d103b 100644 --- a/kubernetes_asyncio/client/models/v1_env_var_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ephemeral_container.py b/kubernetes_asyncio/client/models/v1_ephemeral_container.py index 71f7acd5..b1308f73 100644 --- a/kubernetes_asyncio/client/models/v1_ephemeral_container.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ephemeral_volume_source.py b/kubernetes_asyncio/client/models/v1_ephemeral_volume_source.py index 0cbc4620..4dddabb1 100644 --- a/kubernetes_asyncio/client/models/v1_ephemeral_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_event_source.py b/kubernetes_asyncio/client/models/v1_event_source.py index 086049eb..626a8fc6 100644 --- a/kubernetes_asyncio/client/models/v1_event_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_eviction.py b/kubernetes_asyncio/client/models/v1_eviction.py index 4e266f12..bc01125d 100644 --- a/kubernetes_asyncio/client/models/v1_eviction.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_exec_action.py b/kubernetes_asyncio/client/models/v1_exec_action.py index 7065a94f..3feea760 100644 --- a/kubernetes_asyncio/client/models/v1_exec_action.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_exempt_priority_level_configuration.py b/kubernetes_asyncio/client/models/v1_exempt_priority_level_configuration.py index 31ba943e..5d805d9e 100644 --- a/kubernetes_asyncio/client/models/v1_exempt_priority_level_configuration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_expression_warning.py b/kubernetes_asyncio/client/models/v1_expression_warning.py index acb40d08..29db3d1a 100644 --- a/kubernetes_asyncio/client/models/v1_expression_warning.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_external_documentation.py b/kubernetes_asyncio/client/models/v1_external_documentation.py index 8608f004..d096fca9 100644 --- a/kubernetes_asyncio/client/models/v1_external_documentation.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_fc_volume_source.py b/kubernetes_asyncio/client/models/v1_fc_volume_source.py index c6edbd95..dd254f53 100644 --- a/kubernetes_asyncio/client/models/v1_fc_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_field_selector_attributes.py b/kubernetes_asyncio/client/models/v1_field_selector_attributes.py index bf960d93..3185fcd8 100644 --- a/kubernetes_asyncio/client/models/v1_field_selector_attributes.py +++ b/kubernetes_asyncio/client/models/v1_field_selector_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_field_selector_requirement.py b/kubernetes_asyncio/client/models/v1_field_selector_requirement.py index b0886591..8398d2b0 100644 --- a/kubernetes_asyncio/client/models/v1_field_selector_requirement.py +++ b/kubernetes_asyncio/client/models/v1_field_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_flex_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_flex_persistent_volume_source.py index 8a10c17c..f6766c3e 100644 --- a/kubernetes_asyncio/client/models/v1_flex_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_flex_volume_source.py b/kubernetes_asyncio/client/models/v1_flex_volume_source.py index 902d6f05..9eee35fe 100644 --- a/kubernetes_asyncio/client/models/v1_flex_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_flocker_volume_source.py b/kubernetes_asyncio/client/models/v1_flocker_volume_source.py index ca104581..aae0c97e 100644 --- a/kubernetes_asyncio/client/models/v1_flocker_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_flow_distinguisher_method.py b/kubernetes_asyncio/client/models/v1_flow_distinguisher_method.py index 2ee344cb..fa4297d2 100644 --- a/kubernetes_asyncio/client/models/v1_flow_distinguisher_method.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_flow_schema.py b/kubernetes_asyncio/client/models/v1_flow_schema.py index 7d76f250..22da0f66 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_flow_schema_condition.py b/kubernetes_asyncio/client/models/v1_flow_schema_condition.py index 189be4fa..351e63ce 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_flow_schema_list.py b/kubernetes_asyncio/client/models/v1_flow_schema_list.py index 1f86ff0e..5256124e 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_flow_schema_spec.py b/kubernetes_asyncio/client/models/v1_flow_schema_spec.py index 7878a06e..03bd2aec 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_flow_schema_status.py b/kubernetes_asyncio/client/models/v1_flow_schema_status.py index e2c2d23e..20503392 100644 --- a/kubernetes_asyncio/client/models/v1_flow_schema_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1beta1_self_subject_review_status.py b/kubernetes_asyncio/client/models/v1_for_node.py similarity index 71% rename from kubernetes_asyncio/client/models/v1beta1_self_subject_review_status.py rename to kubernetes_asyncio/client/models/v1_for_node.py index 08a9d29f..ec7d4941 100644 --- a/kubernetes_asyncio/client/models/v1beta1_self_subject_review_status.py +++ b/kubernetes_asyncio/client/models/v1_for_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -21,7 +21,7 @@ from kubernetes_asyncio.client.configuration import Configuration -class V1beta1SelfSubjectReviewStatus(object): +class V1ForNode(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -36,45 +36,48 @@ class V1beta1SelfSubjectReviewStatus(object): and the value is json key in definition. """ openapi_types = { - 'user_info': 'V1UserInfo' + 'name': 'str' } attribute_map = { - 'user_info': 'userInfo' + 'name': 'name' } - def __init__(self, user_info=None, local_vars_configuration=None): # noqa: E501 - """V1beta1SelfSubjectReviewStatus - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 + """V1ForNode - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() self.local_vars_configuration = local_vars_configuration - self._user_info = None + self._name = None self.discriminator = None - if user_info is not None: - self.user_info = user_info + self.name = name @property - def user_info(self): - """Gets the user_info of this V1beta1SelfSubjectReviewStatus. # noqa: E501 + def name(self): + """Gets the name of this V1ForNode. # noqa: E501 + name represents the name of the node. # noqa: E501 - :return: The user_info of this V1beta1SelfSubjectReviewStatus. # noqa: E501 - :rtype: V1UserInfo + :return: The name of this V1ForNode. # noqa: E501 + :rtype: str """ - return self._user_info + return self._name - @user_info.setter - def user_info(self, user_info): - """Sets the user_info of this V1beta1SelfSubjectReviewStatus. + @name.setter + def name(self, name): + """Sets the name of this V1ForNode. + name represents the name of the node. # noqa: E501 - :param user_info: The user_info of this V1beta1SelfSubjectReviewStatus. # noqa: E501 - :type user_info: V1UserInfo + :param name: The name of this V1ForNode. # noqa: E501 + :type name: 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._user_info = user_info + self._name = name def to_dict(self, serialize=False): """Returns the model properties as a dict""" @@ -118,14 +121,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1beta1SelfSubjectReviewStatus): + if not isinstance(other, V1ForNode): 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, V1beta1SelfSubjectReviewStatus): + if not isinstance(other, V1ForNode): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_for_zone.py b/kubernetes_asyncio/client/models/v1_for_zone.py index bf483f45..caa62eb0 100644 --- a/kubernetes_asyncio/client/models/v1_for_zone.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_gce_persistent_disk_volume_source.py b/kubernetes_asyncio/client/models/v1_gce_persistent_disk_volume_source.py index 14dd5eff..c8bdb9b8 100644 --- a/kubernetes_asyncio/client/models/v1_gce_persistent_disk_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_git_repo_volume_source.py b/kubernetes_asyncio/client/models/v1_git_repo_volume_source.py index 659b56e2..35b32557 100644 --- a/kubernetes_asyncio/client/models/v1_git_repo_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_glusterfs_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_glusterfs_persistent_volume_source.py index ec0de1f3..76eeda4b 100644 --- a/kubernetes_asyncio/client/models/v1_glusterfs_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_glusterfs_volume_source.py b/kubernetes_asyncio/client/models/v1_glusterfs_volume_source.py index 4e190e66..c0544bfb 100644 --- a/kubernetes_asyncio/client/models/v1_glusterfs_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_group_subject.py b/kubernetes_asyncio/client/models/v1_group_subject.py index 8611c01a..89868f6b 100644 --- a/kubernetes_asyncio/client/models/v1_group_subject.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_group_version_for_discovery.py b/kubernetes_asyncio/client/models/v1_group_version_for_discovery.py index bc9b5bc0..a10c5699 100644 --- a/kubernetes_asyncio/client/models/v1_group_version_for_discovery.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_grpc_action.py b/kubernetes_asyncio/client/models/v1_grpc_action.py index da52e5fc..58120682 100644 --- a/kubernetes_asyncio/client/models/v1_grpc_action.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler.py b/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler.py index d9ca2e25..dda6d39a 100644 --- a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_list.py b/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_list.py index 23ae1ac2..31f2946b 100644 --- a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_spec.py b/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_spec.py index 31a68465..399a8619 100644 --- a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_status.py b/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_status.py index e7cdf445..c7eec94c 100644 --- a/kubernetes_asyncio/client/models/v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_host_alias.py b/kubernetes_asyncio/client/models/v1_host_alias.py index 9d0e6768..f7968518 100644 --- a/kubernetes_asyncio/client/models/v1_host_alias.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_host_ip.py b/kubernetes_asyncio/client/models/v1_host_ip.py index c32ebc4a..9a8bdc86 100644 --- a/kubernetes_asyncio/client/models/v1_host_ip.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_host_path_volume_source.py b/kubernetes_asyncio/client/models/v1_host_path_volume_source.py index 1a7ff03e..80c23852 100644 --- a/kubernetes_asyncio/client/models/v1_host_path_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_http_get_action.py b/kubernetes_asyncio/client/models/v1_http_get_action.py index 123e81af..ee7f0fdc 100644 --- a/kubernetes_asyncio/client/models/v1_http_get_action.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_http_header.py b/kubernetes_asyncio/client/models/v1_http_header.py index c6cfa1d8..1370697f 100644 --- a/kubernetes_asyncio/client/models/v1_http_header.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_http_ingress_path.py b/kubernetes_asyncio/client/models/v1_http_ingress_path.py index 210615fe..85b28e9e 100644 --- a/kubernetes_asyncio/client/models/v1_http_ingress_path.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_http_ingress_rule_value.py b/kubernetes_asyncio/client/models/v1_http_ingress_rule_value.py index 4abad97b..799817a4 100644 --- a/kubernetes_asyncio/client/models/v1_http_ingress_rule_value.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_image_volume_source.py b/kubernetes_asyncio/client/models/v1_image_volume_source.py index babae771..506dc005 100644 --- a/kubernetes_asyncio/client/models/v1_image_volume_source.py +++ b/kubernetes_asyncio/client/models/v1_image_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress.py b/kubernetes_asyncio/client/models/v1_ingress.py index a8aac9ba..f3aeb2aa 100644 --- a/kubernetes_asyncio/client/models/v1_ingress.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_backend.py b/kubernetes_asyncio/client/models/v1_ingress_backend.py index 7cc30e1f..52eebd3b 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_backend.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_class.py b/kubernetes_asyncio/client/models/v1_ingress_class.py index 0ad853e3..661732bd 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_class.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_class_list.py b/kubernetes_asyncio/client/models/v1_ingress_class_list.py index 8b2abf92..50f55405 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_class_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_class_parameters_reference.py b/kubernetes_asyncio/client/models/v1_ingress_class_parameters_reference.py index 42c2c2de..e9ebee6a 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_class_parameters_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_class_spec.py b/kubernetes_asyncio/client/models/v1_ingress_class_spec.py index 4fd3fcd0..ee0c8188 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_class_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_list.py b/kubernetes_asyncio/client/models/v1_ingress_list.py index 00845860..2f0f28d0 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_load_balancer_ingress.py b/kubernetes_asyncio/client/models/v1_ingress_load_balancer_ingress.py index 2adce4f7..a24f0ead 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_load_balancer_ingress.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_load_balancer_status.py b/kubernetes_asyncio/client/models/v1_ingress_load_balancer_status.py index c74536b5..b0d7227b 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_load_balancer_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_port_status.py b/kubernetes_asyncio/client/models/v1_ingress_port_status.py index c9740f26..0ab6c4ff 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_port_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_rule.py b/kubernetes_asyncio/client/models/v1_ingress_rule.py index 5b95d253..2fbef28e 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_service_backend.py b/kubernetes_asyncio/client/models/v1_ingress_service_backend.py index 117a8fe8..cc0e1add 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_service_backend.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_spec.py b/kubernetes_asyncio/client/models/v1_ingress_spec.py index c54eabe0..85617afb 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_status.py b/kubernetes_asyncio/client/models/v1_ingress_status.py index 35580c1b..7d46f22e 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ingress_tls.py b/kubernetes_asyncio/client/models/v1_ingress_tls.py index d43f6a45..ee729363 100644 --- a/kubernetes_asyncio/client/models/v1_ingress_tls.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_ip_address.py b/kubernetes_asyncio/client/models/v1_ip_address.py new file mode 100644 index 00000000..a1f552a5 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1_ip_address.py @@ -0,0 +1,213 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1IPAddress(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': 'V1IPAddressSpec' + } + + 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 + """V1IPAddress - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + 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 V1IPAddress. # 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 V1IPAddress. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1IPAddress. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 V1IPAddress. # noqa: E501 + :type api_version: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1IPAddress. # 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 V1IPAddress. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1IPAddress. + + 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 V1IPAddress. # noqa: E501 + :type kind: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1IPAddress. # noqa: E501 + + + :return: The metadata of this V1IPAddress. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1IPAddress. + + + :param metadata: The metadata of this V1IPAddress. # noqa: E501 + :type metadata: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1IPAddress. # noqa: E501 + + + :return: The spec of this V1IPAddress. # noqa: E501 + :rtype: V1IPAddressSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1IPAddress. + + + :param spec: The spec of this V1IPAddress. # noqa: E501 + :type spec: V1IPAddressSpec + """ + + self._spec = spec + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1IPAddress): + 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, V1IPAddress): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_ip_address_list.py b/kubernetes_asyncio/client/models/v1_ip_address_list.py new file mode 100644 index 00000000..00f751d3 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1_ip_address_list.py @@ -0,0 +1,216 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1IPAddressList(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[V1IPAddress]', + '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 + """V1IPAddressList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + 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 V1IPAddressList. # 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 V1IPAddressList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1IPAddressList. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 V1IPAddressList. # noqa: E501 + :type api_version: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1IPAddressList. # noqa: E501 + + items is the list of IPAddresses. # noqa: E501 + + :return: The items of this V1IPAddressList. # noqa: E501 + :rtype: list[V1IPAddress] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1IPAddressList. + + items is the list of IPAddresses. # noqa: E501 + + :param items: The items of this V1IPAddressList. # noqa: E501 + :type items: list[V1IPAddress] + """ + 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 V1IPAddressList. # 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 V1IPAddressList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1IPAddressList. + + 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 V1IPAddressList. # noqa: E501 + :type kind: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1IPAddressList. # noqa: E501 + + + :return: The metadata of this V1IPAddressList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1IPAddressList. + + + :param metadata: The metadata of this V1IPAddressList. # noqa: E501 + :type metadata: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1IPAddressList): + 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, V1IPAddressList): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_ip_address_spec.py b/kubernetes_asyncio/client/models/v1_ip_address_spec.py new file mode 100644 index 00000000..27ac28f0 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1_ip_address_spec.py @@ -0,0 +1,132 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1IPAddressSpec(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 = { + 'parent_ref': 'V1ParentReference' + } + + attribute_map = { + 'parent_ref': 'parentRef' + } + + def __init__(self, parent_ref=None, local_vars_configuration=None): # noqa: E501 + """V1IPAddressSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._parent_ref = None + self.discriminator = None + + self.parent_ref = parent_ref + + @property + def parent_ref(self): + """Gets the parent_ref of this V1IPAddressSpec. # noqa: E501 + + + :return: The parent_ref of this V1IPAddressSpec. # noqa: E501 + :rtype: V1ParentReference + """ + return self._parent_ref + + @parent_ref.setter + def parent_ref(self, parent_ref): + """Sets the parent_ref of this V1IPAddressSpec. + + + :param parent_ref: The parent_ref of this V1IPAddressSpec. # noqa: E501 + :type parent_ref: V1ParentReference + """ + 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 + + self._parent_ref = parent_ref + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1IPAddressSpec): + 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, V1IPAddressSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_ip_block.py b/kubernetes_asyncio/client/models/v1_ip_block.py index 7f2e8874..f4f03072 100644 --- a/kubernetes_asyncio/client/models/v1_ip_block.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_iscsi_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_iscsi_persistent_volume_source.py index 394a51da..a8510d45 100644 --- a/kubernetes_asyncio/client/models/v1_iscsi_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_iscsi_volume_source.py b/kubernetes_asyncio/client/models/v1_iscsi_volume_source.py index d15c39bd..a49e3354 100644 --- a/kubernetes_asyncio/client/models/v1_iscsi_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_job.py b/kubernetes_asyncio/client/models/v1_job.py index d1c0412e..275bb97c 100644 --- a/kubernetes_asyncio/client/models/v1_job.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_job_condition.py b/kubernetes_asyncio/client/models/v1_job_condition.py index 71972fbc..b7f013bf 100644 --- a/kubernetes_asyncio/client/models/v1_job_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_job_list.py b/kubernetes_asyncio/client/models/v1_job_list.py index af893574..f7d392bf 100644 --- a/kubernetes_asyncio/client/models/v1_job_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_job_spec.py b/kubernetes_asyncio/client/models/v1_job_spec.py index 4460be00..6b74cd19 100644 --- a/kubernetes_asyncio/client/models/v1_job_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -179,7 +179,7 @@ def backoff_limit(self, backoff_limit): def backoff_limit_per_index(self): """Gets the backoff_limit_per_index of this V1JobSpec. # noqa: E501 - 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). # noqa: E501 + 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. # noqa: E501 :return: The backoff_limit_per_index of this V1JobSpec. # noqa: E501 :rtype: int @@ -190,7 +190,7 @@ def backoff_limit_per_index(self): def backoff_limit_per_index(self, backoff_limit_per_index): """Sets the backoff_limit_per_index of this V1JobSpec. - 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). # noqa: E501 + 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. # noqa: E501 :param backoff_limit_per_index: The backoff_limit_per_index of this V1JobSpec. # noqa: E501 :type backoff_limit_per_index: int @@ -294,7 +294,7 @@ def manual_selector(self, manual_selector): def max_failed_indexes(self): """Gets the max_failed_indexes of this V1JobSpec. # noqa: E501 - 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). # noqa: E501 + 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. # noqa: E501 :return: The max_failed_indexes of this V1JobSpec. # noqa: E501 :rtype: int @@ -305,7 +305,7 @@ def max_failed_indexes(self): def max_failed_indexes(self, max_failed_indexes): """Sets the max_failed_indexes of this V1JobSpec. - 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). # noqa: E501 + 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. # noqa: E501 :param max_failed_indexes: The max_failed_indexes of this V1JobSpec. # noqa: E501 :type max_failed_indexes: int diff --git a/kubernetes_asyncio/client/models/v1_job_status.py b/kubernetes_asyncio/client/models/v1_job_status.py index a68defb5..8adbfae4 100644 --- a/kubernetes_asyncio/client/models/v1_job_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -224,7 +224,7 @@ def failed(self, failed): def failed_indexes(self): """Gets the failed_indexes of this V1JobStatus. # noqa: E501 - 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). # noqa: E501 + 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. # noqa: E501 :return: The failed_indexes of this V1JobStatus. # noqa: E501 :rtype: str @@ -235,7 +235,7 @@ def failed_indexes(self): def failed_indexes(self, failed_indexes): """Sets the failed_indexes of this V1JobStatus. - 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). # noqa: E501 + 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. # noqa: E501 :param failed_indexes: The failed_indexes of this V1JobStatus. # noqa: E501 :type failed_indexes: str diff --git a/kubernetes_asyncio/client/models/v1_job_template_spec.py b/kubernetes_asyncio/client/models/v1_job_template_spec.py index 1398a0d1..c71024e6 100644 --- a/kubernetes_asyncio/client/models/v1_job_template_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_json_schema_props.py b/kubernetes_asyncio/client/models/v1_json_schema_props.py index 2a937b2d..b191d622 100644 --- a/kubernetes_asyncio/client/models/v1_json_schema_props.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_key_to_path.py b/kubernetes_asyncio/client/models/v1_key_to_path.py index cbdff228..270b984d 100644 --- a/kubernetes_asyncio/client/models/v1_key_to_path.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_label_selector.py b/kubernetes_asyncio/client/models/v1_label_selector.py index 5030f32f..9d479b93 100644 --- a/kubernetes_asyncio/client/models/v1_label_selector.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_label_selector_attributes.py b/kubernetes_asyncio/client/models/v1_label_selector_attributes.py index c8c6e698..f32be719 100644 --- a/kubernetes_asyncio/client/models/v1_label_selector_attributes.py +++ b/kubernetes_asyncio/client/models/v1_label_selector_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_label_selector_requirement.py b/kubernetes_asyncio/client/models/v1_label_selector_requirement.py index 8024b90e..8bdce750 100644 --- a/kubernetes_asyncio/client/models/v1_label_selector_requirement.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_lease.py b/kubernetes_asyncio/client/models/v1_lease.py index 2fcf1c44..3cab14b3 100644 --- a/kubernetes_asyncio/client/models/v1_lease.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_lease_list.py b/kubernetes_asyncio/client/models/v1_lease_list.py index f8e7832f..119256ed 100644 --- a/kubernetes_asyncio/client/models/v1_lease_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_lease_spec.py b/kubernetes_asyncio/client/models/v1_lease_spec.py index 257495e6..09edfce4 100644 --- a/kubernetes_asyncio/client/models/v1_lease_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_lifecycle.py b/kubernetes_asyncio/client/models/v1_lifecycle.py index f37107fb..af08f7f3 100644 --- a/kubernetes_asyncio/client/models/v1_lifecycle.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -37,15 +37,17 @@ class V1Lifecycle(object): """ openapi_types = { 'post_start': 'V1LifecycleHandler', - 'pre_stop': 'V1LifecycleHandler' + 'pre_stop': 'V1LifecycleHandler', + 'stop_signal': 'str' } attribute_map = { 'post_start': 'postStart', - 'pre_stop': 'preStop' + 'pre_stop': 'preStop', + 'stop_signal': 'stopSignal' } - def __init__(self, post_start=None, pre_stop=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, post_start=None, pre_stop=None, stop_signal=None, local_vars_configuration=None): # noqa: E501 """V1Lifecycle - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() @@ -53,12 +55,15 @@ def __init__(self, post_start=None, pre_stop=None, local_vars_configuration=None self._post_start = None self._pre_stop = None + self._stop_signal = None self.discriminator = None if post_start is not None: self.post_start = post_start if pre_stop is not None: self.pre_stop = pre_stop + if stop_signal is not None: + self.stop_signal = stop_signal @property def post_start(self): @@ -102,6 +107,29 @@ def pre_stop(self, pre_stop): self._pre_stop = pre_stop + @property + def stop_signal(self): + """Gets the stop_signal of this V1Lifecycle. # noqa: E501 + + StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name # noqa: E501 + + :return: The stop_signal of this V1Lifecycle. # noqa: E501 + :rtype: str + """ + return self._stop_signal + + @stop_signal.setter + def stop_signal(self, stop_signal): + """Sets the stop_signal of this V1Lifecycle. + + StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name # noqa: E501 + + :param stop_signal: The stop_signal of this V1Lifecycle. # noqa: E501 + :type stop_signal: str + """ + + self._stop_signal = stop_signal + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/kubernetes_asyncio/client/models/v1_lifecycle_handler.py b/kubernetes_asyncio/client/models/v1_lifecycle_handler.py index bcb299b7..7d6e952f 100644 --- a/kubernetes_asyncio/client/models/v1_lifecycle_handler.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_limit_range.py b/kubernetes_asyncio/client/models/v1_limit_range.py index 238de29a..6d02a043 100644 --- a/kubernetes_asyncio/client/models/v1_limit_range.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_limit_range_item.py b/kubernetes_asyncio/client/models/v1_limit_range_item.py index db52bd09..49504c17 100644 --- a/kubernetes_asyncio/client/models/v1_limit_range_item.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_limit_range_list.py b/kubernetes_asyncio/client/models/v1_limit_range_list.py index 0378f9b9..1af9afff 100644 --- a/kubernetes_asyncio/client/models/v1_limit_range_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_limit_range_spec.py b/kubernetes_asyncio/client/models/v1_limit_range_spec.py index d954ecd4..1505ee4c 100644 --- a/kubernetes_asyncio/client/models/v1_limit_range_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_limit_response.py b/kubernetes_asyncio/client/models/v1_limit_response.py index c947f0fa..4c3be445 100644 --- a/kubernetes_asyncio/client/models/v1_limit_response.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_limited_priority_level_configuration.py b/kubernetes_asyncio/client/models/v1_limited_priority_level_configuration.py index dcdc4012..6ba57bf6 100644 --- a/kubernetes_asyncio/client/models/v1_limited_priority_level_configuration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_linux_container_user.py b/kubernetes_asyncio/client/models/v1_linux_container_user.py index 54407452..942e4c66 100644 --- a/kubernetes_asyncio/client/models/v1_linux_container_user.py +++ b/kubernetes_asyncio/client/models/v1_linux_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_list_meta.py b/kubernetes_asyncio/client/models/v1_list_meta.py index 7ac7cf84..7ef2431d 100644 --- a/kubernetes_asyncio/client/models/v1_list_meta.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_load_balancer_ingress.py b/kubernetes_asyncio/client/models/v1_load_balancer_ingress.py index 0f450873..129ddfdd 100644 --- a/kubernetes_asyncio/client/models/v1_load_balancer_ingress.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_load_balancer_status.py b/kubernetes_asyncio/client/models/v1_load_balancer_status.py index 2bf346b8..3bbe247e 100644 --- a/kubernetes_asyncio/client/models/v1_load_balancer_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_local_object_reference.py b/kubernetes_asyncio/client/models/v1_local_object_reference.py index 53f2c5ee..5bae9715 100644 --- a/kubernetes_asyncio/client/models/v1_local_object_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_local_subject_access_review.py b/kubernetes_asyncio/client/models/v1_local_subject_access_review.py index 52153331..ead84b93 100644 --- a/kubernetes_asyncio/client/models/v1_local_subject_access_review.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_local_volume_source.py b/kubernetes_asyncio/client/models/v1_local_volume_source.py index 16e127b2..0ffd0eaf 100644 --- a/kubernetes_asyncio/client/models/v1_local_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_managed_fields_entry.py b/kubernetes_asyncio/client/models/v1_managed_fields_entry.py index 1e9833d3..c970d7c0 100644 --- a/kubernetes_asyncio/client/models/v1_managed_fields_entry.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_match_condition.py b/kubernetes_asyncio/client/models/v1_match_condition.py index 308c5e33..a2b862f6 100644 --- a/kubernetes_asyncio/client/models/v1_match_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_match_resources.py b/kubernetes_asyncio/client/models/v1_match_resources.py index 34d96fb9..ae4b2590 100644 --- a/kubernetes_asyncio/client/models/v1_match_resources.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_modify_volume_status.py b/kubernetes_asyncio/client/models/v1_modify_volume_status.py index 959ce421..5dbd1124 100644 --- a/kubernetes_asyncio/client/models/v1_modify_volume_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_mutating_webhook.py b/kubernetes_asyncio/client/models/v1_mutating_webhook.py index f6ab3308..34ee597e 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_webhook.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration.py b/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration.py index 30a650c5..5c79bb9f 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration_list.py b/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration_list.py index a3362049..375bd877 100644 --- a/kubernetes_asyncio/client/models/v1_mutating_webhook_configuration_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_named_rule_with_operations.py b/kubernetes_asyncio/client/models/v1_named_rule_with_operations.py index 47ebe0c1..36377402 100644 --- a/kubernetes_asyncio/client/models/v1_named_rule_with_operations.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_namespace.py b/kubernetes_asyncio/client/models/v1_namespace.py index 2f8b4e97..4fb609a5 100644 --- a/kubernetes_asyncio/client/models/v1_namespace.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_namespace_condition.py b/kubernetes_asyncio/client/models/v1_namespace_condition.py index c0cfe778..1206830d 100644 --- a/kubernetes_asyncio/client/models/v1_namespace_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_namespace_list.py b/kubernetes_asyncio/client/models/v1_namespace_list.py index 9da73827..2fd0417f 100644 --- a/kubernetes_asyncio/client/models/v1_namespace_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_namespace_spec.py b/kubernetes_asyncio/client/models/v1_namespace_spec.py index 027a85df..ea23a551 100644 --- a/kubernetes_asyncio/client/models/v1_namespace_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_namespace_status.py b/kubernetes_asyncio/client/models/v1_namespace_status.py index 081a5e1a..ace94805 100644 --- a/kubernetes_asyncio/client/models/v1_namespace_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_network_policy.py b/kubernetes_asyncio/client/models/v1_network_policy.py index 896fde64..5f60f531 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_network_policy_egress_rule.py b/kubernetes_asyncio/client/models/v1_network_policy_egress_rule.py index 88842fe0..5bbf4ef0 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_egress_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_network_policy_ingress_rule.py b/kubernetes_asyncio/client/models/v1_network_policy_ingress_rule.py index 7c26b86c..33f327ea 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_ingress_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_network_policy_list.py b/kubernetes_asyncio/client/models/v1_network_policy_list.py index 7189b612..3838720b 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_network_policy_peer.py b/kubernetes_asyncio/client/models/v1_network_policy_peer.py index 1dc65e6f..101e6d3b 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_peer.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_network_policy_port.py b/kubernetes_asyncio/client/models/v1_network_policy_port.py index 08d1285c..cb8a4381 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_port.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_network_policy_spec.py b/kubernetes_asyncio/client/models/v1_network_policy_spec.py index 265b5d92..910dbe9d 100644 --- a/kubernetes_asyncio/client/models/v1_network_policy_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_nfs_volume_source.py b/kubernetes_asyncio/client/models/v1_nfs_volume_source.py index a8a6b6c0..baa37fd0 100644 --- a/kubernetes_asyncio/client/models/v1_nfs_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node.py b/kubernetes_asyncio/client/models/v1_node.py index e318ca48..1b867338 100644 --- a/kubernetes_asyncio/client/models/v1_node.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_address.py b/kubernetes_asyncio/client/models/v1_node_address.py index c412ca9a..9b4754c1 100644 --- a/kubernetes_asyncio/client/models/v1_node_address.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_affinity.py b/kubernetes_asyncio/client/models/v1_node_affinity.py index f7c3e9a3..4ce6a4fa 100644 --- a/kubernetes_asyncio/client/models/v1_node_affinity.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_condition.py b/kubernetes_asyncio/client/models/v1_node_condition.py index 96212d3f..44bccaef 100644 --- a/kubernetes_asyncio/client/models/v1_node_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_config_source.py b/kubernetes_asyncio/client/models/v1_node_config_source.py index 82aceda2..af4703ea 100644 --- a/kubernetes_asyncio/client/models/v1_node_config_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_config_status.py b/kubernetes_asyncio/client/models/v1_node_config_status.py index 2a71c277..407d3687 100644 --- a/kubernetes_asyncio/client/models/v1_node_config_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_daemon_endpoints.py b/kubernetes_asyncio/client/models/v1_node_daemon_endpoints.py index 8cabbb6d..54c9a0db 100644 --- a/kubernetes_asyncio/client/models/v1_node_daemon_endpoints.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_features.py b/kubernetes_asyncio/client/models/v1_node_features.py index 6ca47429..c88f87cc 100644 --- a/kubernetes_asyncio/client/models/v1_node_features.py +++ b/kubernetes_asyncio/client/models/v1_node_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_list.py b/kubernetes_asyncio/client/models/v1_node_list.py index 3ad4163c..16c2b481 100644 --- a/kubernetes_asyncio/client/models/v1_node_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_runtime_handler.py b/kubernetes_asyncio/client/models/v1_node_runtime_handler.py index 0b7b1313..d3ff7f5b 100644 --- a/kubernetes_asyncio/client/models/v1_node_runtime_handler.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_runtime_handler_features.py b/kubernetes_asyncio/client/models/v1_node_runtime_handler_features.py index 26bfdd4a..5e1666a2 100644 --- a/kubernetes_asyncio/client/models/v1_node_runtime_handler_features.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_selector.py b/kubernetes_asyncio/client/models/v1_node_selector.py index 63ac9bf2..307e2895 100644 --- a/kubernetes_asyncio/client/models/v1_node_selector.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_selector_requirement.py b/kubernetes_asyncio/client/models/v1_node_selector_requirement.py index 97a45ad2..dc06e3ec 100644 --- a/kubernetes_asyncio/client/models/v1_node_selector_requirement.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_selector_term.py b/kubernetes_asyncio/client/models/v1_node_selector_term.py index e83e6995..e81e54a5 100644 --- a/kubernetes_asyncio/client/models/v1_node_selector_term.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_spec.py b/kubernetes_asyncio/client/models/v1_node_spec.py index 640f26da..a9020048 100644 --- a/kubernetes_asyncio/client/models/v1_node_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_status.py b/kubernetes_asyncio/client/models/v1_node_status.py index ab221591..92e837e0 100644 --- a/kubernetes_asyncio/client/models/v1_node_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_node_swap_status.py b/kubernetes_asyncio/client/models/v1_node_swap_status.py new file mode 100644 index 00000000..51c86826 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1_node_swap_status.py @@ -0,0 +1,133 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1NodeSwapStatus(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 = { + 'capacity': 'int' + } + + attribute_map = { + 'capacity': 'capacity' + } + + def __init__(self, capacity=None, local_vars_configuration=None): # noqa: E501 + """V1NodeSwapStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._capacity = None + self.discriminator = None + + if capacity is not None: + self.capacity = capacity + + @property + def capacity(self): + """Gets the capacity of this V1NodeSwapStatus. # noqa: E501 + + Total amount of swap memory in bytes. # noqa: E501 + + :return: The capacity of this V1NodeSwapStatus. # noqa: E501 + :rtype: int + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this V1NodeSwapStatus. + + Total amount of swap memory in bytes. # noqa: E501 + + :param capacity: The capacity of this V1NodeSwapStatus. # noqa: E501 + :type capacity: int + """ + + self._capacity = capacity + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1NodeSwapStatus): + 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, V1NodeSwapStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_node_system_info.py b/kubernetes_asyncio/client/models/v1_node_system_info.py index c7ea48eb..fd9a4dac 100644 --- a/kubernetes_asyncio/client/models/v1_node_system_info.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -45,6 +45,7 @@ class V1NodeSystemInfo(object): 'machine_id': 'str', 'operating_system': 'str', 'os_image': 'str', + 'swap': 'V1NodeSwapStatus', 'system_uuid': 'str' } @@ -58,10 +59,11 @@ class V1NodeSystemInfo(object): 'machine_id': 'machineID', 'operating_system': 'operatingSystem', 'os_image': 'osImage', + 'swap': 'swap', 'system_uuid': 'systemUUID' } - def __init__(self, architecture=None, boot_id=None, container_runtime_version=None, kernel_version=None, kube_proxy_version=None, kubelet_version=None, machine_id=None, operating_system=None, os_image=None, system_uuid=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, architecture=None, boot_id=None, container_runtime_version=None, kernel_version=None, kube_proxy_version=None, kubelet_version=None, machine_id=None, operating_system=None, os_image=None, swap=None, system_uuid=None, local_vars_configuration=None): # noqa: E501 """V1NodeSystemInfo - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() @@ -76,6 +78,7 @@ def __init__(self, architecture=None, boot_id=None, container_runtime_version=No self._machine_id = None self._operating_system = None self._os_image = None + self._swap = None self._system_uuid = None self.discriminator = None @@ -88,6 +91,8 @@ def __init__(self, architecture=None, boot_id=None, container_runtime_version=No self.machine_id = machine_id self.operating_system = operating_system self.os_image = os_image + if swap is not None: + self.swap = swap self.system_uuid = system_uuid @property @@ -315,6 +320,27 @@ def os_image(self, os_image): self._os_image = os_image + @property + def swap(self): + """Gets the swap of this V1NodeSystemInfo. # noqa: E501 + + + :return: The swap of this V1NodeSystemInfo. # noqa: E501 + :rtype: V1NodeSwapStatus + """ + return self._swap + + @swap.setter + def swap(self, swap): + """Sets the swap of this V1NodeSystemInfo. + + + :param swap: The swap of this V1NodeSystemInfo. # noqa: E501 + :type swap: V1NodeSwapStatus + """ + + self._swap = swap + @property def system_uuid(self): """Gets the system_uuid of this V1NodeSystemInfo. # noqa: E501 diff --git a/kubernetes_asyncio/client/models/v1_non_resource_attributes.py b/kubernetes_asyncio/client/models/v1_non_resource_attributes.py index fc49b624..d7cf564a 100644 --- a/kubernetes_asyncio/client/models/v1_non_resource_attributes.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_non_resource_policy_rule.py b/kubernetes_asyncio/client/models/v1_non_resource_policy_rule.py index 381e4f98..2aec07f0 100644 --- a/kubernetes_asyncio/client/models/v1_non_resource_policy_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_non_resource_rule.py b/kubernetes_asyncio/client/models/v1_non_resource_rule.py index 0ba61d01..eeb2fc61 100644 --- a/kubernetes_asyncio/client/models/v1_non_resource_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_object_field_selector.py b/kubernetes_asyncio/client/models/v1_object_field_selector.py index ad125cb8..74feb8df 100644 --- a/kubernetes_asyncio/client/models/v1_object_field_selector.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_object_meta.py b/kubernetes_asyncio/client/models/v1_object_meta.py index ffc0f52c..e527a259 100644 --- a/kubernetes_asyncio/client/models/v1_object_meta.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_object_reference.py b/kubernetes_asyncio/client/models/v1_object_reference.py index 0b7fdb77..2604e1f9 100644 --- a/kubernetes_asyncio/client/models/v1_object_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_overhead.py b/kubernetes_asyncio/client/models/v1_overhead.py index 595c9604..94d479d1 100644 --- a/kubernetes_asyncio/client/models/v1_overhead.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_owner_reference.py b/kubernetes_asyncio/client/models/v1_owner_reference.py index e418c62b..722ad193 100644 --- a/kubernetes_asyncio/client/models/v1_owner_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_param_kind.py b/kubernetes_asyncio/client/models/v1_param_kind.py index ccfe7657..e8381117 100644 --- a/kubernetes_asyncio/client/models/v1_param_kind.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_param_ref.py b/kubernetes_asyncio/client/models/v1_param_ref.py index d6910827..60e62d71 100644 --- a/kubernetes_asyncio/client/models/v1_param_ref.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_parent_reference.py b/kubernetes_asyncio/client/models/v1_parent_reference.py new file mode 100644 index 00000000..ae2df688 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1_parent_reference.py @@ -0,0 +1,219 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1ParentReference(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 = { + 'group': 'str', + 'name': 'str', + 'namespace': 'str', + 'resource': 'str' + } + + attribute_map = { + 'group': 'group', + 'name': 'name', + 'namespace': 'namespace', + 'resource': 'resource' + } + + def __init__(self, group=None, name=None, namespace=None, resource=None, local_vars_configuration=None): # noqa: E501 + """V1ParentReference - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._group = None + self._name = None + self._namespace = None + self._resource = None + self.discriminator = None + + if group is not None: + self.group = group + self.name = name + if namespace is not None: + self.namespace = namespace + self.resource = resource + + @property + def group(self): + """Gets the group of this V1ParentReference. # noqa: E501 + + Group is the group of the object being referenced. # noqa: E501 + + :return: The group of this V1ParentReference. # noqa: E501 + :rtype: str + """ + return self._group + + @group.setter + def group(self, group): + """Sets the group of this V1ParentReference. + + Group is the group of the object being referenced. # noqa: E501 + + :param group: The group of this V1ParentReference. # noqa: E501 + :type group: str + """ + + self._group = group + + @property + def name(self): + """Gets the name of this V1ParentReference. # noqa: E501 + + Name is the name of the object being referenced. # noqa: E501 + + :return: The name of this V1ParentReference. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1ParentReference. + + Name is the name of the object being referenced. # noqa: E501 + + :param name: The name of this V1ParentReference. # noqa: E501 + :type name: 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 V1ParentReference. # noqa: E501 + + Namespace is the namespace of the object being referenced. # noqa: E501 + + :return: The namespace of this V1ParentReference. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this V1ParentReference. + + Namespace is the namespace of the object being referenced. # noqa: E501 + + :param namespace: The namespace of this V1ParentReference. # noqa: E501 + :type namespace: str + """ + + self._namespace = namespace + + @property + def resource(self): + """Gets the resource of this V1ParentReference. # noqa: E501 + + Resource is the resource of the object being referenced. # noqa: E501 + + :return: The resource of this V1ParentReference. # noqa: E501 + :rtype: str + """ + return self._resource + + @resource.setter + def resource(self, resource): + """Sets the resource of this V1ParentReference. + + Resource is the resource of the object being referenced. # noqa: E501 + + :param resource: The resource of this V1ParentReference. # noqa: E501 + :type resource: str + """ + if self.local_vars_configuration.client_side_validation and resource is None: # noqa: E501 + raise ValueError("Invalid value for `resource`, must not be `None`") # noqa: E501 + + self._resource = resource + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1ParentReference): + 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, V1ParentReference): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume.py b/kubernetes_asyncio/client/models/v1_persistent_volume.py index 6890475a..481b4e17 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim.py b/kubernetes_asyncio/client/models/v1_persistent_volume_claim.py index f80388b6..f8bc7466 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_condition.py b/kubernetes_asyncio/client/models/v1_persistent_volume_claim_condition.py index d3a77668..21ae6c39 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_list.py b/kubernetes_asyncio/client/models/v1_persistent_volume_claim_list.py index 6247c226..863d7635 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_spec.py b/kubernetes_asyncio/client/models/v1_persistent_volume_claim_spec.py index ccc973e1..ef251d94 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_status.py b/kubernetes_asyncio/client/models/v1_persistent_volume_claim_status.py index a5f55e5a..c85c6d66 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_template.py b/kubernetes_asyncio/client/models/v1_persistent_volume_claim_template.py index c32e8385..61589f11 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_template.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_volume_source.py b/kubernetes_asyncio/client/models/v1_persistent_volume_claim_volume_source.py index 9312ff2b..c2df9541 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_claim_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_list.py b/kubernetes_asyncio/client/models/v1_persistent_volume_list.py index 4398e266..e46c3f18 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_spec.py b/kubernetes_asyncio/client/models/v1_persistent_volume_spec.py index 0c30d1e7..21b3662b 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_persistent_volume_status.py b/kubernetes_asyncio/client/models/v1_persistent_volume_status.py index c077e815..af693c62 100644 --- a/kubernetes_asyncio/client/models/v1_persistent_volume_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_photon_persistent_disk_volume_source.py b/kubernetes_asyncio/client/models/v1_photon_persistent_disk_volume_source.py index a36ff71e..bb058894 100644 --- a/kubernetes_asyncio/client/models/v1_photon_persistent_disk_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod.py b/kubernetes_asyncio/client/models/v1_pod.py index da213884..9c38d645 100644 --- a/kubernetes_asyncio/client/models/v1_pod.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_affinity.py b/kubernetes_asyncio/client/models/v1_pod_affinity.py index eb11e220..434f7f92 100644 --- a/kubernetes_asyncio/client/models/v1_pod_affinity.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_affinity_term.py b/kubernetes_asyncio/client/models/v1_pod_affinity_term.py index 2772674e..57a7e910 100644 --- a/kubernetes_asyncio/client/models/v1_pod_affinity_term.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -104,7 +104,7 @@ def label_selector(self, label_selector): 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 a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). # 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. # noqa: E501 :return: The match_label_keys of this V1PodAffinityTerm. # noqa: E501 :rtype: list[str] @@ -115,7 +115,7 @@ def match_label_keys(self): 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 a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). # 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. # noqa: E501 :param match_label_keys: The match_label_keys of this V1PodAffinityTerm. # noqa: E501 :type match_label_keys: list[str] @@ -127,7 +127,7 @@ def match_label_keys(self, match_label_keys): 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 a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). # 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. # noqa: E501 :return: The mismatch_label_keys of this V1PodAffinityTerm. # noqa: E501 :rtype: list[str] @@ -138,7 +138,7 @@ def mismatch_label_keys(self): 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 a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). # 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. # noqa: E501 :param mismatch_label_keys: The mismatch_label_keys of this V1PodAffinityTerm. # noqa: E501 :type mismatch_label_keys: list[str] diff --git a/kubernetes_asyncio/client/models/v1_pod_anti_affinity.py b/kubernetes_asyncio/client/models/v1_pod_anti_affinity.py index ed665bc4..2f674e9a 100644 --- a/kubernetes_asyncio/client/models/v1_pod_anti_affinity.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_condition.py b/kubernetes_asyncio/client/models/v1_pod_condition.py index 23858cba..c8a6b399 100644 --- a/kubernetes_asyncio/client/models/v1_pod_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -39,6 +39,7 @@ class V1PodCondition(object): 'last_probe_time': 'datetime', 'last_transition_time': 'datetime', 'message': 'str', + 'observed_generation': 'int', 'reason': 'str', 'status': 'str', 'type': 'str' @@ -48,12 +49,13 @@ class V1PodCondition(object): 'last_probe_time': 'lastProbeTime', 'last_transition_time': 'lastTransitionTime', 'message': 'message', + 'observed_generation': 'observedGeneration', 'reason': 'reason', 'status': 'status', 'type': 'type' } - def __init__(self, last_probe_time=None, last_transition_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, last_probe_time=None, last_transition_time=None, message=None, observed_generation=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 """V1PodCondition - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() @@ -62,6 +64,7 @@ def __init__(self, last_probe_time=None, last_transition_time=None, message=None self._last_probe_time = None self._last_transition_time = None self._message = None + self._observed_generation = None self._reason = None self._status = None self._type = None @@ -73,6 +76,8 @@ def __init__(self, last_probe_time=None, last_transition_time=None, message=None self.last_transition_time = last_transition_time if message is not None: self.message = message + if observed_generation is not None: + self.observed_generation = observed_generation if reason is not None: self.reason = reason self.status = status @@ -147,6 +152,29 @@ def message(self, message): self._message = message + @property + def observed_generation(self): + """Gets the observed_generation of this V1PodCondition. # noqa: E501 + + If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field. # noqa: E501 + + :return: The observed_generation of this V1PodCondition. # noqa: E501 + :rtype: int + """ + return self._observed_generation + + @observed_generation.setter + def observed_generation(self, observed_generation): + """Sets the observed_generation of this V1PodCondition. + + If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field. # noqa: E501 + + :param observed_generation: The observed_generation of this V1PodCondition. # noqa: E501 + :type observed_generation: int + """ + + self._observed_generation = observed_generation + @property def reason(self): """Gets the reason of this V1PodCondition. # noqa: E501 diff --git a/kubernetes_asyncio/client/models/v1_pod_disruption_budget.py b/kubernetes_asyncio/client/models/v1_pod_disruption_budget.py index c0532805..362f16be 100644 --- a/kubernetes_asyncio/client/models/v1_pod_disruption_budget.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_list.py b/kubernetes_asyncio/client/models/v1_pod_disruption_budget_list.py index 72fe54d7..b2f1ba2d 100644 --- a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_spec.py b/kubernetes_asyncio/client/models/v1_pod_disruption_budget_spec.py index 2c4c6ac5..68b04868 100644 --- a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -141,7 +141,7 @@ def selector(self, selector): def unhealthy_pod_eviction_policy(self): """Gets the unhealthy_pod_eviction_policy of this V1PodDisruptionBudgetSpec. # noqa: E501 - UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\". Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy. IfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction. AlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction. Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field. This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default). # noqa: E501 + UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\". Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy. IfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction. AlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction. Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field. # noqa: E501 :return: The unhealthy_pod_eviction_policy of this V1PodDisruptionBudgetSpec. # noqa: E501 :rtype: str @@ -152,7 +152,7 @@ def unhealthy_pod_eviction_policy(self): def unhealthy_pod_eviction_policy(self, unhealthy_pod_eviction_policy): """Sets the unhealthy_pod_eviction_policy of this V1PodDisruptionBudgetSpec. - UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\". Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy. IfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction. AlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction. Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field. This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default). # noqa: E501 + UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\". Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy. IfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction. AlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction. Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field. # noqa: E501 :param unhealthy_pod_eviction_policy: The unhealthy_pod_eviction_policy of this V1PodDisruptionBudgetSpec. # noqa: E501 :type unhealthy_pod_eviction_policy: str diff --git a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_status.py b/kubernetes_asyncio/client/models/v1_pod_disruption_budget_status.py index b1da06d4..1178a456 100644 --- a/kubernetes_asyncio/client/models/v1_pod_disruption_budget_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_dns_config.py b/kubernetes_asyncio/client/models/v1_pod_dns_config.py index efffa3cf..55e42e02 100644 --- a/kubernetes_asyncio/client/models/v1_pod_dns_config.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_dns_config_option.py b/kubernetes_asyncio/client/models/v1_pod_dns_config_option.py index fa296960..b9a4b99e 100644 --- a/kubernetes_asyncio/client/models/v1_pod_dns_config_option.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_failure_policy.py b/kubernetes_asyncio/client/models/v1_pod_failure_policy.py index 5049188c..0b144822 100644 --- a/kubernetes_asyncio/client/models/v1_pod_failure_policy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py b/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py index 31dbd468..3c7808ff 100644 --- a/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py b/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py index 2217f935..00bcd1e4 100644 --- a/kubernetes_asyncio/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_failure_policy_rule.py b/kubernetes_asyncio/client/models/v1_pod_failure_policy_rule.py index 156663a0..1ff04d5f 100644 --- a/kubernetes_asyncio/client/models/v1_pod_failure_policy_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -68,7 +68,7 @@ def __init__(self, action=None, on_exit_codes=None, on_pod_conditions=None, loca def action(self): """Gets the action of this V1PodFailurePolicyRule. # noqa: E501 - Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated. - FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. This value is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). - Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created. - Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. # noqa: E501 + Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated. - FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. - Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created. - Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. # noqa: E501 :return: The action of this V1PodFailurePolicyRule. # noqa: E501 :rtype: str @@ -79,7 +79,7 @@ def action(self): def action(self, action): """Sets the action of this V1PodFailurePolicyRule. - Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated. - FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. This value is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). - Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created. - Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. # noqa: E501 + Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated. - FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. - Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created. - Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. # noqa: E501 :param action: The action of this V1PodFailurePolicyRule. # noqa: E501 :type action: str diff --git a/kubernetes_asyncio/client/models/v1_pod_ip.py b/kubernetes_asyncio/client/models/v1_pod_ip.py index b5f547b7..909f15a7 100644 --- a/kubernetes_asyncio/client/models/v1_pod_ip.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_list.py b/kubernetes_asyncio/client/models/v1_pod_list.py index 9f61b99b..f241651f 100644 --- a/kubernetes_asyncio/client/models/v1_pod_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_os.py b/kubernetes_asyncio/client/models/v1_pod_os.py index 51141a7d..b8213a3c 100644 --- a/kubernetes_asyncio/client/models/v1_pod_os.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_readiness_gate.py b/kubernetes_asyncio/client/models/v1_pod_readiness_gate.py index 1924ba59..a03da41a 100644 --- a/kubernetes_asyncio/client/models/v1_pod_readiness_gate.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_resource_claim.py b/kubernetes_asyncio/client/models/v1_pod_resource_claim.py index ed94d07c..64f12085 100644 --- a/kubernetes_asyncio/client/models/v1_pod_resource_claim.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_resource_claim_status.py b/kubernetes_asyncio/client/models/v1_pod_resource_claim_status.py index cd2617e8..e11b66f0 100644 --- a/kubernetes_asyncio/client/models/v1_pod_resource_claim_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_scheduling_gate.py b/kubernetes_asyncio/client/models/v1_pod_scheduling_gate.py index 2de90540..039b47df 100644 --- a/kubernetes_asyncio/client/models/v1_pod_scheduling_gate.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_security_context.py b/kubernetes_asyncio/client/models/v1_pod_security_context.py index 8ca79926..3d8de3c1 100644 --- a/kubernetes_asyncio/client/models/v1_pod_security_context.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_spec.py b/kubernetes_asyncio/client/models/v1_pod_spec.py index 425da688..2a6341e8 100644 --- a/kubernetes_asyncio/client/models/v1_pod_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -596,7 +596,7 @@ def image_pull_secrets(self, image_pull_secrets): def init_containers(self): """Gets the init_containers of this V1PodSpec. # noqa: E501 - 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/ # noqa: E501 + 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 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/ # noqa: E501 :return: The init_containers of this V1PodSpec. # noqa: E501 :rtype: list[V1Container] @@ -607,7 +607,7 @@ def init_containers(self): def init_containers(self, init_containers): """Sets the init_containers of this V1PodSpec. - 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/ # noqa: E501 + 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 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/ # noqa: E501 :param init_containers: The init_containers of this V1PodSpec. # noqa: E501 :type init_containers: list[V1Container] diff --git a/kubernetes_asyncio/client/models/v1_pod_status.py b/kubernetes_asyncio/client/models/v1_pod_status.py index eebee3a0..d948c762 100644 --- a/kubernetes_asyncio/client/models/v1_pod_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -44,6 +44,7 @@ class V1PodStatus(object): 'init_container_statuses': 'list[V1ContainerStatus]', 'message': 'str', 'nominated_node_name': 'str', + 'observed_generation': 'int', 'phase': 'str', 'pod_ip': 'str', 'pod_ips': 'list[V1PodIP]', @@ -63,6 +64,7 @@ class V1PodStatus(object): 'init_container_statuses': 'initContainerStatuses', 'message': 'message', 'nominated_node_name': 'nominatedNodeName', + 'observed_generation': 'observedGeneration', 'phase': 'phase', 'pod_ip': 'podIP', 'pod_ips': 'podIPs', @@ -73,7 +75,7 @@ class V1PodStatus(object): 'start_time': 'startTime' } - def __init__(self, conditions=None, container_statuses=None, ephemeral_container_statuses=None, host_ip=None, host_ips=None, init_container_statuses=None, message=None, nominated_node_name=None, phase=None, pod_ip=None, pod_ips=None, qos_class=None, reason=None, resize=None, resource_claim_statuses=None, start_time=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, conditions=None, container_statuses=None, ephemeral_container_statuses=None, host_ip=None, host_ips=None, init_container_statuses=None, message=None, nominated_node_name=None, observed_generation=None, phase=None, pod_ip=None, pod_ips=None, qos_class=None, reason=None, resize=None, resource_claim_statuses=None, start_time=None, local_vars_configuration=None): # noqa: E501 """V1PodStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() @@ -87,6 +89,7 @@ def __init__(self, conditions=None, container_statuses=None, ephemeral_container self._init_container_statuses = None self._message = None self._nominated_node_name = None + self._observed_generation = None self._phase = None self._pod_ip = None self._pod_ips = None @@ -113,6 +116,8 @@ def __init__(self, conditions=None, container_statuses=None, ephemeral_container self.message = message if nominated_node_name is not None: self.nominated_node_name = nominated_node_name + if observed_generation is not None: + self.observed_generation = observed_generation if phase is not None: self.phase = phase if pod_ip is not None: @@ -314,6 +319,29 @@ def nominated_node_name(self, nominated_node_name): self._nominated_node_name = nominated_node_name + @property + def observed_generation(self): + """Gets the observed_generation of this V1PodStatus. # noqa: E501 + + If set, this represents the .metadata.generation that the pod status was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field. # noqa: E501 + + :return: The observed_generation of this V1PodStatus. # noqa: E501 + :rtype: int + """ + return self._observed_generation + + @observed_generation.setter + def observed_generation(self, observed_generation): + """Sets the observed_generation of this V1PodStatus. + + If set, this represents the .metadata.generation that the pod status was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field. # noqa: E501 + + :param observed_generation: The observed_generation of this V1PodStatus. # noqa: E501 + :type observed_generation: int + """ + + self._observed_generation = observed_generation + @property def phase(self): """Gets the phase of this V1PodStatus. # noqa: E501 @@ -433,7 +461,7 @@ def reason(self, reason): def resize(self): """Gets the resize of this V1PodStatus. # noqa: E501 - Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\" # noqa: E501 + Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\" Deprecated: Resize status is moved to two pod conditions PodResizePending and PodResizeInProgress. PodResizePending will track states where the spec has been resized, but the Kubelet has not yet allocated the resources. PodResizeInProgress will track in-progress resizes, and should be present whenever allocated resources != acknowledged resources. # noqa: E501 :return: The resize of this V1PodStatus. # noqa: E501 :rtype: str @@ -444,7 +472,7 @@ def resize(self): def resize(self, resize): """Sets the resize of this V1PodStatus. - Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\" # noqa: E501 + Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\" Deprecated: Resize status is moved to two pod conditions PodResizePending and PodResizeInProgress. PodResizePending will track states where the spec has been resized, but the Kubelet has not yet allocated the resources. PodResizeInProgress will track in-progress resizes, and should be present whenever allocated resources != acknowledged resources. # noqa: E501 :param resize: The resize of this V1PodStatus. # noqa: E501 :type resize: str diff --git a/kubernetes_asyncio/client/models/v1_pod_template.py b/kubernetes_asyncio/client/models/v1_pod_template.py index 9f176a60..f064e676 100644 --- a/kubernetes_asyncio/client/models/v1_pod_template.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_template_list.py b/kubernetes_asyncio/client/models/v1_pod_template_list.py index 50bc5f4f..2aa598ca 100644 --- a/kubernetes_asyncio/client/models/v1_pod_template_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_pod_template_spec.py b/kubernetes_asyncio/client/models/v1_pod_template_spec.py index 2b51b6e5..014fe6e5 100644 --- a/kubernetes_asyncio/client/models/v1_pod_template_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_policy_rule.py b/kubernetes_asyncio/client/models/v1_policy_rule.py index b0651fbd..ef88ec30 100644 --- a/kubernetes_asyncio/client/models/v1_policy_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_policy_rules_with_subjects.py b/kubernetes_asyncio/client/models/v1_policy_rules_with_subjects.py index 84c846ba..0a14e05f 100644 --- a/kubernetes_asyncio/client/models/v1_policy_rules_with_subjects.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_port_status.py b/kubernetes_asyncio/client/models/v1_port_status.py index ad1d559f..584242a4 100644 --- a/kubernetes_asyncio/client/models/v1_port_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_portworx_volume_source.py b/kubernetes_asyncio/client/models/v1_portworx_volume_source.py index 5b1187a5..c1e1af6c 100644 --- a/kubernetes_asyncio/client/models/v1_portworx_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_preconditions.py b/kubernetes_asyncio/client/models/v1_preconditions.py index 6cf296a5..e7a5e463 100644 --- a/kubernetes_asyncio/client/models/v1_preconditions.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_preferred_scheduling_term.py b/kubernetes_asyncio/client/models/v1_preferred_scheduling_term.py index 6c20f3bd..3ccb80b3 100644 --- a/kubernetes_asyncio/client/models/v1_preferred_scheduling_term.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_priority_class.py b/kubernetes_asyncio/client/models/v1_priority_class.py index 10ec4e1b..f595563e 100644 --- a/kubernetes_asyncio/client/models/v1_priority_class.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_priority_class_list.py b/kubernetes_asyncio/client/models/v1_priority_class_list.py index cb4279d3..7909767c 100644 --- a/kubernetes_asyncio/client/models/v1_priority_class_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration.py b/kubernetes_asyncio/client/models/v1_priority_level_configuration.py index 68a6b1fa..ffb5cb0d 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_condition.py b/kubernetes_asyncio/client/models/v1_priority_level_configuration_condition.py index b05502c4..bba5d0e8 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_list.py b/kubernetes_asyncio/client/models/v1_priority_level_configuration_list.py index ab39ef6d..5b5f00c2 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_reference.py b/kubernetes_asyncio/client/models/v1_priority_level_configuration_reference.py index 9c7ca359..0ce8ac1e 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_spec.py b/kubernetes_asyncio/client/models/v1_priority_level_configuration_spec.py index b9722732..cf597efc 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_priority_level_configuration_status.py b/kubernetes_asyncio/client/models/v1_priority_level_configuration_status.py index 126d2be3..c979381f 100644 --- a/kubernetes_asyncio/client/models/v1_priority_level_configuration_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_probe.py b/kubernetes_asyncio/client/models/v1_probe.py index 8aff45cc..a958a9af 100644 --- a/kubernetes_asyncio/client/models/v1_probe.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_projected_volume_source.py b/kubernetes_asyncio/client/models/v1_projected_volume_source.py index 7c75ec2f..baf7a1f8 100644 --- a/kubernetes_asyncio/client/models/v1_projected_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_queuing_configuration.py b/kubernetes_asyncio/client/models/v1_queuing_configuration.py index ef0bd63c..6a6e7a2c 100644 --- a/kubernetes_asyncio/client/models/v1_queuing_configuration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_quobyte_volume_source.py b/kubernetes_asyncio/client/models/v1_quobyte_volume_source.py index 1d8e1a4d..58beb3b4 100644 --- a/kubernetes_asyncio/client/models/v1_quobyte_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_rbd_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_rbd_persistent_volume_source.py index a954323d..f2c4eb4a 100644 --- a/kubernetes_asyncio/client/models/v1_rbd_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_rbd_volume_source.py b/kubernetes_asyncio/client/models/v1_rbd_volume_source.py index f1a6b070..e3436d12 100644 --- a/kubernetes_asyncio/client/models/v1_rbd_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_replica_set.py b/kubernetes_asyncio/client/models/v1_replica_set.py index 8fc9059c..bb79a679 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_replica_set_condition.py b/kubernetes_asyncio/client/models/v1_replica_set_condition.py index 4ee45504..293a3372 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_replica_set_list.py b/kubernetes_asyncio/client/models/v1_replica_set_list.py index 7a2c7041..ef213cd5 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -96,7 +96,7 @@ def api_version(self, api_version): def items(self): """Gets the items of this V1ReplicaSetList. # noqa: E501 - List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller # noqa: E501 + List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :return: The items of this V1ReplicaSetList. # noqa: E501 :rtype: list[V1ReplicaSet] @@ -107,7 +107,7 @@ def items(self): def items(self, items): """Sets the items of this V1ReplicaSetList. - List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller # noqa: E501 + List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :param items: The items of this V1ReplicaSetList. # noqa: E501 :type items: list[V1ReplicaSet] diff --git a/kubernetes_asyncio/client/models/v1_replica_set_spec.py b/kubernetes_asyncio/client/models/v1_replica_set_spec.py index 8416a063..dde1d98e 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -96,7 +96,7 @@ def min_ready_seconds(self, min_ready_seconds): def replicas(self): """Gets the replicas of this V1ReplicaSetSpec. # noqa: E501 - Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller # noqa: E501 + Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :return: The replicas of this V1ReplicaSetSpec. # noqa: E501 :rtype: int @@ -107,7 +107,7 @@ def replicas(self): def replicas(self, replicas): """Sets the replicas of this V1ReplicaSetSpec. - Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller # noqa: E501 + Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :param replicas: The replicas of this V1ReplicaSetSpec. # noqa: E501 :type replicas: int diff --git a/kubernetes_asyncio/client/models/v1_replica_set_status.py b/kubernetes_asyncio/client/models/v1_replica_set_status.py index c5c7df80..69e55e67 100644 --- a/kubernetes_asyncio/client/models/v1_replica_set_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -41,7 +41,8 @@ class V1ReplicaSetStatus(object): 'fully_labeled_replicas': 'int', 'observed_generation': 'int', 'ready_replicas': 'int', - 'replicas': 'int' + 'replicas': 'int', + 'terminating_replicas': 'int' } attribute_map = { @@ -50,10 +51,11 @@ class V1ReplicaSetStatus(object): 'fully_labeled_replicas': 'fullyLabeledReplicas', 'observed_generation': 'observedGeneration', 'ready_replicas': 'readyReplicas', - 'replicas': 'replicas' + 'replicas': 'replicas', + 'terminating_replicas': 'terminatingReplicas' } - def __init__(self, available_replicas=None, conditions=None, fully_labeled_replicas=None, observed_generation=None, ready_replicas=None, replicas=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, available_replicas=None, conditions=None, fully_labeled_replicas=None, observed_generation=None, ready_replicas=None, replicas=None, terminating_replicas=None, local_vars_configuration=None): # noqa: E501 """V1ReplicaSetStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() @@ -65,6 +67,7 @@ def __init__(self, available_replicas=None, conditions=None, fully_labeled_repli self._observed_generation = None self._ready_replicas = None self._replicas = None + self._terminating_replicas = None self.discriminator = None if available_replicas is not None: @@ -78,12 +81,14 @@ def __init__(self, available_replicas=None, conditions=None, fully_labeled_repli if ready_replicas is not None: self.ready_replicas = ready_replicas self.replicas = replicas + if terminating_replicas is not None: + self.terminating_replicas = terminating_replicas @property def available_replicas(self): """Gets the available_replicas of this V1ReplicaSetStatus. # noqa: E501 - The number of available replicas (ready for at least minReadySeconds) for this replica set. # noqa: E501 + The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set. # noqa: E501 :return: The available_replicas of this V1ReplicaSetStatus. # noqa: E501 :rtype: int @@ -94,7 +99,7 @@ def available_replicas(self): def available_replicas(self, available_replicas): """Sets the available_replicas of this V1ReplicaSetStatus. - The number of available replicas (ready for at least minReadySeconds) for this replica set. # noqa: E501 + The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set. # noqa: E501 :param available_replicas: The available_replicas of this V1ReplicaSetStatus. # noqa: E501 :type available_replicas: int @@ -129,7 +134,7 @@ def conditions(self, conditions): def fully_labeled_replicas(self): """Gets the fully_labeled_replicas of this V1ReplicaSetStatus. # noqa: E501 - The number of pods that have labels matching the labels of the pod template of the replicaset. # noqa: E501 + The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset. # noqa: E501 :return: The fully_labeled_replicas of this V1ReplicaSetStatus. # noqa: E501 :rtype: int @@ -140,7 +145,7 @@ def fully_labeled_replicas(self): def fully_labeled_replicas(self, fully_labeled_replicas): """Sets the fully_labeled_replicas of this V1ReplicaSetStatus. - The number of pods that have labels matching the labels of the pod template of the replicaset. # noqa: E501 + The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset. # noqa: E501 :param fully_labeled_replicas: The fully_labeled_replicas of this V1ReplicaSetStatus. # noqa: E501 :type fully_labeled_replicas: int @@ -175,7 +180,7 @@ def observed_generation(self, observed_generation): def ready_replicas(self): """Gets the ready_replicas of this V1ReplicaSetStatus. # noqa: E501 - readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition. # noqa: E501 + The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition. # noqa: E501 :return: The ready_replicas of this V1ReplicaSetStatus. # noqa: E501 :rtype: int @@ -186,7 +191,7 @@ def ready_replicas(self): def ready_replicas(self, ready_replicas): """Sets the ready_replicas of this V1ReplicaSetStatus. - readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition. # noqa: E501 + The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition. # noqa: E501 :param ready_replicas: The ready_replicas of this V1ReplicaSetStatus. # noqa: E501 :type ready_replicas: int @@ -198,7 +203,7 @@ def ready_replicas(self, ready_replicas): def replicas(self): """Gets the replicas of this V1ReplicaSetStatus. # noqa: E501 - Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller # noqa: E501 + Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :return: The replicas of this V1ReplicaSetStatus. # noqa: E501 :rtype: int @@ -209,7 +214,7 @@ def replicas(self): def replicas(self, replicas): """Sets the replicas of this V1ReplicaSetStatus. - Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller # noqa: E501 + Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset # noqa: E501 :param replicas: The replicas of this V1ReplicaSetStatus. # noqa: E501 :type replicas: int @@ -219,6 +224,29 @@ def replicas(self, replicas): self._replicas = replicas + @property + def terminating_replicas(self): + """Gets the terminating_replicas of this V1ReplicaSetStatus. # noqa: E501 + + The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field. # noqa: E501 + + :return: The terminating_replicas of this V1ReplicaSetStatus. # noqa: E501 + :rtype: int + """ + return self._terminating_replicas + + @terminating_replicas.setter + def terminating_replicas(self, terminating_replicas): + """Sets the terminating_replicas of this V1ReplicaSetStatus. + + The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field. # noqa: E501 + + :param terminating_replicas: The terminating_replicas of this V1ReplicaSetStatus. # noqa: E501 + :type terminating_replicas: int + """ + + self._terminating_replicas = terminating_replicas + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/kubernetes_asyncio/client/models/v1_replication_controller.py b/kubernetes_asyncio/client/models/v1_replication_controller.py index 82206e6f..381ac25a 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_replication_controller_condition.py b/kubernetes_asyncio/client/models/v1_replication_controller_condition.py index 1212cd1e..ff8e257f 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_replication_controller_list.py b/kubernetes_asyncio/client/models/v1_replication_controller_list.py index ee1a1267..7694eda5 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_replication_controller_spec.py b/kubernetes_asyncio/client/models/v1_replication_controller_spec.py index c31640a9..ea1d52d9 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_replication_controller_status.py b/kubernetes_asyncio/client/models/v1_replication_controller_status.py index b48d4813..40d7e174 100644 --- a/kubernetes_asyncio/client/models/v1_replication_controller_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_attributes.py b/kubernetes_asyncio/client/models/v1_resource_attributes.py index 68264f52..0ebbd8a4 100644 --- a/kubernetes_asyncio/client/models/v1_resource_attributes.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_claim.py b/kubernetes_asyncio/client/models/v1_resource_claim.py index 57fde78c..540111a3 100644 --- a/kubernetes_asyncio/client/models/v1_resource_claim.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_field_selector.py b/kubernetes_asyncio/client/models/v1_resource_field_selector.py index 5cba1a65..715e4cd1 100644 --- a/kubernetes_asyncio/client/models/v1_resource_field_selector.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_health.py b/kubernetes_asyncio/client/models/v1_resource_health.py index 61a2ce7a..0dfdd257 100644 --- a/kubernetes_asyncio/client/models/v1_resource_health.py +++ b/kubernetes_asyncio/client/models/v1_resource_health.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_policy_rule.py b/kubernetes_asyncio/client/models/v1_resource_policy_rule.py index 4d1e94b5..30f96ecd 100644 --- a/kubernetes_asyncio/client/models/v1_resource_policy_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_quota.py b/kubernetes_asyncio/client/models/v1_resource_quota.py index 8ac960e3..6beeb4eb 100644 --- a/kubernetes_asyncio/client/models/v1_resource_quota.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_quota_list.py b/kubernetes_asyncio/client/models/v1_resource_quota_list.py index c5af8de0..8bbf1f27 100644 --- a/kubernetes_asyncio/client/models/v1_resource_quota_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_quota_spec.py b/kubernetes_asyncio/client/models/v1_resource_quota_spec.py index 29b88c98..91aaddd5 100644 --- a/kubernetes_asyncio/client/models/v1_resource_quota_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_quota_status.py b/kubernetes_asyncio/client/models/v1_resource_quota_status.py index 2e9d1808..3e107187 100644 --- a/kubernetes_asyncio/client/models/v1_resource_quota_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_requirements.py b/kubernetes_asyncio/client/models/v1_resource_requirements.py index fe23a00c..76a045ee 100644 --- a/kubernetes_asyncio/client/models/v1_resource_requirements.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_rule.py b/kubernetes_asyncio/client/models/v1_resource_rule.py index 276e75ff..5b2d4e8f 100644 --- a/kubernetes_asyncio/client/models/v1_resource_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_resource_status.py b/kubernetes_asyncio/client/models/v1_resource_status.py index 4d4615f8..11c0046b 100644 --- a/kubernetes_asyncio/client/models/v1_resource_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_role.py b/kubernetes_asyncio/client/models/v1_role.py index a672666a..1310b65f 100644 --- a/kubernetes_asyncio/client/models/v1_role.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_role_binding.py b/kubernetes_asyncio/client/models/v1_role_binding.py index dc5e49ab..8e6183f7 100644 --- a/kubernetes_asyncio/client/models/v1_role_binding.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_role_binding_list.py b/kubernetes_asyncio/client/models/v1_role_binding_list.py index b722e99a..b07461f2 100644 --- a/kubernetes_asyncio/client/models/v1_role_binding_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_role_list.py b/kubernetes_asyncio/client/models/v1_role_list.py index 3ad6c9c9..51a95556 100644 --- a/kubernetes_asyncio/client/models/v1_role_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_role_ref.py b/kubernetes_asyncio/client/models/v1_role_ref.py index 7b524a46..09761c87 100644 --- a/kubernetes_asyncio/client/models/v1_role_ref.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_rolling_update_daemon_set.py b/kubernetes_asyncio/client/models/v1_rolling_update_daemon_set.py index 7e64a387..f7d53374 100644 --- a/kubernetes_asyncio/client/models/v1_rolling_update_daemon_set.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_rolling_update_deployment.py b/kubernetes_asyncio/client/models/v1_rolling_update_deployment.py index 5b36808a..e6973375 100644 --- a/kubernetes_asyncio/client/models/v1_rolling_update_deployment.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_rolling_update_stateful_set_strategy.py b/kubernetes_asyncio/client/models/v1_rolling_update_stateful_set_strategy.py index 1d71a5de..11ad1a1a 100644 --- a/kubernetes_asyncio/client/models/v1_rolling_update_stateful_set_strategy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_rule_with_operations.py b/kubernetes_asyncio/client/models/v1_rule_with_operations.py index 5ef35afd..2820b369 100644 --- a/kubernetes_asyncio/client/models/v1_rule_with_operations.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_runtime_class.py b/kubernetes_asyncio/client/models/v1_runtime_class.py index 6055778b..9d8cd312 100644 --- a/kubernetes_asyncio/client/models/v1_runtime_class.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_runtime_class_list.py b/kubernetes_asyncio/client/models/v1_runtime_class_list.py index 78de1975..95356b69 100644 --- a/kubernetes_asyncio/client/models/v1_runtime_class_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_scale.py b/kubernetes_asyncio/client/models/v1_scale.py index 7a9f4c16..8a32190e 100644 --- a/kubernetes_asyncio/client/models/v1_scale.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_scale_io_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_scale_io_persistent_volume_source.py index fd280d55..421e3b42 100644 --- a/kubernetes_asyncio/client/models/v1_scale_io_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_scale_io_volume_source.py b/kubernetes_asyncio/client/models/v1_scale_io_volume_source.py index 4c953482..b8555efe 100644 --- a/kubernetes_asyncio/client/models/v1_scale_io_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_scale_spec.py b/kubernetes_asyncio/client/models/v1_scale_spec.py index c26a2339..573572d0 100644 --- a/kubernetes_asyncio/client/models/v1_scale_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_scale_status.py b/kubernetes_asyncio/client/models/v1_scale_status.py index dee3e603..122e859a 100644 --- a/kubernetes_asyncio/client/models/v1_scale_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_scheduling.py b/kubernetes_asyncio/client/models/v1_scheduling.py index 65f5c3c3..f8f81636 100644 --- a/kubernetes_asyncio/client/models/v1_scheduling.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_scope_selector.py b/kubernetes_asyncio/client/models/v1_scope_selector.py index 211da6a9..176f64c2 100644 --- a/kubernetes_asyncio/client/models/v1_scope_selector.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_scoped_resource_selector_requirement.py b/kubernetes_asyncio/client/models/v1_scoped_resource_selector_requirement.py index 16d850ae..a3276c78 100644 --- a/kubernetes_asyncio/client/models/v1_scoped_resource_selector_requirement.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_se_linux_options.py b/kubernetes_asyncio/client/models/v1_se_linux_options.py index 3115ada8..af4ac5aa 100644 --- a/kubernetes_asyncio/client/models/v1_se_linux_options.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_seccomp_profile.py b/kubernetes_asyncio/client/models/v1_seccomp_profile.py index f7322932..32fd327b 100644 --- a/kubernetes_asyncio/client/models/v1_seccomp_profile.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_secret.py b/kubernetes_asyncio/client/models/v1_secret.py index d23d403d..6019e1f3 100644 --- a/kubernetes_asyncio/client/models/v1_secret.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_secret_env_source.py b/kubernetes_asyncio/client/models/v1_secret_env_source.py index 504a8dad..202fac85 100644 --- a/kubernetes_asyncio/client/models/v1_secret_env_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_secret_key_selector.py b/kubernetes_asyncio/client/models/v1_secret_key_selector.py index 51e55341..150df70e 100644 --- a/kubernetes_asyncio/client/models/v1_secret_key_selector.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_secret_list.py b/kubernetes_asyncio/client/models/v1_secret_list.py index cfda63ee..567ca63e 100644 --- a/kubernetes_asyncio/client/models/v1_secret_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_secret_projection.py b/kubernetes_asyncio/client/models/v1_secret_projection.py index e0c17470..dcf993d6 100644 --- a/kubernetes_asyncio/client/models/v1_secret_projection.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_secret_reference.py b/kubernetes_asyncio/client/models/v1_secret_reference.py index a4fa6372..7dc07aa7 100644 --- a/kubernetes_asyncio/client/models/v1_secret_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_secret_volume_source.py b/kubernetes_asyncio/client/models/v1_secret_volume_source.py index 82eec249..f9e61761 100644 --- a/kubernetes_asyncio/client/models/v1_secret_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_security_context.py b/kubernetes_asyncio/client/models/v1_security_context.py index 390b1137..efab0cb0 100644 --- a/kubernetes_asyncio/client/models/v1_security_context.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_selectable_field.py b/kubernetes_asyncio/client/models/v1_selectable_field.py index e3296c06..3df40253 100644 --- a/kubernetes_asyncio/client/models/v1_selectable_field.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_self_subject_access_review.py b/kubernetes_asyncio/client/models/v1_self_subject_access_review.py index 464425dd..f99c83fc 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_access_review.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_self_subject_access_review_spec.py b/kubernetes_asyncio/client/models/v1_self_subject_access_review_spec.py index 338ff654..aaf5d6b3 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_access_review_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_self_subject_review.py b/kubernetes_asyncio/client/models/v1_self_subject_review.py index 4b9d8abd..88adf0cf 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_review.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_self_subject_review_status.py b/kubernetes_asyncio/client/models/v1_self_subject_review_status.py index e02e3879..d7307230 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_review_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_self_subject_rules_review.py b/kubernetes_asyncio/client/models/v1_self_subject_rules_review.py index ceb5620e..c161362b 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_rules_review.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_self_subject_rules_review_spec.py b/kubernetes_asyncio/client/models/v1_self_subject_rules_review_spec.py index 5587a51d..d586d50c 100644 --- a/kubernetes_asyncio/client/models/v1_self_subject_rules_review_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_server_address_by_client_cidr.py b/kubernetes_asyncio/client/models/v1_server_address_by_client_cidr.py index 440452b2..fc77a8c6 100644 --- a/kubernetes_asyncio/client/models/v1_server_address_by_client_cidr.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_service.py b/kubernetes_asyncio/client/models/v1_service.py index b58d0f85..d8a2615a 100644 --- a/kubernetes_asyncio/client/models/v1_service.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_service_account.py b/kubernetes_asyncio/client/models/v1_service_account.py index 0841eabf..8a50e878 100644 --- a/kubernetes_asyncio/client/models/v1_service_account.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_service_account_list.py b/kubernetes_asyncio/client/models/v1_service_account_list.py index 05dd2588..f65bbb1e 100644 --- a/kubernetes_asyncio/client/models/v1_service_account_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_service_account_subject.py b/kubernetes_asyncio/client/models/v1_service_account_subject.py index bde24be0..dbaa14fd 100644 --- a/kubernetes_asyncio/client/models/v1_service_account_subject.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_service_account_token_projection.py b/kubernetes_asyncio/client/models/v1_service_account_token_projection.py index b9c6b933..39715347 100644 --- a/kubernetes_asyncio/client/models/v1_service_account_token_projection.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_service_backend_port.py b/kubernetes_asyncio/client/models/v1_service_backend_port.py index c0acf70e..60a7406d 100644 --- a/kubernetes_asyncio/client/models/v1_service_backend_port.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_service_cidr.py b/kubernetes_asyncio/client/models/v1_service_cidr.py new file mode 100644 index 00000000..74f4686b --- /dev/null +++ b/kubernetes_asyncio/client/models/v1_service_cidr.py @@ -0,0 +1,239 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1ServiceCIDR(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': 'V1ServiceCIDRSpec', + 'status': 'V1ServiceCIDRStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1ServiceCIDR - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = 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 + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this V1ServiceCIDR. # 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 V1ServiceCIDR. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1ServiceCIDR. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 V1ServiceCIDR. # noqa: E501 + :type api_version: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1ServiceCIDR. # 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 V1ServiceCIDR. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1ServiceCIDR. + + 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 V1ServiceCIDR. # noqa: E501 + :type kind: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ServiceCIDR. # noqa: E501 + + + :return: The metadata of this V1ServiceCIDR. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ServiceCIDR. + + + :param metadata: The metadata of this V1ServiceCIDR. # noqa: E501 + :type metadata: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1ServiceCIDR. # noqa: E501 + + + :return: The spec of this V1ServiceCIDR. # noqa: E501 + :rtype: V1ServiceCIDRSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1ServiceCIDR. + + + :param spec: The spec of this V1ServiceCIDR. # noqa: E501 + :type spec: V1ServiceCIDRSpec + """ + + self._spec = spec + + @property + def status(self): + """Gets the status of this V1ServiceCIDR. # noqa: E501 + + + :return: The status of this V1ServiceCIDR. # noqa: E501 + :rtype: V1ServiceCIDRStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1ServiceCIDR. + + + :param status: The status of this V1ServiceCIDR. # noqa: E501 + :type status: V1ServiceCIDRStatus + """ + + self._status = status + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1ServiceCIDR): + 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, V1ServiceCIDR): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_service_cidr_list.py b/kubernetes_asyncio/client/models/v1_service_cidr_list.py new file mode 100644 index 00000000..50c75292 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1_service_cidr_list.py @@ -0,0 +1,216 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1ServiceCIDRList(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[V1ServiceCIDR]', + '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 + """V1ServiceCIDRList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + 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 V1ServiceCIDRList. # 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 V1ServiceCIDRList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1ServiceCIDRList. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 V1ServiceCIDRList. # noqa: E501 + :type api_version: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1ServiceCIDRList. # noqa: E501 + + items is the list of ServiceCIDRs. # noqa: E501 + + :return: The items of this V1ServiceCIDRList. # noqa: E501 + :rtype: list[V1ServiceCIDR] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1ServiceCIDRList. + + items is the list of ServiceCIDRs. # noqa: E501 + + :param items: The items of this V1ServiceCIDRList. # noqa: E501 + :type items: list[V1ServiceCIDR] + """ + 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 V1ServiceCIDRList. # 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 V1ServiceCIDRList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1ServiceCIDRList. + + 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 V1ServiceCIDRList. # noqa: E501 + :type kind: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ServiceCIDRList. # noqa: E501 + + + :return: The metadata of this V1ServiceCIDRList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ServiceCIDRList. + + + :param metadata: The metadata of this V1ServiceCIDRList. # noqa: E501 + :type metadata: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1ServiceCIDRList): + 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, V1ServiceCIDRList): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_service_cidr_spec.py b/kubernetes_asyncio/client/models/v1_service_cidr_spec.py new file mode 100644 index 00000000..0c13a8b2 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1_service_cidr_spec.py @@ -0,0 +1,133 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1ServiceCIDRSpec(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 = { + 'cidrs': 'list[str]' + } + + attribute_map = { + 'cidrs': 'cidrs' + } + + def __init__(self, cidrs=None, local_vars_configuration=None): # noqa: E501 + """V1ServiceCIDRSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._cidrs = None + self.discriminator = None + + if cidrs is not None: + self.cidrs = cidrs + + @property + def cidrs(self): + """Gets the cidrs of this V1ServiceCIDRSpec. # 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 V1ServiceCIDRSpec. # noqa: E501 + :rtype: list[str] + """ + return self._cidrs + + @cidrs.setter + def cidrs(self, cidrs): + """Sets the cidrs of this V1ServiceCIDRSpec. + + 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 V1ServiceCIDRSpec. # noqa: E501 + :type cidrs: list[str] + """ + + self._cidrs = cidrs + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1ServiceCIDRSpec): + 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, V1ServiceCIDRSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_service_cidr_status.py b/kubernetes_asyncio/client/models/v1_service_cidr_status.py new file mode 100644 index 00000000..e1f36f16 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1_service_cidr_status.py @@ -0,0 +1,133 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1ServiceCIDRStatus(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 = { + 'conditions': 'list[V1Condition]' + } + + attribute_map = { + 'conditions': 'conditions' + } + + def __init__(self, conditions=None, local_vars_configuration=None): # noqa: E501 + """V1ServiceCIDRStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._conditions = None + self.discriminator = None + + if conditions is not None: + self.conditions = conditions + + @property + def conditions(self): + """Gets the conditions of this V1ServiceCIDRStatus. # 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 V1ServiceCIDRStatus. # noqa: E501 + :rtype: list[V1Condition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1ServiceCIDRStatus. + + 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 V1ServiceCIDRStatus. # noqa: E501 + :type conditions: list[V1Condition] + """ + + self._conditions = conditions + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1ServiceCIDRStatus): + 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, V1ServiceCIDRStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1_service_list.py b/kubernetes_asyncio/client/models/v1_service_list.py index f0c01b9a..50a257b6 100644 --- a/kubernetes_asyncio/client/models/v1_service_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_service_port.py b/kubernetes_asyncio/client/models/v1_service_port.py index 0b9b7261..eba6f391 100644 --- a/kubernetes_asyncio/client/models/v1_service_port.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_service_spec.py b/kubernetes_asyncio/client/models/v1_service_spec.py index 51947770..ab1923a8 100644 --- a/kubernetes_asyncio/client/models/v1_service_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -566,7 +566,7 @@ def session_affinity_config(self, session_affinity_config): def traffic_distribution(self): """Gets the traffic_distribution of this V1ServiceSpec. # noqa: E501 - TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is a beta field and requires enabling ServiceTrafficDistribution feature. # noqa: E501 + TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are in the same zone. # noqa: E501 :return: The traffic_distribution of this V1ServiceSpec. # noqa: E501 :rtype: str @@ -577,7 +577,7 @@ def traffic_distribution(self): def traffic_distribution(self, traffic_distribution): """Sets the traffic_distribution of this V1ServiceSpec. - TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is a beta field and requires enabling ServiceTrafficDistribution feature. # noqa: E501 + TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are in the same zone. # noqa: E501 :param traffic_distribution: The traffic_distribution of this V1ServiceSpec. # noqa: E501 :type traffic_distribution: str diff --git a/kubernetes_asyncio/client/models/v1_service_status.py b/kubernetes_asyncio/client/models/v1_service_status.py index 4369f23b..58c6a529 100644 --- a/kubernetes_asyncio/client/models/v1_service_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_session_affinity_config.py b/kubernetes_asyncio/client/models/v1_session_affinity_config.py index ef5fafae..d462921d 100644 --- a/kubernetes_asyncio/client/models/v1_session_affinity_config.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_sleep_action.py b/kubernetes_asyncio/client/models/v1_sleep_action.py index 256215ef..ff97fd60 100644 --- a/kubernetes_asyncio/client/models/v1_sleep_action.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_stateful_set.py b/kubernetes_asyncio/client/models/v1_stateful_set.py index 24ff02b4..0ec94e07 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_condition.py b/kubernetes_asyncio/client/models/v1_stateful_set_condition.py index 752707af..4fb653e0 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_list.py b/kubernetes_asyncio/client/models/v1_stateful_set_list.py index f49f4592..93551f67 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_ordinals.py b/kubernetes_asyncio/client/models/v1_stateful_set_ordinals.py index 1c5a7ba3..be641d8b 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_ordinals.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py b/kubernetes_asyncio/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py index 09938879..566c5a5b 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_spec.py b/kubernetes_asyncio/client/models/v1_stateful_set_spec.py index 2c3dec00..9c322ca3 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -95,7 +95,8 @@ def __init__(self, min_ready_seconds=None, ordinals=None, persistent_volume_clai if revision_history_limit is not None: self.revision_history_limit = revision_history_limit self.selector = selector - self.service_name = service_name + if service_name is not None: + self.service_name = service_name self.template = template if update_strategy is not None: self.update_strategy = update_strategy @@ -279,8 +280,6 @@ def service_name(self, service_name): :param service_name: The service_name of this V1StatefulSetSpec. # noqa: E501 :type service_name: str """ - if self.local_vars_configuration.client_side_validation and service_name is None: # noqa: E501 - raise ValueError("Invalid value for `service_name`, must not be `None`") # noqa: E501 self._service_name = service_name diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_status.py b/kubernetes_asyncio/client/models/v1_stateful_set_status.py index a4f60985..21151ddd 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_stateful_set_update_strategy.py b/kubernetes_asyncio/client/models/v1_stateful_set_update_strategy.py index 4d4b8ac1..55682402 100644 --- a/kubernetes_asyncio/client/models/v1_stateful_set_update_strategy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_status.py b/kubernetes_asyncio/client/models/v1_status.py index 98224d9a..9ea619f5 100644 --- a/kubernetes_asyncio/client/models/v1_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_status_cause.py b/kubernetes_asyncio/client/models/v1_status_cause.py index aa1c9003..57a90fcb 100644 --- a/kubernetes_asyncio/client/models/v1_status_cause.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_status_details.py b/kubernetes_asyncio/client/models/v1_status_details.py index 490ebffb..a2bc602a 100644 --- a/kubernetes_asyncio/client/models/v1_status_details.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_storage_class.py b/kubernetes_asyncio/client/models/v1_storage_class.py index 3aa15841..5ba5a248 100644 --- a/kubernetes_asyncio/client/models/v1_storage_class.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_storage_class_list.py b/kubernetes_asyncio/client/models/v1_storage_class_list.py index 1c0402f9..cd1550e7 100644 --- a/kubernetes_asyncio/client/models/v1_storage_class_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_storage_os_persistent_volume_source.py b/kubernetes_asyncio/client/models/v1_storage_os_persistent_volume_source.py index 810ecb26..eb7dbc9d 100644 --- a/kubernetes_asyncio/client/models/v1_storage_os_persistent_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_storage_os_volume_source.py b/kubernetes_asyncio/client/models/v1_storage_os_volume_source.py index 05c3fbba..d8139aa8 100644 --- a/kubernetes_asyncio/client/models/v1_storage_os_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_subject_access_review.py b/kubernetes_asyncio/client/models/v1_subject_access_review.py index 3d87b068..46e30845 100644 --- a/kubernetes_asyncio/client/models/v1_subject_access_review.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_subject_access_review_spec.py b/kubernetes_asyncio/client/models/v1_subject_access_review_spec.py index aded47d0..28c77c54 100644 --- a/kubernetes_asyncio/client/models/v1_subject_access_review_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_subject_access_review_status.py b/kubernetes_asyncio/client/models/v1_subject_access_review_status.py index 30d6a7e2..b3d398ca 100644 --- a/kubernetes_asyncio/client/models/v1_subject_access_review_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_subject_rules_review_status.py b/kubernetes_asyncio/client/models/v1_subject_rules_review_status.py index c1ce47c6..883624cf 100644 --- a/kubernetes_asyncio/client/models/v1_subject_rules_review_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_success_policy.py b/kubernetes_asyncio/client/models/v1_success_policy.py index 3005135d..53d7bc98 100644 --- a/kubernetes_asyncio/client/models/v1_success_policy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_success_policy_rule.py b/kubernetes_asyncio/client/models/v1_success_policy_rule.py index c4768a78..a618d523 100644 --- a/kubernetes_asyncio/client/models/v1_success_policy_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_sysctl.py b/kubernetes_asyncio/client/models/v1_sysctl.py index bb9d9e26..25090b2f 100644 --- a/kubernetes_asyncio/client/models/v1_sysctl.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_taint.py b/kubernetes_asyncio/client/models/v1_taint.py index 809569eb..17eb6e8f 100644 --- a/kubernetes_asyncio/client/models/v1_taint.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_tcp_socket_action.py b/kubernetes_asyncio/client/models/v1_tcp_socket_action.py index 224960ee..d455786d 100644 --- a/kubernetes_asyncio/client/models/v1_tcp_socket_action.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_token_request_spec.py b/kubernetes_asyncio/client/models/v1_token_request_spec.py index a51938e6..a7e27360 100644 --- a/kubernetes_asyncio/client/models/v1_token_request_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_token_request_status.py b/kubernetes_asyncio/client/models/v1_token_request_status.py index b39bce55..b56610a4 100644 --- a/kubernetes_asyncio/client/models/v1_token_request_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_token_review.py b/kubernetes_asyncio/client/models/v1_token_review.py index d753997c..bfe2e9c2 100644 --- a/kubernetes_asyncio/client/models/v1_token_review.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_token_review_spec.py b/kubernetes_asyncio/client/models/v1_token_review_spec.py index 263364a1..48bae456 100644 --- a/kubernetes_asyncio/client/models/v1_token_review_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_token_review_status.py b/kubernetes_asyncio/client/models/v1_token_review_status.py index fe6618b8..95e9770c 100644 --- a/kubernetes_asyncio/client/models/v1_token_review_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_toleration.py b/kubernetes_asyncio/client/models/v1_toleration.py index ec5110b7..7cd31a29 100644 --- a/kubernetes_asyncio/client/models/v1_toleration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_topology_selector_label_requirement.py b/kubernetes_asyncio/client/models/v1_topology_selector_label_requirement.py index 38519786..0cc17550 100644 --- a/kubernetes_asyncio/client/models/v1_topology_selector_label_requirement.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_topology_selector_term.py b/kubernetes_asyncio/client/models/v1_topology_selector_term.py index 135dc32d..1f2df9ea 100644 --- a/kubernetes_asyncio/client/models/v1_topology_selector_term.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_topology_spread_constraint.py b/kubernetes_asyncio/client/models/v1_topology_spread_constraint.py index 1d295252..839afe24 100644 --- a/kubernetes_asyncio/client/models/v1_topology_spread_constraint.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -183,7 +183,7 @@ def min_domains(self, min_domains): def node_affinity_policy(self): """Gets the node_affinity_policy of this V1TopologySpreadConstraint. # noqa: E501 - NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. # noqa: E501 + NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. If this value is nil, the behavior is equivalent to the Honor policy. # noqa: E501 :return: The node_affinity_policy of this V1TopologySpreadConstraint. # noqa: E501 :rtype: str @@ -194,7 +194,7 @@ def node_affinity_policy(self): def node_affinity_policy(self, node_affinity_policy): """Sets the node_affinity_policy of this V1TopologySpreadConstraint. - NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. # noqa: E501 + NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. If this value is nil, the behavior is equivalent to the Honor policy. # noqa: E501 :param node_affinity_policy: The node_affinity_policy of this V1TopologySpreadConstraint. # noqa: E501 :type node_affinity_policy: str @@ -206,7 +206,7 @@ def node_affinity_policy(self, node_affinity_policy): def node_taints_policy(self): """Gets the node_taints_policy of this V1TopologySpreadConstraint. # noqa: E501 - NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. # noqa: E501 + NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. If this value is nil, the behavior is equivalent to the Ignore policy. # noqa: E501 :return: The node_taints_policy of this V1TopologySpreadConstraint. # noqa: E501 :rtype: str @@ -217,7 +217,7 @@ def node_taints_policy(self): def node_taints_policy(self, node_taints_policy): """Sets the node_taints_policy of this V1TopologySpreadConstraint. - NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. # noqa: E501 + NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. If this value is nil, the behavior is equivalent to the Ignore policy. # noqa: E501 :param node_taints_policy: The node_taints_policy of this V1TopologySpreadConstraint. # noqa: E501 :type node_taints_policy: str diff --git a/kubernetes_asyncio/client/models/v1_type_checking.py b/kubernetes_asyncio/client/models/v1_type_checking.py index 630965fb..abb6e50e 100644 --- a/kubernetes_asyncio/client/models/v1_type_checking.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_typed_local_object_reference.py b/kubernetes_asyncio/client/models/v1_typed_local_object_reference.py index c36124f9..108b8a26 100644 --- a/kubernetes_asyncio/client/models/v1_typed_local_object_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_typed_object_reference.py b/kubernetes_asyncio/client/models/v1_typed_object_reference.py index 97b2a02f..95396a3a 100644 --- a/kubernetes_asyncio/client/models/v1_typed_object_reference.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_uncounted_terminated_pods.py b/kubernetes_asyncio/client/models/v1_uncounted_terminated_pods.py index a24f9cfe..d5629566 100644 --- a/kubernetes_asyncio/client/models/v1_uncounted_terminated_pods.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_user_info.py b/kubernetes_asyncio/client/models/v1_user_info.py index c209a3b3..20f1ac28 100644 --- a/kubernetes_asyncio/client/models/v1_user_info.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_user_subject.py b/kubernetes_asyncio/client/models/v1_user_subject.py index ed808552..fa2b90a0 100644 --- a/kubernetes_asyncio/client/models/v1_user_subject.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy.py b/kubernetes_asyncio/client/models/v1_validating_admission_policy.py index e1e29f7e..a85866f0 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding.py b/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding.py index 4f509cf6..82b72ada 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_list.py b/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_list.py index 2976e7ca..d846ccde 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_spec.py b/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_spec.py index 8a29d149..8ff74b6b 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_binding_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_list.py b/kubernetes_asyncio/client/models/v1_validating_admission_policy_list.py index 47867de3..fc3af253 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_spec.py b/kubernetes_asyncio/client/models/v1_validating_admission_policy_spec.py index 0ab92532..d249ad89 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_admission_policy_status.py b/kubernetes_asyncio/client/models/v1_validating_admission_policy_status.py index 4f2803da..ae015ee4 100644 --- a/kubernetes_asyncio/client/models/v1_validating_admission_policy_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_webhook.py b/kubernetes_asyncio/client/models/v1_validating_webhook.py index b95b7815..7748c940 100644 --- a/kubernetes_asyncio/client/models/v1_validating_webhook.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_webhook_configuration.py b/kubernetes_asyncio/client/models/v1_validating_webhook_configuration.py index 466ca5a9..201cab80 100644 --- a/kubernetes_asyncio/client/models/v1_validating_webhook_configuration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validating_webhook_configuration_list.py b/kubernetes_asyncio/client/models/v1_validating_webhook_configuration_list.py index 0bf3fc82..4f086f5a 100644 --- a/kubernetes_asyncio/client/models/v1_validating_webhook_configuration_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validation.py b/kubernetes_asyncio/client/models/v1_validation.py index 62b279f4..f5b605ae 100644 --- a/kubernetes_asyncio/client/models/v1_validation.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_validation_rule.py b/kubernetes_asyncio/client/models/v1_validation_rule.py index e2d588cc..85e3141e 100644 --- a/kubernetes_asyncio/client/models/v1_validation_rule.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_variable.py b/kubernetes_asyncio/client/models/v1_variable.py index 97a1e088..4da79190 100644 --- a/kubernetes_asyncio/client/models/v1_variable.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume.py b/kubernetes_asyncio/client/models/v1_volume.py index cc486851..4c1d9db0 100644 --- a/kubernetes_asyncio/client/models/v1_volume.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment.py b/kubernetes_asyncio/client/models/v1_volume_attachment.py index d831ad34..430bc609 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment_list.py b/kubernetes_asyncio/client/models/v1_volume_attachment_list.py index 06305fc9..840df6f1 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment_source.py b/kubernetes_asyncio/client/models/v1_volume_attachment_source.py index 0ae5f5b2..c4935fbb 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment_spec.py b/kubernetes_asyncio/client/models/v1_volume_attachment_spec.py index 2486b5dd..6b1243b5 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_attachment_status.py b/kubernetes_asyncio/client/models/v1_volume_attachment_status.py index 233870b7..076ac699 100644 --- a/kubernetes_asyncio/client/models/v1_volume_attachment_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_device.py b/kubernetes_asyncio/client/models/v1_volume_device.py index 3d490070..6dd811ec 100644 --- a/kubernetes_asyncio/client/models/v1_volume_device.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_error.py b/kubernetes_asyncio/client/models/v1_volume_error.py index 1d24c891..ba2a2d3c 100644 --- a/kubernetes_asyncio/client/models/v1_volume_error.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -36,30 +36,58 @@ class V1VolumeError(object): and the value is json key in definition. """ openapi_types = { + 'error_code': 'int', 'message': 'str', 'time': 'datetime' } attribute_map = { + 'error_code': 'errorCode', 'message': 'message', 'time': 'time' } - def __init__(self, message=None, time=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, error_code=None, message=None, time=None, local_vars_configuration=None): # noqa: E501 """V1VolumeError - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default() self.local_vars_configuration = local_vars_configuration + self._error_code = None self._message = None self._time = None self.discriminator = None + if error_code is not None: + self.error_code = error_code if message is not None: self.message = message if time is not None: self.time = time + @property + def error_code(self): + """Gets the error_code of this V1VolumeError. # noqa: E501 + + errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set. # noqa: E501 + + :return: The error_code of this V1VolumeError. # noqa: E501 + :rtype: int + """ + return self._error_code + + @error_code.setter + def error_code(self, error_code): + """Sets the error_code of this V1VolumeError. + + errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set. # noqa: E501 + + :param error_code: The error_code of this V1VolumeError. # noqa: E501 + :type error_code: int + """ + + self._error_code = error_code + @property def message(self): """Gets the message of this V1VolumeError. # noqa: E501 diff --git a/kubernetes_asyncio/client/models/v1_volume_mount.py b/kubernetes_asyncio/client/models/v1_volume_mount.py index 18120729..2cd7eb07 100644 --- a/kubernetes_asyncio/client/models/v1_volume_mount.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_mount_status.py b/kubernetes_asyncio/client/models/v1_volume_mount_status.py index 87b870ae..c5e1a25a 100644 --- a/kubernetes_asyncio/client/models/v1_volume_mount_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_node_affinity.py b/kubernetes_asyncio/client/models/v1_volume_node_affinity.py index 456ce496..c31805d1 100644 --- a/kubernetes_asyncio/client/models/v1_volume_node_affinity.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_node_resources.py b/kubernetes_asyncio/client/models/v1_volume_node_resources.py index 83877acb..c46e65a2 100644 --- a/kubernetes_asyncio/client/models/v1_volume_node_resources.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_projection.py b/kubernetes_asyncio/client/models/v1_volume_projection.py index 9388d16e..b2f735f6 100644 --- a/kubernetes_asyncio/client/models/v1_volume_projection.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_volume_resource_requirements.py b/kubernetes_asyncio/client/models/v1_volume_resource_requirements.py index b805d85a..407c9df8 100644 --- a/kubernetes_asyncio/client/models/v1_volume_resource_requirements.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_vsphere_virtual_disk_volume_source.py b/kubernetes_asyncio/client/models/v1_vsphere_virtual_disk_volume_source.py index fa27a14e..ba62590f 100644 --- a/kubernetes_asyncio/client/models/v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_watch_event.py b/kubernetes_asyncio/client/models/v1_watch_event.py index 013c5d33..3d8058f4 100644 --- a/kubernetes_asyncio/client/models/v1_watch_event.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_webhook_conversion.py b/kubernetes_asyncio/client/models/v1_webhook_conversion.py index 1ed9c112..6423d896 100644 --- a/kubernetes_asyncio/client/models/v1_webhook_conversion.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_weighted_pod_affinity_term.py b/kubernetes_asyncio/client/models/v1_weighted_pod_affinity_term.py index efb2354e..4d5bd2c8 100644 --- a/kubernetes_asyncio/client/models/v1_weighted_pod_affinity_term.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1_windows_security_context_options.py b/kubernetes_asyncio/client/models/v1_windows_security_context_options.py index f6aa94fd..403400bd 100644 --- a/kubernetes_asyncio/client/models/v1_windows_security_context_options.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_apply_configuration.py b/kubernetes_asyncio/client/models/v1alpha1_apply_configuration.py index 486a5d03..89a24160 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_apply_configuration.py +++ b/kubernetes_asyncio/client/models/v1alpha1_apply_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle.py b/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle.py index c40582cb..dcae7079 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_list.py b/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_list.py index 5d58e810..779e91bb 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_spec.py b/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_spec.py index 14bc7928..4b181180 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_cluster_trust_bundle_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_group_version_resource.py b/kubernetes_asyncio/client/models/v1alpha1_group_version_resource.py index e2fa6d41..c3f891ae 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_group_version_resource.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_json_patch.py b/kubernetes_asyncio/client/models/v1alpha1_json_patch.py index d711aa22..88a71c20 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_json_patch.py +++ b/kubernetes_asyncio/client/models/v1alpha1_json_patch.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_match_condition.py b/kubernetes_asyncio/client/models/v1alpha1_match_condition.py index 4f5bd0d3..da6f8b29 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_match_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_match_resources.py b/kubernetes_asyncio/client/models/v1alpha1_match_resources.py index 7824d12b..7322b3f1 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_match_resources.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -79,7 +79,7 @@ def __init__(self, exclude_resource_rules=None, match_policy=None, namespace_sel def exclude_resource_rules(self): """Gets the exclude_resource_rules of this V1alpha1MatchResources. # noqa: E501 - ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) # noqa: E501 + ExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) # noqa: E501 :return: The exclude_resource_rules of this V1alpha1MatchResources. # noqa: E501 :rtype: list[V1alpha1NamedRuleWithOperations] @@ -90,7 +90,7 @@ def exclude_resource_rules(self): def exclude_resource_rules(self, exclude_resource_rules): """Sets the exclude_resource_rules of this V1alpha1MatchResources. - ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) # noqa: E501 + ExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) # noqa: E501 :param exclude_resource_rules: The exclude_resource_rules of this V1alpha1MatchResources. # noqa: E501 :type exclude_resource_rules: list[V1alpha1NamedRuleWithOperations] @@ -102,7 +102,7 @@ def exclude_resource_rules(self, exclude_resource_rules): def match_policy(self): """Gets the match_policy of this V1alpha1MatchResources. # noqa: E501 - matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to \"Equivalent\" # noqa: E501 + matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, the admission policy does not consider requests to apps/v1beta1 or extensions/v1beta1 API groups. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, the admission policy **does** consider requests made to apps/v1beta1 or extensions/v1beta1 API groups. The API server translates the request to a matched resource API if necessary. Defaults to \"Equivalent\" # noqa: E501 :return: The match_policy of this V1alpha1MatchResources. # noqa: E501 :rtype: str @@ -113,7 +113,7 @@ def match_policy(self): def match_policy(self, match_policy): """Sets the match_policy of this V1alpha1MatchResources. - matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to \"Equivalent\" # noqa: E501 + matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\". - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, the admission policy does not consider requests to apps/v1beta1 or extensions/v1beta1 API groups. - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, the admission policy **does** consider requests made to apps/v1beta1 or extensions/v1beta1 API groups. The API server translates the request to a matched resource API if necessary. Defaults to \"Equivalent\" # noqa: E501 :param match_policy: The match_policy of this V1alpha1MatchResources. # noqa: E501 :type match_policy: str @@ -167,7 +167,7 @@ def object_selector(self, object_selector): def resource_rules(self): """Gets the resource_rules of this V1alpha1MatchResources. # noqa: E501 - ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. # noqa: E501 + ResourceRules describes what operations on what resources/subresources the admission policy matches. The policy cares about an operation if it matches _any_ Rule. # noqa: E501 :return: The resource_rules of this V1alpha1MatchResources. # noqa: E501 :rtype: list[V1alpha1NamedRuleWithOperations] @@ -178,7 +178,7 @@ def resource_rules(self): def resource_rules(self, resource_rules): """Sets the resource_rules of this V1alpha1MatchResources. - ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. # noqa: E501 + ResourceRules describes what operations on what resources/subresources the admission policy matches. The policy cares about an operation if it matches _any_ Rule. # noqa: E501 :param resource_rules: The resource_rules of this V1alpha1MatchResources. # noqa: E501 :type resource_rules: list[V1alpha1NamedRuleWithOperations] diff --git a/kubernetes_asyncio/client/models/v1alpha1_migration_condition.py b/kubernetes_asyncio/client/models/v1alpha1_migration_condition.py index 6bb623a4..dee96088 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_migration_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy.py b/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy.py index 607357a8..a76fe7f1 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy.py +++ b/kubernetes_asyncio/client/models/v1alpha1_mutating_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding.py b/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding.py index 321b3d60..84e622b1 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding.py +++ b/kubernetes_asyncio/client/models/v1alpha1_mutating_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_list.py b/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_list.py index 030a02db..51b0a828 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_list.py +++ b/kubernetes_asyncio/client/models/v1alpha1_mutating_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_spec.py b/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_spec.py index 8a3f6a8b..0e3c098f 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_binding_spec.py +++ b/kubernetes_asyncio/client/models/v1alpha1_mutating_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_list.py b/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_list.py index 968898ca..4b57b6c8 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_list.py +++ b/kubernetes_asyncio/client/models/v1alpha1_mutating_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_spec.py b/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_spec.py index af5dec60..e3c3d912 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutating_admission_policy_spec.py +++ b/kubernetes_asyncio/client/models/v1alpha1_mutating_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_mutation.py b/kubernetes_asyncio/client/models/v1alpha1_mutation.py index 0df8397a..7226cc7b 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_mutation.py +++ b/kubernetes_asyncio/client/models/v1alpha1_mutation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_named_rule_with_operations.py b/kubernetes_asyncio/client/models/v1alpha1_named_rule_with_operations.py index e577fe93..a32eecb2 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_named_rule_with_operations.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_param_kind.py b/kubernetes_asyncio/client/models/v1alpha1_param_kind.py index 2418979c..b0caf6b5 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_param_kind.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_param_ref.py b/kubernetes_asyncio/client/models/v1alpha1_param_ref.py index 10be1de4..7afd03d4 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_param_ref.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_server_storage_version.py b/kubernetes_asyncio/client/models/v1alpha1_server_storage_version.py index 4759d5e2..aa10c554 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_server_storage_version.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version.py b/kubernetes_asyncio/client/models/v1alpha1_storage_version.py index a053b040..ad7d1f21 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_condition.py b/kubernetes_asyncio/client/models/v1alpha1_storage_version_condition.py index d1e58893..70df2af4 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_condition.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_list.py b/kubernetes_asyncio/client/models/v1alpha1_storage_version_list.py index 81d0caab..bc278b30 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration.py b/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration.py index e193f142..1cd6796f 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration_list.py b/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration_list.py index 197946d7..0459879b 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration_spec.py b/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration_spec.py index f924a597..20f722a0 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration_spec.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration_status.py b/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration_status.py index f5c500c5..09a2c5de 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_migration_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_storage_version_status.py b/kubernetes_asyncio/client/models/v1alpha1_storage_version_status.py index 4a92da91..0470ba58 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_storage_version_status.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_variable.py b/kubernetes_asyncio/client/models/v1alpha1_variable.py index 4b5c530e..429a9f0a 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_variable.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_volume_attributes_class.py b/kubernetes_asyncio/client/models/v1alpha1_volume_attributes_class.py index bed9a9cb..31169f37 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_volume_attributes_class.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha1_volume_attributes_class_list.py b/kubernetes_asyncio/client/models/v1alpha1_volume_attributes_class_list.py index ec8bd8ef..fa88ee39 100644 --- a/kubernetes_asyncio/client/models/v1alpha1_volume_attributes_class_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate.py b/kubernetes_asyncio/client/models/v1alpha2_lease_candidate.py index e6de5080..af7b8162 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate.py +++ b/kubernetes_asyncio/client/models/v1alpha2_lease_candidate.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_list.py b/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_list.py index b1859af0..9faeba45 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_list.py +++ b/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_spec.py b/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_spec.py index 1f233695..afa74a4c 100644 --- a/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_spec.py +++ b/kubernetes_asyncio/client/models/v1alpha2_lease_candidate_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -200,7 +200,7 @@ def renew_time(self, renew_time): def strategy(self): """Gets the strategy of this V1alpha2LeaseCandidateSpec. # noqa: E501 - Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. # noqa: E501 + Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. # noqa: E501 :return: The strategy of this V1alpha2LeaseCandidateSpec. # noqa: E501 :rtype: str @@ -211,7 +211,7 @@ def strategy(self): def strategy(self, strategy): """Sets the strategy of this V1alpha2LeaseCandidateSpec. - Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. # noqa: E501 + Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. # noqa: E501 :param strategy: The strategy of this V1alpha2LeaseCandidateSpec. # noqa: E501 :type strategy: str diff --git a/kubernetes_asyncio/client/models/v1alpha3_allocated_device_status.py b/kubernetes_asyncio/client/models/v1alpha3_allocated_device_status.py index a0932339..b3f375c7 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_allocated_device_status.py +++ b/kubernetes_asyncio/client/models/v1alpha3_allocated_device_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -81,7 +81,7 @@ def __init__(self, conditions=None, data=None, device=None, driver=None, network def conditions(self): """Gets the conditions of this V1alpha3AllocatedDeviceStatus. # noqa: E501 - Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True. # noqa: E501 + Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True. Must not contain more than 8 entries. # noqa: E501 :return: The conditions of this V1alpha3AllocatedDeviceStatus. # noqa: E501 :rtype: list[V1Condition] @@ -92,7 +92,7 @@ def conditions(self): def conditions(self, conditions): """Sets the conditions of this V1alpha3AllocatedDeviceStatus. - Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True. # noqa: E501 + Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True. Must not contain more than 8 entries. # noqa: E501 :param conditions: The conditions of this V1alpha3AllocatedDeviceStatus. # noqa: E501 :type conditions: list[V1Condition] diff --git a/kubernetes_asyncio/client/models/v1alpha3_allocation_result.py b/kubernetes_asyncio/client/models/v1alpha3_allocation_result.py index 6c06f35f..2f222c2c 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_allocation_result.py +++ b/kubernetes_asyncio/client/models/v1alpha3_allocation_result.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_basic_device.py b/kubernetes_asyncio/client/models/v1alpha3_basic_device.py index 15b1a131..a61036d4 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_basic_device.py +++ b/kubernetes_asyncio/client/models/v1alpha3_basic_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -36,29 +36,77 @@ class V1alpha3BasicDevice(object): and the value is json key in definition. """ openapi_types = { + 'all_nodes': 'bool', 'attributes': 'dict(str, V1alpha3DeviceAttribute)', - 'capacity': 'dict(str, str)' + 'capacity': 'dict(str, str)', + 'consumes_counters': 'list[V1alpha3DeviceCounterConsumption]', + 'node_name': 'str', + 'node_selector': 'V1NodeSelector', + 'taints': 'list[V1alpha3DeviceTaint]' } attribute_map = { + 'all_nodes': 'allNodes', 'attributes': 'attributes', - 'capacity': 'capacity' + 'capacity': 'capacity', + 'consumes_counters': 'consumesCounters', + 'node_name': 'nodeName', + 'node_selector': 'nodeSelector', + 'taints': 'taints' } - def __init__(self, attributes=None, capacity=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, all_nodes=None, attributes=None, capacity=None, consumes_counters=None, node_name=None, node_selector=None, taints=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.get_default() self.local_vars_configuration = local_vars_configuration + self._all_nodes = None self._attributes = None self._capacity = None + self._consumes_counters = None + self._node_name = None + self._node_selector = None + self._taints = None self.discriminator = None + if all_nodes is not None: + self.all_nodes = all_nodes if attributes is not None: self.attributes = attributes if capacity is not None: self.capacity = capacity + if consumes_counters is not None: + self.consumes_counters = consumes_counters + if node_name is not None: + self.node_name = node_name + if node_selector is not None: + self.node_selector = node_selector + if taints is not None: + self.taints = taints + + @property + def all_nodes(self): + """Gets the all_nodes of this V1alpha3BasicDevice. # noqa: E501 + + AllNodes indicates that all nodes have access to the device. Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. # noqa: E501 + + :return: The all_nodes of this V1alpha3BasicDevice. # noqa: E501 + :rtype: bool + """ + return self._all_nodes + + @all_nodes.setter + def all_nodes(self, all_nodes): + """Sets the all_nodes of this V1alpha3BasicDevice. + + AllNodes indicates that all nodes have access to the device. Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. # noqa: E501 + + :param all_nodes: The all_nodes of this V1alpha3BasicDevice. # noqa: E501 + :type all_nodes: bool + """ + + self._all_nodes = all_nodes @property def attributes(self): @@ -106,6 +154,96 @@ def capacity(self, capacity): self._capacity = capacity + @property + def consumes_counters(self): + """Gets the consumes_counters of this V1alpha3BasicDevice. # noqa: E501 + + ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each). # noqa: E501 + + :return: The consumes_counters of this V1alpha3BasicDevice. # noqa: E501 + :rtype: list[V1alpha3DeviceCounterConsumption] + """ + return self._consumes_counters + + @consumes_counters.setter + def consumes_counters(self, consumes_counters): + """Sets the consumes_counters of this V1alpha3BasicDevice. + + ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each). # noqa: E501 + + :param consumes_counters: The consumes_counters of this V1alpha3BasicDevice. # noqa: E501 + :type consumes_counters: list[V1alpha3DeviceCounterConsumption] + """ + + self._consumes_counters = consumes_counters + + @property + def node_name(self): + """Gets the node_name of this V1alpha3BasicDevice. # noqa: E501 + + NodeName identifies the node where the device is available. Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. # noqa: E501 + + :return: The node_name of this V1alpha3BasicDevice. # noqa: E501 + :rtype: str + """ + return self._node_name + + @node_name.setter + def node_name(self, node_name): + """Sets the node_name of this V1alpha3BasicDevice. + + NodeName identifies the node where the device is available. Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. # noqa: E501 + + :param node_name: The node_name of this V1alpha3BasicDevice. # noqa: E501 + :type node_name: str + """ + + self._node_name = node_name + + @property + def node_selector(self): + """Gets the node_selector of this V1alpha3BasicDevice. # noqa: E501 + + + :return: The node_selector of this V1alpha3BasicDevice. # noqa: E501 + :rtype: V1NodeSelector + """ + return self._node_selector + + @node_selector.setter + def node_selector(self, node_selector): + """Sets the node_selector of this V1alpha3BasicDevice. + + + :param node_selector: The node_selector of this V1alpha3BasicDevice. # noqa: E501 + :type node_selector: V1NodeSelector + """ + + self._node_selector = node_selector + + @property + def taints(self): + """Gets the taints of this V1alpha3BasicDevice. # noqa: E501 + + If specified, these are the driver-defined taints. The maximum number of taints is 4. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :return: The taints of this V1alpha3BasicDevice. # noqa: E501 + :rtype: list[V1alpha3DeviceTaint] + """ + return self._taints + + @taints.setter + def taints(self, taints): + """Sets the taints of this V1alpha3BasicDevice. + + If specified, these are the driver-defined taints. The maximum number of taints is 4. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :param taints: The taints of this V1alpha3BasicDevice. # noqa: E501 + :type taints: list[V1alpha3DeviceTaint] + """ + + self._taints = taints + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/kubernetes_asyncio/client/models/v1alpha3_cel_device_selector.py b/kubernetes_asyncio/client/models/v1alpha3_cel_device_selector.py index edfff1ee..f288cddd 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_cel_device_selector.py +++ b/kubernetes_asyncio/client/models/v1alpha3_cel_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_counter.py b/kubernetes_asyncio/client/models/v1alpha3_counter.py new file mode 100644 index 00000000..3ac109c9 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_counter.py @@ -0,0 +1,134 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3Counter(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 = { + 'value': 'str' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3Counter - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._value = None + self.discriminator = None + + self.value = value + + @property + def value(self): + """Gets the value of this V1alpha3Counter. # noqa: E501 + + Value defines how much of a certain device counter is available. # noqa: E501 + + :return: The value of this V1alpha3Counter. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this V1alpha3Counter. + + Value defines how much of a certain device counter is available. # noqa: E501 + + :param value: The value of this V1alpha3Counter. # noqa: E501 + :type value: str + """ + if self.local_vars_configuration.client_side_validation and value is None: # noqa: E501 + raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 + + self._value = value + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1alpha3Counter): + 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, V1alpha3Counter): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1alpha3_counter_set.py b/kubernetes_asyncio/client/models/v1alpha3_counter_set.py new file mode 100644 index 00000000..1f52e8ed --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_counter_set.py @@ -0,0 +1,163 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3CounterSet(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 = { + 'counters': 'dict(str, V1alpha3Counter)', + 'name': 'str' + } + + attribute_map = { + 'counters': 'counters', + 'name': 'name' + } + + def __init__(self, counters=None, name=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3CounterSet - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._counters = None + self._name = None + self.discriminator = None + + self.counters = counters + self.name = name + + @property + def counters(self): + """Gets the counters of this V1alpha3CounterSet. # noqa: E501 + + Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label. To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix. The maximum number of counters is 32. # noqa: E501 + + :return: The counters of this V1alpha3CounterSet. # noqa: E501 + :rtype: dict(str, V1alpha3Counter) + """ + return self._counters + + @counters.setter + def counters(self, counters): + """Sets the counters of this V1alpha3CounterSet. + + Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label. To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix. The maximum number of counters is 32. # noqa: E501 + + :param counters: The counters of this V1alpha3CounterSet. # noqa: E501 + :type counters: dict(str, V1alpha3Counter) + """ + if self.local_vars_configuration.client_side_validation and counters is None: # noqa: E501 + raise ValueError("Invalid value for `counters`, must not be `None`") # noqa: E501 + + self._counters = counters + + @property + def name(self): + """Gets the name of this V1alpha3CounterSet. # noqa: E501 + + CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 + + :return: The name of this V1alpha3CounterSet. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1alpha3CounterSet. + + CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 + + :param name: The name of this V1alpha3CounterSet. # noqa: E501 + :type name: 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, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1alpha3CounterSet): + 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, V1alpha3CounterSet): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1alpha3_device.py b/kubernetes_asyncio/client/models/v1alpha3_device.py index 8a09104c..0bc7a966 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_allocation_configuration.py b/kubernetes_asyncio/client/models/v1alpha3_device_allocation_configuration.py index 48cc1d74..a89c03de 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_allocation_configuration.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_allocation_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -89,7 +89,7 @@ def opaque(self, opaque): 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 + Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the configuration applies to all subrequests. # noqa: E501 :return: The requests of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 :rtype: list[str] @@ -100,7 +100,7 @@ def requests(self): 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 + Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the configuration applies to all subrequests. # noqa: E501 :param requests: The requests of this V1alpha3DeviceAllocationConfiguration. # noqa: E501 :type requests: list[str] diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_allocation_result.py b/kubernetes_asyncio/client/models/v1alpha3_device_allocation_result.py index fb09ad1b..9d7cb451 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_allocation_result.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_allocation_result.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_attribute.py b/kubernetes_asyncio/client/models/v1alpha3_device_attribute.py index 826de633..37c2aebc 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_attribute.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_attribute.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_claim.py b/kubernetes_asyncio/client/models/v1alpha3_device_claim.py index 0d468121..9cb40033 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_claim.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_claim_configuration.py b/kubernetes_asyncio/client/models/v1alpha3_device_claim_configuration.py index 96b66fbe..6a8e1b42 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_claim_configuration.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -85,7 +85,7 @@ def opaque(self, opaque): 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 + Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the configuration applies to all subrequests. # noqa: E501 :return: The requests of this V1alpha3DeviceClaimConfiguration. # noqa: E501 :rtype: list[str] @@ -96,7 +96,7 @@ def requests(self): 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 + Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the configuration applies to all subrequests. # noqa: E501 :param requests: The requests of this V1alpha3DeviceClaimConfiguration. # noqa: E501 :type requests: list[str] diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_class.py b/kubernetes_asyncio/client/models/v1alpha3_device_class.py index 8d6ddbb6..71ce108e 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_class.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_class_configuration.py b/kubernetes_asyncio/client/models/v1alpha3_device_class_configuration.py index 08300504..1547d765 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_class_configuration.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_class_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_class_list.py b/kubernetes_asyncio/client/models/v1alpha3_device_class_list.py index b2a5ea7f..1a589c5e 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_class_list.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_class_spec.py b/kubernetes_asyncio/client/models/v1alpha3_device_class_spec.py index 3b752494..47a48b4e 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_class_spec.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_constraint.py b/kubernetes_asyncio/client/models/v1alpha3_device_constraint.py index a6de8780..8d2d4158 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_constraint.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -87,7 +87,7 @@ def match_attribute(self, match_attribute): 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 + 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. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the constraint applies to all subrequests. # noqa: E501 :return: The requests of this V1alpha3DeviceConstraint. # noqa: E501 :rtype: list[str] @@ -98,7 +98,7 @@ def requests(self): 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 + 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. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the constraint applies to all subrequests. # noqa: E501 :param requests: The requests of this V1alpha3DeviceConstraint. # noqa: E501 :type requests: list[str] diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_counter_consumption.py b/kubernetes_asyncio/client/models/v1alpha3_device_counter_consumption.py new file mode 100644 index 00000000..87e88082 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_device_counter_consumption.py @@ -0,0 +1,163 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3DeviceCounterConsumption(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 = { + 'counter_set': 'str', + 'counters': 'dict(str, V1alpha3Counter)' + } + + attribute_map = { + 'counter_set': 'counterSet', + 'counters': 'counters' + } + + def __init__(self, counter_set=None, counters=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceCounterConsumption - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._counter_set = None + self._counters = None + self.discriminator = None + + self.counter_set = counter_set + self.counters = counters + + @property + def counter_set(self): + """Gets the counter_set of this V1alpha3DeviceCounterConsumption. # noqa: E501 + + CounterSet defines the set from which the counters defined will be consumed. # noqa: E501 + + :return: The counter_set of this V1alpha3DeviceCounterConsumption. # noqa: E501 + :rtype: str + """ + return self._counter_set + + @counter_set.setter + def counter_set(self, counter_set): + """Sets the counter_set of this V1alpha3DeviceCounterConsumption. + + CounterSet defines the set from which the counters defined will be consumed. # noqa: E501 + + :param counter_set: The counter_set of this V1alpha3DeviceCounterConsumption. # noqa: E501 + :type counter_set: str + """ + if self.local_vars_configuration.client_side_validation and counter_set is None: # noqa: E501 + raise ValueError("Invalid value for `counter_set`, must not be `None`") # noqa: E501 + + self._counter_set = counter_set + + @property + def counters(self): + """Gets the counters of this V1alpha3DeviceCounterConsumption. # noqa: E501 + + Counters defines the Counter that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each). # noqa: E501 + + :return: The counters of this V1alpha3DeviceCounterConsumption. # noqa: E501 + :rtype: dict(str, V1alpha3Counter) + """ + return self._counters + + @counters.setter + def counters(self, counters): + """Sets the counters of this V1alpha3DeviceCounterConsumption. + + Counters defines the Counter that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each). # noqa: E501 + + :param counters: The counters of this V1alpha3DeviceCounterConsumption. # noqa: E501 + :type counters: dict(str, V1alpha3Counter) + """ + if self.local_vars_configuration.client_side_validation and counters is None: # noqa: E501 + raise ValueError("Invalid value for `counters`, must not be `None`") # noqa: E501 + + self._counters = counters + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1alpha3DeviceCounterConsumption): + 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, V1alpha3DeviceCounterConsumption): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_request.py b/kubernetes_asyncio/client/models/v1alpha3_device_request.py index 8736a951..9942ed03 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_request.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -40,8 +40,10 @@ class V1alpha3DeviceRequest(object): 'allocation_mode': 'str', 'count': 'int', 'device_class_name': 'str', + 'first_available': 'list[V1alpha3DeviceSubRequest]', 'name': 'str', - 'selectors': 'list[V1alpha3DeviceSelector]' + 'selectors': 'list[V1alpha3DeviceSelector]', + 'tolerations': 'list[V1alpha3DeviceToleration]' } attribute_map = { @@ -49,11 +51,13 @@ class V1alpha3DeviceRequest(object): 'allocation_mode': 'allocationMode', 'count': 'count', 'device_class_name': 'deviceClassName', + 'first_available': 'firstAvailable', 'name': 'name', - 'selectors': 'selectors' + 'selectors': 'selectors', + 'tolerations': 'tolerations' } - 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 + def __init__(self, admin_access=None, allocation_mode=None, count=None, device_class_name=None, first_available=None, name=None, selectors=None, tolerations=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.get_default() @@ -63,8 +67,10 @@ def __init__(self, admin_access=None, allocation_mode=None, count=None, device_c self._allocation_mode = None self._count = None self._device_class_name = None + self._first_available = None self._name = None self._selectors = None + self._tolerations = None self.discriminator = None if admin_access is not None: @@ -73,16 +79,21 @@ def __init__(self, admin_access=None, allocation_mode=None, count=None, device_c self.allocation_mode = allocation_mode if count is not None: self.count = count - self.device_class_name = device_class_name + if device_class_name is not None: + self.device_class_name = device_class_name + if first_available is not None: + self.first_available = first_available self.name = name if selectors is not None: self.selectors = selectors + if tolerations is not None: + self.tolerations = tolerations @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. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. # 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. # noqa: E501 :return: The admin_access of this V1alpha3DeviceRequest. # noqa: E501 :rtype: bool @@ -93,7 +104,7 @@ def admin_access(self): 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. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. # 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. # noqa: E501 :param admin_access: The admin_access of this V1alpha3DeviceRequest. # noqa: E501 :type admin_access: bool @@ -105,7 +116,7 @@ def admin_access(self, admin_access): 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 + 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. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. 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 @@ -116,7 +127,7 @@ def allocation_mode(self): 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 + 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. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. 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 allocation_mode: str @@ -128,7 +139,7 @@ def allocation_mode(self, allocation_mode): 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 + 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. # noqa: E501 :return: The count of this V1alpha3DeviceRequest. # noqa: E501 :rtype: int @@ -139,7 +150,7 @@ def count(self): 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 + 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. # noqa: E501 :param count: The count of this V1alpha3DeviceRequest. # noqa: E501 :type count: int @@ -151,7 +162,7 @@ def count(self, count): 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 + DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. 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 @@ -162,16 +173,37 @@ def device_class_name(self): 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 + DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. 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 device_class_name: 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 first_available(self): + """Gets the first_available of this V1alpha3DeviceRequest. # noqa: E501 + + FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used. This field may only be set in the entries of DeviceClaim.Requests. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later. # noqa: E501 + + :return: The first_available of this V1alpha3DeviceRequest. # noqa: E501 + :rtype: list[V1alpha3DeviceSubRequest] + """ + return self._first_available + + @first_available.setter + def first_available(self, first_available): + """Sets the first_available of this V1alpha3DeviceRequest. + + FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used. This field may only be set in the entries of DeviceClaim.Requests. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later. # noqa: E501 + + :param first_available: The first_available of this V1alpha3DeviceRequest. # noqa: E501 + :type first_available: list[V1alpha3DeviceSubRequest] + """ + + self._first_available = first_available + @property def name(self): """Gets the name of this V1alpha3DeviceRequest. # noqa: E501 @@ -201,7 +233,7 @@ def name(self, name): 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 + 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. # noqa: E501 :return: The selectors of this V1alpha3DeviceRequest. # noqa: E501 :rtype: list[V1alpha3DeviceSelector] @@ -212,7 +244,7 @@ def selectors(self): 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 + 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. # noqa: E501 :param selectors: The selectors of this V1alpha3DeviceRequest. # noqa: E501 :type selectors: list[V1alpha3DeviceSelector] @@ -220,6 +252,29 @@ def selectors(self, selectors): self._selectors = selectors + @property + def tolerations(self): + """Gets the tolerations of this V1alpha3DeviceRequest. # noqa: E501 + + If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :return: The tolerations of this V1alpha3DeviceRequest. # noqa: E501 + :rtype: list[V1alpha3DeviceToleration] + """ + return self._tolerations + + @tolerations.setter + def tolerations(self, tolerations): + """Sets the tolerations of this V1alpha3DeviceRequest. + + If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :param tolerations: The tolerations of this V1alpha3DeviceRequest. # noqa: E501 + :type tolerations: list[V1alpha3DeviceToleration] + """ + + self._tolerations = tolerations + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_request_allocation_result.py b/kubernetes_asyncio/client/models/v1alpha3_device_request_allocation_result.py index 4386dbfd..efe7f160 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_request_allocation_result.py +++ b/kubernetes_asyncio/client/models/v1alpha3_device_request_allocation_result.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ @@ -40,7 +40,8 @@ class V1alpha3DeviceRequestAllocationResult(object): 'device': 'str', 'driver': 'str', 'pool': 'str', - 'request': 'str' + 'request': 'str', + 'tolerations': 'list[V1alpha3DeviceToleration]' } attribute_map = { @@ -48,10 +49,11 @@ class V1alpha3DeviceRequestAllocationResult(object): 'device': 'device', 'driver': 'driver', 'pool': 'pool', - 'request': 'request' + 'request': 'request', + 'tolerations': 'tolerations' } - def __init__(self, admin_access=None, device=None, driver=None, pool=None, request=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, admin_access=None, device=None, driver=None, pool=None, request=None, tolerations=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.get_default() @@ -62,6 +64,7 @@ def __init__(self, admin_access=None, device=None, driver=None, pool=None, reque self._driver = None self._pool = None self._request = None + self._tolerations = None self.discriminator = None if admin_access is not None: @@ -70,6 +73,8 @@ def __init__(self, admin_access=None, device=None, driver=None, pool=None, reque self.driver = driver self.pool = pool self.request = request + if tolerations is not None: + self.tolerations = tolerations @property def admin_access(self): @@ -173,7 +178,7 @@ def pool(self, pool): 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 + Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format
/. Multiple devices may have been allocated per request. # noqa: E501 :return: The request of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 :rtype: str @@ -184,7 +189,7 @@ def request(self): 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 + Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format
/. Multiple devices may have been allocated per request. # noqa: E501 :param request: The request of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 :type request: str @@ -194,6 +199,29 @@ def request(self, request): self._request = request + @property + def tolerations(self): + """Gets the tolerations of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + + A copy of all tolerations specified in the request at the time when the device got allocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :return: The tolerations of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :rtype: list[V1alpha3DeviceToleration] + """ + return self._tolerations + + @tolerations.setter + def tolerations(self, tolerations): + """Sets the tolerations of this V1alpha3DeviceRequestAllocationResult. + + A copy of all tolerations specified in the request at the time when the device got allocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :param tolerations: The tolerations of this V1alpha3DeviceRequestAllocationResult. # noqa: E501 + :type tolerations: list[V1alpha3DeviceToleration] + """ + + self._tolerations = tolerations + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_selector.py b/kubernetes_asyncio/client/models/v1alpha3_device_selector.py index 60cd9104..0a4a2ce5 100644 --- a/kubernetes_asyncio/client/models/v1alpha3_device_selector.py +++ b/kubernetes_asyncio/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: v1.32.3 + The version of the OpenAPI document: v1.33.3 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_sub_request.py b/kubernetes_asyncio/client/models/v1alpha3_device_sub_request.py new file mode 100644 index 00000000..0f33273c --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_device_sub_request.py @@ -0,0 +1,275 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3DeviceSubRequest(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', + 'count': 'int', + 'device_class_name': 'str', + 'name': 'str', + 'selectors': 'list[V1alpha3DeviceSelector]', + 'tolerations': 'list[V1alpha3DeviceToleration]' + } + + attribute_map = { + 'allocation_mode': 'allocationMode', + 'count': 'count', + 'device_class_name': 'deviceClassName', + 'name': 'name', + 'selectors': 'selectors', + 'tolerations': 'tolerations' + } + + def __init__(self, allocation_mode=None, count=None, device_class_name=None, name=None, selectors=None, tolerations=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceSubRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._allocation_mode = None + self._count = None + self._device_class_name = None + self._name = None + self._selectors = None + self._tolerations = None + self.discriminator = None + + 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 + if tolerations is not None: + self.tolerations = tolerations + + @property + def allocation_mode(self): + """Gets the allocation_mode of this V1alpha3DeviceSubRequest. # 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 AllocationMode 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 V1alpha3DeviceSubRequest. # noqa: E501 + :rtype: str + """ + return self._allocation_mode + + @allocation_mode.setter + def allocation_mode(self, allocation_mode): + """Sets the allocation_mode of this V1alpha3DeviceSubRequest. + + 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 AllocationMode 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 V1alpha3DeviceSubRequest. # noqa: E501 + :type allocation_mode: str + """ + + self._allocation_mode = allocation_mode + + @property + def count(self): + """Gets the count of this V1alpha3DeviceSubRequest. # 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 V1alpha3DeviceSubRequest. # noqa: E501 + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this V1alpha3DeviceSubRequest. + + 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 V1alpha3DeviceSubRequest. # noqa: E501 + :type count: int + """ + + self._count = count + + @property + def device_class_name(self): + """Gets the device_class_name of this V1alpha3DeviceSubRequest. # noqa: E501 + + DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest. 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 V1alpha3DeviceSubRequest. # 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 V1alpha3DeviceSubRequest. + + DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest. 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 V1alpha3DeviceSubRequest. # noqa: E501 + :type device_class_name: 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 V1alpha3DeviceSubRequest. # noqa: E501 + + Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format
/. Must be a DNS label. # noqa: E501 + + :return: The name of this V1alpha3DeviceSubRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1alpha3DeviceSubRequest. + + Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format
/. Must be a DNS label. # noqa: E501 + + :param name: The name of this V1alpha3DeviceSubRequest. # noqa: E501 + :type name: 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 V1alpha3DeviceSubRequest. # 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 V1alpha3DeviceSubRequest. # noqa: E501 + :rtype: list[V1alpha3DeviceSelector] + """ + return self._selectors + + @selectors.setter + def selectors(self, selectors): + """Sets the selectors of this V1alpha3DeviceSubRequest. + + 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 V1alpha3DeviceSubRequest. # noqa: E501 + :type selectors: list[V1alpha3DeviceSelector] + """ + + self._selectors = selectors + + @property + def tolerations(self): + """Gets the tolerations of this V1alpha3DeviceSubRequest. # noqa: E501 + + If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :return: The tolerations of this V1alpha3DeviceSubRequest. # noqa: E501 + :rtype: list[V1alpha3DeviceToleration] + """ + return self._tolerations + + @tolerations.setter + def tolerations(self, tolerations): + """Sets the tolerations of this V1alpha3DeviceSubRequest. + + If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :param tolerations: The tolerations of this V1alpha3DeviceSubRequest. # noqa: E501 + :type tolerations: list[V1alpha3DeviceToleration] + """ + + self._tolerations = tolerations + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1alpha3DeviceSubRequest): + 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, V1alpha3DeviceSubRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint.py b/kubernetes_asyncio/client/models/v1alpha3_device_taint.py new file mode 100644 index 00000000..0303840f --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_device_taint.py @@ -0,0 +1,219 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3DeviceTaint(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 = { + 'effect': 'str', + 'key': 'str', + 'time_added': 'datetime', + 'value': 'str' + } + + attribute_map = { + 'effect': 'effect', + 'key': 'key', + 'time_added': 'timeAdded', + 'value': 'value' + } + + def __init__(self, effect=None, key=None, time_added=None, value=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceTaint - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._effect = None + self._key = None + self._time_added = None + self._value = None + self.discriminator = None + + self.effect = effect + self.key = key + if time_added is not None: + self.time_added = time_added + if value is not None: + self.value = value + + @property + def effect(self): + """Gets the effect of this V1alpha3DeviceTaint. # noqa: E501 + + The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. # noqa: E501 + + :return: The effect of this V1alpha3DeviceTaint. # noqa: E501 + :rtype: str + """ + return self._effect + + @effect.setter + def effect(self, effect): + """Sets the effect of this V1alpha3DeviceTaint. + + The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. # noqa: E501 + + :param effect: The effect of this V1alpha3DeviceTaint. # noqa: E501 + :type effect: str + """ + if self.local_vars_configuration.client_side_validation and effect is None: # noqa: E501 + raise ValueError("Invalid value for `effect`, must not be `None`") # noqa: E501 + + self._effect = effect + + @property + def key(self): + """Gets the key of this V1alpha3DeviceTaint. # noqa: E501 + + The taint key to be applied to a device. Must be a label name. # noqa: E501 + + :return: The key of this V1alpha3DeviceTaint. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this V1alpha3DeviceTaint. + + The taint key to be applied to a device. Must be a label name. # noqa: E501 + + :param key: The key of this V1alpha3DeviceTaint. # noqa: E501 + :type key: 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 time_added(self): + """Gets the time_added of this V1alpha3DeviceTaint. # noqa: E501 + + TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set. # noqa: E501 + + :return: The time_added of this V1alpha3DeviceTaint. # noqa: E501 + :rtype: datetime + """ + return self._time_added + + @time_added.setter + def time_added(self, time_added): + """Sets the time_added of this V1alpha3DeviceTaint. + + TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set. # noqa: E501 + + :param time_added: The time_added of this V1alpha3DeviceTaint. # noqa: E501 + :type time_added: datetime + """ + + self._time_added = time_added + + @property + def value(self): + """Gets the value of this V1alpha3DeviceTaint. # noqa: E501 + + The taint value corresponding to the taint key. Must be a label value. # noqa: E501 + + :return: The value of this V1alpha3DeviceTaint. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this V1alpha3DeviceTaint. + + The taint value corresponding to the taint key. Must be a label value. # noqa: E501 + + :param value: The value of this V1alpha3DeviceTaint. # noqa: E501 + :type value: str + """ + + self._value = value + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1alpha3DeviceTaint): + 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, V1alpha3DeviceTaint): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule.py b/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule.py new file mode 100644 index 00000000..edd5201e --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule.py @@ -0,0 +1,214 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3DeviceTaintRule(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': 'V1alpha3DeviceTaintRuleSpec' + } + + 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 + """V1alpha3DeviceTaintRule - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + 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 V1alpha3DeviceTaintRule. # 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 V1alpha3DeviceTaintRule. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha3DeviceTaintRule. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 V1alpha3DeviceTaintRule. # noqa: E501 + :type api_version: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1alpha3DeviceTaintRule. # 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 V1alpha3DeviceTaintRule. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha3DeviceTaintRule. + + 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 V1alpha3DeviceTaintRule. # noqa: E501 + :type kind: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha3DeviceTaintRule. # noqa: E501 + + + :return: The metadata of this V1alpha3DeviceTaintRule. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha3DeviceTaintRule. + + + :param metadata: The metadata of this V1alpha3DeviceTaintRule. # noqa: E501 + :type metadata: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1alpha3DeviceTaintRule. # noqa: E501 + + + :return: The spec of this V1alpha3DeviceTaintRule. # noqa: E501 + :rtype: V1alpha3DeviceTaintRuleSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1alpha3DeviceTaintRule. + + + :param spec: The spec of this V1alpha3DeviceTaintRule. # noqa: E501 + :type spec: V1alpha3DeviceTaintRuleSpec + """ + 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, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1alpha3DeviceTaintRule): + 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, V1alpha3DeviceTaintRule): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_list.py b/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_list.py new file mode 100644 index 00000000..7e0d5036 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_list.py @@ -0,0 +1,216 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3DeviceTaintRuleList(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[V1alpha3DeviceTaintRule]', + '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 + """V1alpha3DeviceTaintRuleList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + 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 V1alpha3DeviceTaintRuleList. # 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 V1alpha3DeviceTaintRuleList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha3DeviceTaintRuleList. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 V1alpha3DeviceTaintRuleList. # noqa: E501 + :type api_version: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1alpha3DeviceTaintRuleList. # noqa: E501 + + Items is the list of DeviceTaintRules. # noqa: E501 + + :return: The items of this V1alpha3DeviceTaintRuleList. # noqa: E501 + :rtype: list[V1alpha3DeviceTaintRule] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1alpha3DeviceTaintRuleList. + + Items is the list of DeviceTaintRules. # noqa: E501 + + :param items: The items of this V1alpha3DeviceTaintRuleList. # noqa: E501 + :type items: list[V1alpha3DeviceTaintRule] + """ + 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 V1alpha3DeviceTaintRuleList. # 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 V1alpha3DeviceTaintRuleList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha3DeviceTaintRuleList. + + 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 V1alpha3DeviceTaintRuleList. # noqa: E501 + :type kind: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha3DeviceTaintRuleList. # noqa: E501 + + + :return: The metadata of this V1alpha3DeviceTaintRuleList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha3DeviceTaintRuleList. + + + :param metadata: The metadata of this V1alpha3DeviceTaintRuleList. # noqa: E501 + :type metadata: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1alpha3DeviceTaintRuleList): + 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, V1alpha3DeviceTaintRuleList): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_spec.py b/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_spec.py new file mode 100644 index 00000000..133a4509 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_device_taint_rule_spec.py @@ -0,0 +1,158 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3DeviceTaintRuleSpec(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_selector': 'V1alpha3DeviceTaintSelector', + 'taint': 'V1alpha3DeviceTaint' + } + + attribute_map = { + 'device_selector': 'deviceSelector', + 'taint': 'taint' + } + + def __init__(self, device_selector=None, taint=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceTaintRuleSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._device_selector = None + self._taint = None + self.discriminator = None + + if device_selector is not None: + self.device_selector = device_selector + self.taint = taint + + @property + def device_selector(self): + """Gets the device_selector of this V1alpha3DeviceTaintRuleSpec. # noqa: E501 + + + :return: The device_selector of this V1alpha3DeviceTaintRuleSpec. # noqa: E501 + :rtype: V1alpha3DeviceTaintSelector + """ + return self._device_selector + + @device_selector.setter + def device_selector(self, device_selector): + """Sets the device_selector of this V1alpha3DeviceTaintRuleSpec. + + + :param device_selector: The device_selector of this V1alpha3DeviceTaintRuleSpec. # noqa: E501 + :type device_selector: V1alpha3DeviceTaintSelector + """ + + self._device_selector = device_selector + + @property + def taint(self): + """Gets the taint of this V1alpha3DeviceTaintRuleSpec. # noqa: E501 + + + :return: The taint of this V1alpha3DeviceTaintRuleSpec. # noqa: E501 + :rtype: V1alpha3DeviceTaint + """ + return self._taint + + @taint.setter + def taint(self, taint): + """Sets the taint of this V1alpha3DeviceTaintRuleSpec. + + + :param taint: The taint of this V1alpha3DeviceTaintRuleSpec. # noqa: E501 + :type taint: V1alpha3DeviceTaint + """ + if self.local_vars_configuration.client_side_validation and taint is None: # noqa: E501 + raise ValueError("Invalid value for `taint`, must not be `None`") # noqa: E501 + + self._taint = taint + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1alpha3DeviceTaintRuleSpec): + 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, V1alpha3DeviceTaintRuleSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_taint_selector.py b/kubernetes_asyncio/client/models/v1alpha3_device_taint_selector.py new file mode 100644 index 00000000..6ab5e94c --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_device_taint_selector.py @@ -0,0 +1,245 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3DeviceTaintSelector(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', + 'device_class_name': 'str', + 'driver': 'str', + 'pool': 'str', + 'selectors': 'list[V1alpha3DeviceSelector]' + } + + attribute_map = { + 'device': 'device', + 'device_class_name': 'deviceClassName', + 'driver': 'driver', + 'pool': 'pool', + 'selectors': 'selectors' + } + + def __init__(self, device=None, device_class_name=None, driver=None, pool=None, selectors=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceTaintSelector - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._device = None + self._device_class_name = None + self._driver = None + self._pool = None + self._selectors = None + self.discriminator = None + + if device is not None: + self.device = device + if device_class_name is not None: + self.device_class_name = device_class_name + if driver is not None: + self.driver = driver + if pool is not None: + self.pool = pool + if selectors is not None: + self.selectors = selectors + + @property + def device(self): + """Gets the device of this V1alpha3DeviceTaintSelector. # noqa: E501 + + If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name. Setting also driver and pool may be required to avoid ambiguity, but is not required. # noqa: E501 + + :return: The device of this V1alpha3DeviceTaintSelector. # noqa: E501 + :rtype: str + """ + return self._device + + @device.setter + def device(self, device): + """Sets the device of this V1alpha3DeviceTaintSelector. + + If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name. Setting also driver and pool may be required to avoid ambiguity, but is not required. # noqa: E501 + + :param device: The device of this V1alpha3DeviceTaintSelector. # noqa: E501 + :type device: str + """ + + self._device = device + + @property + def device_class_name(self): + """Gets the device_class_name of this V1alpha3DeviceTaintSelector. # noqa: E501 + + If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name. # noqa: E501 + + :return: The device_class_name of this V1alpha3DeviceTaintSelector. # 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 V1alpha3DeviceTaintSelector. + + If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name. # noqa: E501 + + :param device_class_name: The device_class_name of this V1alpha3DeviceTaintSelector. # noqa: E501 + :type device_class_name: str + """ + + self._device_class_name = device_class_name + + @property + def driver(self): + """Gets the driver of this V1alpha3DeviceTaintSelector. # noqa: E501 + + If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver. # noqa: E501 + + :return: The driver of this V1alpha3DeviceTaintSelector. # noqa: E501 + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """Sets the driver of this V1alpha3DeviceTaintSelector. + + If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver. # noqa: E501 + + :param driver: The driver of this V1alpha3DeviceTaintSelector. # noqa: E501 + :type driver: str + """ + + self._driver = driver + + @property + def pool(self): + """Gets the pool of this V1alpha3DeviceTaintSelector. # noqa: E501 + + If pool is set, only devices in that pool are selected. Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name. # noqa: E501 + + :return: The pool of this V1alpha3DeviceTaintSelector. # noqa: E501 + :rtype: str + """ + return self._pool + + @pool.setter + def pool(self, pool): + """Sets the pool of this V1alpha3DeviceTaintSelector. + + If pool is set, only devices in that pool are selected. Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name. # noqa: E501 + + :param pool: The pool of this V1alpha3DeviceTaintSelector. # noqa: E501 + :type pool: str + """ + + self._pool = pool + + @property + def selectors(self): + """Gets the selectors of this V1alpha3DeviceTaintSelector. # noqa: E501 + + Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied. # noqa: E501 + + :return: The selectors of this V1alpha3DeviceTaintSelector. # noqa: E501 + :rtype: list[V1alpha3DeviceSelector] + """ + return self._selectors + + @selectors.setter + def selectors(self, selectors): + """Sets the selectors of this V1alpha3DeviceTaintSelector. + + Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied. # noqa: E501 + + :param selectors: The selectors of this V1alpha3DeviceTaintSelector. # noqa: E501 + :type selectors: list[V1alpha3DeviceSelector] + """ + + self._selectors = selectors + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(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, V1alpha3DeviceTaintSelector): + 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, V1alpha3DeviceTaintSelector): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes_asyncio/client/models/v1alpha3_device_toleration.py b/kubernetes_asyncio/client/models/v1alpha3_device_toleration.py new file mode 100644 index 00000000..baa580b2 --- /dev/null +++ b/kubernetes_asyncio/client/models/v1alpha3_device_toleration.py @@ -0,0 +1,245 @@ +# 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: v1.33.3 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from kubernetes_asyncio.client.configuration import Configuration + + +class V1alpha3DeviceToleration(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 = { + 'effect': 'str', + 'key': 'str', + 'operator': 'str', + 'toleration_seconds': 'int', + 'value': 'str' + } + + attribute_map = { + 'effect': 'effect', + 'key': 'key', + 'operator': 'operator', + 'toleration_seconds': 'tolerationSeconds', + 'value': 'value' + } + + def __init__(self, effect=None, key=None, operator=None, toleration_seconds=None, value=None, local_vars_configuration=None): # noqa: E501 + """V1alpha3DeviceToleration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default() + self.local_vars_configuration = local_vars_configuration + + self._effect = None + self._key = None + self._operator = None + self._toleration_seconds = None + self._value = None + self.discriminator = None + + if effect is not None: + self.effect = effect + if key is not None: + self.key = key + if operator is not None: + self.operator = operator + if toleration_seconds is not None: + self.toleration_seconds = toleration_seconds + if value is not None: + self.value = value + + @property + def effect(self): + """Gets the effect of this V1alpha3DeviceToleration. # noqa: E501 + + Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute. # noqa: E501 + + :return: The effect of this V1alpha3DeviceToleration. # noqa: E501 + :rtype: str + """ + return self._effect + + @effect.setter + def effect(self, effect): + """Sets the effect of this V1alpha3DeviceToleration. + + Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute. # noqa: E501 + + :param effect: The effect of this V1alpha3DeviceToleration. # noqa: E501 + :type effect: str + """ + + self._effect = effect + + @property + def key(self): + """Gets the key of this V1alpha3DeviceToleration. # noqa: E501 + + Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name. # noqa: E501 + + :return: The key of this V1alpha3DeviceToleration. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this V1alpha3DeviceToleration. + + Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name. # noqa: E501 + + :param key: The key of this V1alpha3DeviceToleration. # noqa: E501 + :type key: str + """ + + self._key = key + + @property + def operator(self): + """Gets the operator of this V1alpha3DeviceToleration. # noqa: E501 + + Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category. # noqa: E501 + + :return: The operator of this V1alpha3DeviceToleration. # noqa: E501 + :rtype: str + """ + return self._operator + + @operator.setter + def operator(self, operator): + """Sets the operator of this V1alpha3DeviceToleration. + + Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category. # noqa: E501 + + :param operator: The operator of this V1alpha3DeviceToleration. # noqa: E501 + :type operator: str + """ + + self._operator = operator + + @property + def toleration_seconds(self): + """Gets the toleration_seconds of this V1alpha3DeviceToleration. # noqa: E501 + + TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as